2023-11-25 10:03:44 +01:00
|
|
|
www.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
|
|
|
|
}
|
2023-11-25 10:03:44 +01:00
|
|
|
|
2023-04-12 21:43:52 +02:00
|
|
|
rewrite @disallowed '/index.php'
|
|
|
|
|
|
|
|
respond /uploads/*.php 404
|
2023-11-25 10:03:44 +01:00
|
|
|
|
2023-04-12 21:43:52 +02:00
|
|
|
log {
|
|
|
|
output stdout
|
|
|
|
format console
|
|
|
|
}
|
2023-04-10 23:42:21 +02:00
|
|
|
}
|
|
|
|
|
2023-11-25 10:03:44 +01:00
|
|
|
bensuperpc.org {
|
|
|
|
redir https://www.bensuperpc.org{uri} permanent
|
|
|
|
}
|
|
|
|
|
|
|
|
adminer.bensuperpc.org {
|
|
|
|
reverse_proxy adminer:7777
|
2023-04-10 23:42:21 +02:00
|
|
|
}
|