mirror of
https://github.com/10h30/kazewp.git
synced 2026-05-12 23:31:27 +09:00
23 lines
400 B
Plaintext
23 lines
400 B
Plaintext
${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"
|
|
}
|
|
}
|
|
|