mirror of
https://github.com/KwiTsukasa/kt-template-admin.git
synced 2026-05-27 16:35:47 +08:00
chore(admin): 调整后台 Nginx API 匹配规则
This commit is contained in:
parent
3e5a60089b
commit
21d576b6fe
@ -14,7 +14,7 @@ server {
|
|||||||
try_files $uri =404;
|
try_files $uri =404;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /api/ {
|
location ^~ /api/ {
|
||||||
proxy_pass http://192.168.31.224:48085/;
|
proxy_pass http://192.168.31.224:48085/;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user