2023-11-25 10:03:44 +01:00
|
|
|
www.bensuperpc.org {
|
2023-04-12 21:43:52 +02:00
|
|
|
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 {
|
2023-11-26 22:46:58 +01:00
|
|
|
output file /data/logs/access.log
|
2023-04-12 21:43:52 +02:00
|
|
|
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 {
|
2023-11-25 17:34:59 +01:00
|
|
|
reverse_proxy adminer:8080
|
|
|
|
}
|
|
|
|
|
2023-11-26 22:46:58 +01:00
|
|
|
uptimekuma.bensuperpc.org {
|
|
|
|
reverse_proxy uptime-kuma:3001
|
|
|
|
}
|