Update Caddyfile
This commit is contained in:
@@ -2,8 +2,10 @@
|
|||||||
root * /usr/share/caddy
|
root * /usr/share/caddy
|
||||||
file_server
|
file_server
|
||||||
|
|
||||||
# Behandle die HTML-Datei als Index
|
@notStatic {
|
||||||
try_files {path} /Just%20a%20QR%20Code.html
|
not path_regexp static \.\(js|css|png|jpg|jpeg|gif|svg|ico|json|webmanifest|map|txt|woff2?\)$
|
||||||
|
}
|
||||||
|
try_files {path} /index.html @notStatic
|
||||||
|
|
||||||
# CORS-Header für Cross-Origin-Requests
|
# CORS-Header für Cross-Origin-Requests
|
||||||
header {
|
header {
|
||||||
|
Reference in New Issue
Block a user