Skip to content

Commit

Permalink
Set headers for proxied connections
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov committed Feb 8, 2023
1 parent 7da9d14 commit 2e357ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions etc/nginx.conf
Expand Up @@ -47,6 +47,10 @@ http {
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers off;

# default proxy settings
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;

upstream kiwitcms {
server unix:///tmp/kiwitcms.sock;
}
Expand Down

0 comments on commit 2e357ad

Please sign in to comment.