Skip to content

Commit

Permalink
Adding proxy_pass_header to nginx.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkst-pieter committed Mar 4, 2024
1 parent ffc9aa5 commit 989ab04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions certbot-nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ http {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
proxy_pass_header Server;
}
}
}
1 change: 1 addition & 0 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ http {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
proxy_pass_header Server;
}

}
Expand Down

0 comments on commit 989ab04

Please sign in to comment.