|
|
|
@ -4,13 +4,13 @@ upstream api { |
|
|
|
|
|
|
|
|
|
|
|
server { |
|
|
|
server { |
|
|
|
listen 0.0.0.0:80; |
|
|
|
listen 0.0.0.0:80; |
|
|
|
root /path/to/pool/www/dist; |
|
|
|
root /var/www/etc2pool; |
|
|
|
index index.html index.htm; |
|
|
|
index index.html index.htm; |
|
|
|
|
|
|
|
|
|
|
|
server_name localhost; |
|
|
|
server_name localhost; |
|
|
|
|
|
|
|
|
|
|
|
location /api { |
|
|
|
location /api { |
|
|
|
proxy_pass http://api; |
|
|
|
proxy_pass http://127.0.0.1:8080; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
location / { |
|
|
|
location / { |
|
|
|
|