mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-05 13:55:44 -05:00
nix&docker: simplify Caddyfile
This commit is contained in:
@@ -17,14 +17,5 @@
|
||||
trusted_proxies 172.20.0.0/16
|
||||
}
|
||||
|
||||
@startsWithDot {
|
||||
path \/\.
|
||||
not path .well-known
|
||||
}
|
||||
rewrite @startsWithDot /index.php{uri}
|
||||
|
||||
@phpRewrite {
|
||||
not file favicon.ico
|
||||
}
|
||||
try_files @phpRewrite {path} {path}/ /index.php?{query}
|
||||
try_files {path} {path}/ /index.php?{query}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user