Browse Source

Update nginx-default.conf

master
yuriy0803 3 years ago committed by GitHub
parent
commit
26ab59e219
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      misc/nginx-default.conf

4
misc/nginx-default.conf

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

Loading…
Cancel
Save