fix: delegate CMS prefix handling to Caddy
This commit is contained in:
parent
2b9baf2f5e
commit
1df151dd0a
@ -2,5 +2,4 @@ import { withPayload } from "@payloadcms/next/withPayload";
|
|||||||
|
|
||||||
export default withPayload({
|
export default withPayload({
|
||||||
reactStrictMode: true,
|
reactStrictMode: true,
|
||||||
basePath: "/cms",
|
|
||||||
});
|
});
|
||||||
|
|||||||
@ -2,7 +2,7 @@ https://192.168.199.22 {
|
|||||||
tls internal
|
tls internal
|
||||||
encode gzip
|
encode gzip
|
||||||
|
|
||||||
handle /cms/* {
|
handle_path /cms/* {
|
||||||
reverse_proxy 127.0.0.1:3001
|
reverse_proxy 127.0.0.1:3001
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user