Skip to content

Commit

Permalink
Commented out X-Real-IP header in default.conf.template
Browse files Browse the repository at this point in the history
  • Loading branch information
yanhao98 committed Mar 28, 2024
1 parent caa9db3 commit b138e1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs/etc/nginx/templates/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ server {
location / {
proxy_pass http://127.0.0.1:7080; # 7080 对应的是 entry.sh 的 --vhost_http_port
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header X-Real-IP $remote_addr;
}
}

0 comments on commit b138e1c

Please sign in to comment.