This commit is contained in:
jmal 2021-04-12 17:45:21 +08:00
commit 9590288ed9
2 changed files with 4 additions and 4 deletions

View File

@ -62,7 +62,7 @@ server {
client_max_body_size 50m;
client_body_buffer_size 512k;
location /api {
location /api/ {
proxy_pass http://localhost:8088/;
proxy_set_header Host $proxy_host;
proxy_set_header X-real-ip $remote_addr;
@ -73,7 +73,7 @@ server {
index index.html index.htm;
}
location /mq {
location /mq/ {
proxy_pass http://localhost:8088/mq/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;

View File

@ -63,7 +63,7 @@ server {
client_max_body_size 50m;
client_body_buffer_size 512k;
location /api {
location /api/ {
proxy_pass http://localhost:8088/;
proxy_set_header Host $proxy_host;
proxy_set_header X-real-ip $remote_addr;
@ -74,7 +74,7 @@ server {
index index.html index.htm;
}
location /mq {
location /mq/ {
proxy_pass http://localhost:8088/mq/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;