Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriy0803 authored Feb 25, 2024
1 parent 071a476 commit ade4e0e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,15 @@ server {
server_name _;
location / {
try_files \$uri \$uri/ =404;
try_files $uri $uri/ =404;
}
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
Expand Down

0 comments on commit ade4e0e

Please sign in to comment.