fix: preserve CMS admin prefix through proxy
This commit is contained in:
parent
864ae270fc
commit
8ff983e858
@ -3,7 +3,9 @@ https://192.168.199.22 {
|
||||
encode gzip
|
||||
|
||||
handle_path /cms/* {
|
||||
reverse_proxy 127.0.0.1:3001
|
||||
reverse_proxy 127.0.0.1:3001 {
|
||||
header_down Location ^/admin(.*)$ /cms/admin$1
|
||||
}
|
||||
}
|
||||
|
||||
handle /api/* {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user