Browse Source

Update install.sh

master
yuriy0803 2 years ago committed by GitHub
parent
commit
ade4e0e3b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 8
      install.sh

8
install.sh

@ -138,11 +138,15 @@ server {
server_name _; server_name _;
location / { location / {
try_files \$uri \$uri/ =404; try_files $uri $uri/ =404;
} }
location /api { location /api {
proxy_pass http://127.0.0.1:8080; proxy_pass http://api;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
} }
} }
EOF EOF

Loading…
Cancel
Save