|
@@ -0,0 +1,46 @@
|
|
|
+server {
|
|
|
+ listen 80;
|
|
|
+ listen 443 ssl;
|
|
|
+ server_name dy.info666.com;
|
|
|
+
|
|
|
+ #charset koi8-r;
|
|
|
+ ssl_certificate cert/info666/8517678_dy.info666.com_nginx/8517678_dy.info666.com.pem;
|
|
|
+ ssl_certificate_key cert/info666/8517678_dy.info666.com_nginx/8517678_dy.info666.com.key;
|
|
|
+ ssl_session_timeout 5m;
|
|
|
+ ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
|
|
|
+ ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
|
|
+ ssl_prefer_server_ciphers on;
|
|
|
+ client_body_buffer_size 128k;
|
|
|
+ client_max_body_size 100m;
|
|
|
+
|
|
|
+ #access_log logs/host.access.log main;
|
|
|
+
|
|
|
+ location /dy_miniprogram/ {
|
|
|
+ proxy_pass http://127.0.0.1:7070;
|
|
|
+ proxy_redirect off;
|
|
|
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
+ proxy_set_header X-Real-IP $remote_addr;
|
|
|
+ proxy_set_header Host $host;
|
|
|
+ }
|
|
|
+
|
|
|
+ location /dy_manage/ {
|
|
|
+ proxy_pass http://127.0.0.1:7071;
|
|
|
+ proxy_redirect off;
|
|
|
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
+ proxy_set_header X-Real-IP $remote_addr;
|
|
|
+ proxy_set_header Host $host;
|
|
|
+ }
|
|
|
+
|
|
|
+ location /dy_api/ {
|
|
|
+ proxy_pass http://127.0.0.1:7072;
|
|
|
+ proxy_redirect off;
|
|
|
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
+ proxy_set_header X-Real-IP $remote_addr;
|
|
|
+ proxy_set_header Host $host;
|
|
|
+ }
|
|
|
+
|
|
|
+ error_page 500 502 503 504 /50x.html;
|
|
|
+ location = /50x.html {
|
|
|
+ root html;
|
|
|
+ }
|
|
|
+}
|