default.conf 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. server {
  2. listen 443 ssl;
  3. listen 80;
  4. server_name www.szjyxt.com;
  5. root html;
  6. index index.html index.htm;
  7. ssl_certificate conf.d/6019639_www.szjyxt.com.pem;
  8. ssl_certificate_key conf.d/6019639_www.szjyxt.com.key;
  9. ssl_session_timeout 5m;
  10. ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
  11. ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
  12. ssl_prefer_server_ciphers on;
  13. proxy_redirect http:// $scheme://;
  14. port_in_redirect on;
  15. location / {
  16. root /usr/share/nginx/html/dist/;
  17. index index.html index.htm;
  18. }
  19. location /ibps/ {
  20. proxy_pass http://119.23.210.103:5100/ibps/oauth2/v3/user/open/tenant?_t=11yihnr;
  21. }
  22. location /group1/M00 {
  23. alias /usr/games/fastData;
  24. }
  25. location /app-admin/ {
  26. alias /usr/share/nginx/app/app119/;
  27. index index.html;
  28. }
  29. location /vue-admin {
  30. alias /usr/share/nginx/html/dist/;
  31. index index.html;
  32. }
  33. location /external/ {
  34. alias /usr/share/nginx/html/external/;
  35. index index.html;
  36. }
  37. location /sf/ {
  38. alias /usr/share/nginx/html/sf/;
  39. index index.html;
  40. }
  41. error_page 500 502 503 504 /50x.html;
  42. location = /50x.html {
  43. root /usr/share/nginx/html;
  44. }
  45. }
  46. server {
  47. listen 5100;
  48. server_name localhost;
  49. location /{
  50. proxy_pass http://119.23.210.103:5100/ibps/oauth2/v3/user/open/tenant;
  51. }
  52. }