diff --git a/install.sh b/install.sh index d369015..9b8715a 100644 --- a/install.sh +++ b/install.sh @@ -465,6 +465,8 @@ nginx_conf_add(){ proxy_redirect off; proxy_pass http://127.0.0.1:10000; proxy_http_version 1.1; + proxy_set_header X-Real-IP \$remote_addr; + proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for; proxy_set_header Upgrade \$http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header Host \$http_host;