payapi.xinyue.conf 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. server {
  2. listen 80;
  3. listen 443 ssl http2;
  4. #ssl on;
  5. ssl_certificate ssl/xinyueyouxi.com.pem;
  6. ssl_certificate_key ssl/xinyueyouxi.com.key;
  7. ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
  8. ssl_ciphers HIGH:!RC4:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!EXP:+MEDIUM;
  9. ssl_prefer_server_ciphers on;
  10. ssl_session_timeout 5m;
  11. add_header Access-Control-Allow-Origin *;
  12. add_header Access-Control-Allow-Headers X-Requested-With;
  13. add_header Access-Control-Allow-Methods GET,POST,OPTIONS;
  14. charset utf-8;
  15. server_name h5pay.xinyuepage.com h5pay.xinyueapi.com xpay1.weile.com xpay2.weile.com xpay3.weile.com h5pay.xinyueyouxi.com payapi.xinyueyouxi.com payback.xinyueyouxi.com xpay1.xinyueyouxi.com xpay2.xinyueyouxi.com xpay3.xinyueyouxi.com ipay.xinyueapi.com ipay.88xinnian.com ap.88xinnian.com;
  16. location / {
  17. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  18. proxy_set_header Remote_addr $remote_addr;
  19. proxy_set_header X-Real_IP $remote_addr;
  20. proxy_set_header Host $host;
  21. proxy_redirect off;
  22. proxy_http_version 1.1;
  23. proxy_pass http://yunfan-pay-svc:8081;
  24. }
  25. location /favicon.ico {
  26. log_not_found off;
  27. access_log off;
  28. }
  29. }
  30. server {
  31. listen 80;
  32. listen 443 ssl http2;
  33. #ssl on;
  34. ssl_certificate ssl/xinyueapi.com.pem;
  35. ssl_certificate_key ssl/xinyueapi.com.key;
  36. ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
  37. ssl_ciphers HIGH:!RC4:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!EXP:+MEDIUM;
  38. ssl_prefer_server_ciphers on;
  39. ssl_session_timeout 5m;
  40. add_header Access-Control-Allow-Origin *;
  41. add_header Access-Control-Allow-Headers X-Requested-With;
  42. add_header Access-Control-Allow-Methods GET,POST,OPTIONS;
  43. charset utf-8;
  44. server_name xpay.xinyueapi.com;
  45. location / {
  46. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  47. proxy_set_header Remote_addr $remote_addr;
  48. proxy_set_header X-Real_IP $remote_addr;
  49. proxy_set_header Host $host;
  50. proxy_redirect off;
  51. proxy_http_version 1.1;
  52. proxy_pass http://yunfan-pay-svc:8081;
  53. }
  54. location /favicon.ico {
  55. log_not_found off;
  56. access_log off;
  57. }
  58. }
  59. server {
  60. listen 80;
  61. listen 443 ssl http2;
  62. #ssl on;
  63. ssl_certificate ssl/xinyueyouxi.com.pem;
  64. ssl_certificate_key ssl/xinyueyouxi.com.key;
  65. ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
  66. ssl_ciphers HIGH:!RC4:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!EXP:+MEDIUM;
  67. ssl_prefer_server_ciphers on;
  68. ssl_session_timeout 5m;
  69. add_header Access-Control-Allow-Origin *;
  70. add_header Access-Control-Allow-Headers X-Requested-With;
  71. add_header Access-Control-Allow-Methods GET,POST,OPTIONS;
  72. charset utf-8;
  73. server_name xpaytest.xinyueyouxi.com;
  74. location / {
  75. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  76. proxy_set_header Remote_addr $remote_addr;
  77. proxy_set_header X-Real_IP $remote_addr;
  78. proxy_set_header Host $host;
  79. proxy_redirect off;
  80. proxy_http_version 1.1;
  81. proxy_pass http://yunfan-pay-svc:8081;
  82. }
  83. location /favicon.ico {
  84. log_not_found off;
  85. access_log off;
  86. }
  87. }