Skip to content

Commit

Permalink
changed http adress gui
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenaH84 committed Oct 30, 2024
1 parent acbb43b commit 845c89d
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions nginx/project.conf
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,15 @@ server {
server_name app.batterymodel.com;

location / {
proxy_pass http://51.68.188.78:8501;
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;
}
proxy_pass http://gui:8501;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
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;
}

ssl_protocols TLSv1.2 TLSv1.3;
ssl_prefer_server_ciphers off;
Expand Down

0 comments on commit 845c89d

Please sign in to comment.