2023-04-10 23:42:21 +02:00
|
|
|
bensuperpc.org {
|
2023-04-12 21:43:52 +02:00
|
|
|
# push
|
|
|
|
|
|
|
|
root * /var/www/html
|
|
|
|
php_fastcgi wordpress:9000
|
|
|
|
|
|
|
|
file_server
|
|
|
|
encode zstd gzip
|
|
|
|
|
|
|
|
metrics /metrics
|
|
|
|
|
|
|
|
@disallowed {
|
|
|
|
path /xmlrpc.php
|
|
|
|
path *.sql
|
|
|
|
path /wp-content/uploads/*.php
|
|
|
|
}
|
|
|
|
rewrite @disallowed '/index.php'
|
|
|
|
|
|
|
|
respond /uploads/*.php 404
|
|
|
|
|
|
|
|
header {
|
|
|
|
-Server
|
|
|
|
Content-Security-Policy default-src 'self' *.bensuperpc.org
|
|
|
|
X-XSS-Protection 1; mode=block
|
|
|
|
Strict-Transport-Security max-age=31536000; includeSubDomains; preload
|
|
|
|
X-Frame-Options DENY
|
|
|
|
X-Frame-Options: SAMEORIGIN
|
|
|
|
X-Content-Type-Options nosniff
|
|
|
|
Referrer-Policy no-referrer-when-downgrade
|
|
|
|
}
|
|
|
|
|
|
|
|
log {
|
|
|
|
output stdout
|
|
|
|
format console
|
|
|
|
}
|
2023-04-10 23:42:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
www.bensuperpc.com {
|
2023-04-12 21:43:52 +02:00
|
|
|
redir https://bensuperpc.org{uri}
|
2023-04-10 23:42:21 +02:00
|
|
|
}
|