|
@@ -3,9 +3,15 @@ server {
|
|
|
server_name localhost 47.103.60.8;
|
|
|
client_max_body_size 100M;
|
|
|
|
|
|
- location /api/ {
|
|
|
- proxy_pass http://localhost:8443;
|
|
|
+ location / {
|
|
|
+ root /usr/share/nginx/html;
|
|
|
+ index index.html index.htm;
|
|
|
+
|
|
|
+ location /api/ {
|
|
|
+ proxy_pass http://localhost:8443;
|
|
|
+ }
|
|
|
}
|
|
|
+
|
|
|
}
|
|
|
|
|
|
|