trial app

This commit is contained in:
2024-03-31 18:48:05 +03:00
commit aadc3c50d5
59 changed files with 13017 additions and 0 deletions
+32
View File
@@ -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"
}
}
+1
View File
@@ -0,0 +1 @@
tls {$TLS_AUTO_EMAIL}
+1
View File
@@ -0,0 +1 @@
tls internal