Initial commit
This commit is contained in:
24
templates/app_caddyfile.epp
Normal file
24
templates/app_caddyfile.epp
Normal file
@@ -0,0 +1,24 @@
|
||||
# Caddyfile pour l'application écoutant sur localhost
|
||||
{
|
||||
admin off
|
||||
}
|
||||
|
||||
:<%= $listen_port %> {
|
||||
root * <%= $root_dir %>
|
||||
|
||||
encode zstd br gzip
|
||||
|
||||
# Clear Headers
|
||||
header {
|
||||
-Server
|
||||
-X-Powered-By
|
||||
}
|
||||
|
||||
# Logs
|
||||
log {
|
||||
output stdout
|
||||
}
|
||||
|
||||
file_server
|
||||
php_server
|
||||
}
|
||||
Reference in New Issue
Block a user