Skip to content

Commit

Permalink
Add remote port to nginx proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkst-quinn committed Feb 17, 2025
1 parent 44d4452 commit ef51104
Showing 1 changed file with 1 addition 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 @@ -65,6 +65,7 @@ http {
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy-set-header X-Real-Port $remote_port;
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 ef51104

Please sign in to comment.