mirror of
https://github.com/10h30/kazewp.git
synced 2026-05-12 15:21:20 +09:00
initial commit
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user