This commit is contained in:
2021-11-28 15:22:28 +08:00
parent 751224a51e
commit d9cdb86e8e
+2 -2
View File
@@ -45,7 +45,7 @@ server {
# ➤ mkdir -p /usr/local/file_upload
# ➤ sudo chown (whoami) /usr/local/file_upload
set $tmp_file_dir "/usr/local/file_upload"; # 文件存储路径
set $task_server "https://127.0.0.1:8080"; # task server host
set $task_server "http://127.0.0.1:8080"; # task server host
set $htyuc "http://127.0.0.1:8088"; #htyuc host
set $resty_loc "/usr/local/opt/openresty"; # MacOS
@@ -53,7 +53,7 @@ server {
location / {
try_files $uri $uri/ /index.html;
proxy_set_header Host $servername;
proxy_set_header Host "test.localhost";
proxy_set_header X-Real-IP $remote_addr;
# disable in local test env
proxy_set_header X-Forwarded-Proto https;