chore: update aio Caddyfile
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
:3000 {
|
||||
try_files {path} /
|
||||
root * /site/selfhost-web
|
||||
file_server
|
||||
}
|
||||
|
||||
:3100 {
|
||||
try_files {path} /
|
||||
root * /site/sh-admin
|
||||
file_server
|
||||
handle_path /admin* {
|
||||
root * /site/sh-admin
|
||||
file_server
|
||||
}
|
||||
|
||||
handle_path /backend* {
|
||||
reverse_proxy localhost:3170
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,6 +15,7 @@ import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite';
|
||||
export default defineConfig({
|
||||
envPrefix: process.env.HOPP_ALLOW_RUNTIME_ENV ? 'VITE_BUILDTIME_' : 'VITE_',
|
||||
envDir: path.resolve(__dirname, '../..'),
|
||||
base: '/admin/',
|
||||
server: {
|
||||
port: 3100,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user