🔧 修复install.sh中的shell变量转义问题
- 修复3处Nginx配置中的Cookie变量转义($http_cookie → \$http_cookie) - 移除多余的文档文件(交接文档、更新说明) - 清理文件末尾空行 这个修复确保install.sh脚本能正确生成Nginx配置,而不会将$http_cookie误解释为shell变量。 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -2381,7 +2381,7 @@ server {
|
||||
proxy_set_header X-Forwarded-Proto \$scheme;
|
||||
|
||||
# Cookie传递配置(验证码session需要)
|
||||
proxy_set_header Cookie $http_cookie;
|
||||
proxy_set_header Cookie \$http_cookie;
|
||||
proxy_pass_header Set-Cookie;
|
||||
|
||||
# 上传超时设置
|
||||
@@ -2663,7 +2663,7 @@ server {
|
||||
proxy_set_header X-Forwarded-Proto \$scheme;
|
||||
|
||||
# Cookie传递配置(验证码session需要)
|
||||
proxy_set_header Cookie $http_cookie;
|
||||
proxy_set_header Cookie \$http_cookie;
|
||||
proxy_pass_header Set-Cookie;
|
||||
|
||||
# 上传超时设置(大文件上传需要更长时间,设置为1小时)
|
||||
@@ -2800,7 +2800,7 @@ server {
|
||||
proxy_set_header X-Forwarded-Proto \$scheme;
|
||||
|
||||
# Cookie传递配置(验证码session需要)
|
||||
proxy_set_header Cookie $http_cookie;
|
||||
proxy_set_header Cookie \$http_cookie;
|
||||
proxy_pass_header Set-Cookie;
|
||||
|
||||
# 上传超时设置(大文件上传需要更长时间,设置为1小时)
|
||||
@@ -4716,4 +4716,3 @@ elif [[ "$MODE" == "ssl" ]]; then
|
||||
else
|
||||
main
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user