1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-25 10:32:31 +01:00

nix&docker: simplify Caddyfile

This commit is contained in:
Matthew Penner 2022-12-12 19:23:03 -07:00
parent 4138fb7497
commit 5fbc7a89e4
No known key found for this signature in database
2 changed files with 2 additions and 20 deletions

View File

@ -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}
}

View File

@ -80,16 +80,7 @@
php_fastcgi localhost:9000
@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}
}
'';