trial app
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
{
|
||||
default_sni {$SERVER_NAME}
|
||||
http_port 8000
|
||||
https_port 8443
|
||||
}
|
||||
|
||||
{$SERVER_NAME} {
|
||||
import /etc/{$TLS_MODE}
|
||||
root * /var/www/trial/public
|
||||
encode zstd gzip
|
||||
file_server
|
||||
|
||||
|
||||
php_fastcgi php:9000 {
|
||||
resolve_root_symlink
|
||||
}
|
||||
|
||||
@phpFile {
|
||||
path *.php*
|
||||
}
|
||||
|
||||
error @phpFile "Not found" 404
|
||||
|
||||
log {
|
||||
output file /var/log/caddy.log
|
||||
}
|
||||
|
||||
header / {
|
||||
X-Frame-Options "SAMEORIGIN"
|
||||
X-Content-Type-Options "nosniff"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user