fix
This commit is contained in:
@@ -45,7 +45,7 @@ server {
|
|||||||
# ➤ mkdir -p /usr/local/file_upload
|
# ➤ mkdir -p /usr/local/file_upload
|
||||||
# ➤ sudo chown (whoami) /usr/local/file_upload
|
# ➤ sudo chown (whoami) /usr/local/file_upload
|
||||||
set $tmp_file_dir "/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 $htyuc "http://127.0.0.1:8088"; #htyuc host
|
||||||
|
|
||||||
set $resty_loc "/usr/local/opt/openresty"; # MacOS
|
set $resty_loc "/usr/local/opt/openresty"; # MacOS
|
||||||
@@ -53,7 +53,7 @@ server {
|
|||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ /index.html;
|
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;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
# disable in local test env
|
# disable in local test env
|
||||||
proxy_set_header X-Forwarded-Proto https;
|
proxy_set_header X-Forwarded-Proto https;
|
||||||
|
|||||||
Reference in New Issue
Block a user