Update Caddyfile
This commit is contained in:
@@ -2,8 +2,10 @@
|
||||
root * /usr/share/caddy
|
||||
file_server
|
||||
|
||||
# Behandle die HTML-Datei als Index
|
||||
try_files {path} /Just%20a%20QR%20Code.html
|
||||
@notStatic {
|
||||
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
|
||||
header {
|
||||
|
Reference in New Issue
Block a user