initial commit

This commit is contained in:
2024-12-30 19:16:20 +09:00
commit d22b377f73
15 changed files with 619 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
${DOMAIN} {
#reverse_proxy wordpress_${DOMAIN}:80
tls internal
root * /var/www/${DOMAIN}/html
encode zstd gzip
# Serve WordPress PHP files through php-fpm:
php_fastcgi wordpress_${DOMAIN}:9000 {
root /var/www/html
}
# Enable the static file server:
file_server {
precompressed gzip
}
header / {
X-Frame-Options "SAMEORIGIN"
X-Content-Type-Options "nosniff"
}
}