|
|
@@ -120,30 +120,5 @@ http {
|
|
|
gzip_comp_level 6;
|
|
|
gzip_types text/plain text/css text/xml application/json application/javascript application/rss+xml application/atom+xml image/svg+xml;
|
|
|
}
|
|
|
-
|
|
|
- server {
|
|
|
- listen 80 default_server;
|
|
|
- listen [::]:80 default_server;
|
|
|
- root /var/www/html/dist;
|
|
|
- location ~ /apis {
|
|
|
- proxy_pass http://47.111.95.164:8080/api;
|
|
|
- proxy_set_header Host $host;
|
|
|
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
- proxy_set_header X-Forwarded-Proto $scheme;
|
|
|
- proxy_set_header X-Forwarded-Port $server_port;
|
|
|
- }
|
|
|
-
|
|
|
- location ~ /apiss {
|
|
|
- proxy_pass http://47.111.95.164:8080/api;
|
|
|
- proxy_set_header Host $host;
|
|
|
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
- proxy_set_header X-Forwarded-Proto $scheme;
|
|
|
- proxy_set_header X-Forwarded-Port $server_port;
|
|
|
- }
|
|
|
-
|
|
|
- location ~ / {
|
|
|
- try_files $uri $uri/ /index.html;
|
|
|
- }
|
|
|
- }
|
|
|
}
|
|
|
|