Skip to content

Commit

Permalink
possable fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Robonau authored and Robonau committed Jul 4, 2024
1 parent 8d03b7e commit 62a8556
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ server {
port_in_redirect off;
location / {
proxy_redirect off;
proxy_set_header Host $host:$server_port;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header Host $host:$server_port;
# proxy_set_header X-Forwarded-Host $http_host;
# proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
alias /usr/share/nginx/html/;
try_files $uri /index.html =404;
}
Expand Down

0 comments on commit 62a8556

Please sign in to comment.