🐛 混淆前端打包后代码
This commit is contained in:
@@ -19,9 +19,17 @@ http:// {
|
||||
reverse_proxy ${BACKEND_URL}
|
||||
}
|
||||
|
||||
@assets path /assets/* /favicon.svg
|
||||
handle @assets {
|
||||
root * /www
|
||||
header Cache-Control "public, max-age=31536000, immutable"
|
||||
file_server
|
||||
}
|
||||
|
||||
handle {
|
||||
root * /www
|
||||
try_files {path} /index.html
|
||||
header Cache-Control "no-store, no-cache, must-revalidate"
|
||||
file_server
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user