buid node modules
This commit is contained in:
@@ -1,9 +1,17 @@
|
||||
:8020 {
|
||||
root * /usr/share/caddy
|
||||
|
||||
# SPA routing - serve index.html for all non-file requests
|
||||
try_files {path} /index.html
|
||||
|
||||
file_server
|
||||
|
||||
# Authenticated app served under /app
|
||||
handle_path /app* {
|
||||
uri strip_prefix /app
|
||||
try_files {path} /index.html
|
||||
file_server
|
||||
}
|
||||
|
||||
# Marketing site is the public default
|
||||
handle {
|
||||
try_files {path} /marketing.html
|
||||
file_server
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user