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-12-10 09:04:50 +01:00
|
|
|
|
2024-04-21 10:59:34 +02:00
|
|
|
header {
|
|
|
|
# disable FLoC tracking
|
2023-12-10 09:04:50 +01:00
|
|
|
Permissions-Policy interest-cohort=()
|
2024-04-21 10:59:34 +02:00
|
|
|
|
|
|
|
# enable HSTS
|
2023-12-10 09:04:50 +01:00
|
|
|
Strict-Transport-Security max-age=31536000;
|
2024-04-21 10:59:34 +02:00
|
|
|
|
|
|
|
# disable clients from sniffing the media type
|
2023-12-10 09:04:50 +01:00
|
|
|
X-Content-Type-Options nosniff
|
2024-04-21 10:59:34 +02:00
|
|
|
|
|
|
|
# clickjacking protection
|
2023-12-10 09:04:50 +01:00
|
|
|
X-Frame-Options DENY
|
|
|
|
}
|
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
|
|
|
|
}
|
2023-12-09 14:50:52 +01:00
|
|
|
|
|
|
|
portainer.bensuperpc.org {
|
|
|
|
reverse_proxy portainer:9000
|
|
|
|
}
|
|
|
|
|
|
|
|
rickroll.bensuperpc.org {
|
|
|
|
redir https://www.youtube.com/watch?v=dQw4w9WgXcQ permanent
|
|
|
|
}
|
2024-04-21 10:59:34 +02:00
|
|
|
|
|
|
|
babyshark.bensuperpc.org {
|
|
|
|
redir https://www.youtube.com/watch?v=XqZsoesa55w permanent
|
|
|
|
}
|