mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2025-07-15 22:56:27 +02:00
@@ -1,13 +1,8 @@
|
|||||||
bensuperpc.org {
|
bensuperpc.org {
|
||||||
# push
|
|
||||||
|
|
||||||
root * /var/www/html
|
root * /var/www/html
|
||||||
php_fastcgi wordpress:9000
|
php_fastcgi wordpress:9000
|
||||||
|
|
||||||
file_server
|
file_server
|
||||||
encode zstd gzip
|
encode gzip
|
||||||
|
|
||||||
metrics /metrics
|
|
||||||
|
|
||||||
@disallowed {
|
@disallowed {
|
||||||
path /xmlrpc.php
|
path /xmlrpc.php
|
||||||
@@ -17,22 +12,6 @@ bensuperpc.org {
|
|||||||
rewrite @disallowed '/index.php'
|
rewrite @disallowed '/index.php'
|
||||||
|
|
||||||
respond /uploads/*.php 404
|
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
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
www.bensuperpc.com {
|
www.bensuperpc.com {
|
||||||
|
Reference in New Issue
Block a user