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
|
|
|
|
|
2024-05-07 19:41:28 +02:00
|
|
|
# metrics /metrics
|
2023-04-12 21:43:52 +02:00
|
|
|
|
|
|
|
@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
|
2024-05-06 09:47:23 +02:00
|
|
|
|
|
|
|
# Disable powerful features we don't need
|
|
|
|
Permissions-Policy "geolocation=(), camera=(), microphone=() interest-cohort=()"
|
2023-12-10 09:04:50 +01:00
|
|
|
}
|
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 {
|
2024-05-04 23:14:42 +02:00
|
|
|
reverse_proxy adminer:8080
|
2023-11-25 17:34:59 +01:00
|
|
|
}
|
|
|
|
|
2023-11-26 22:46:58 +01:00
|
|
|
uptimekuma.bensuperpc.org {
|
|
|
|
reverse_proxy uptime-kuma:3001
|
|
|
|
}
|
2023-12-09 14:50:52 +01:00
|
|
|
|
2024-05-01 13:17:53 +02:00
|
|
|
torrent.bensuperpc.org {
|
|
|
|
reverse_proxy qbittorrent:8080
|
|
|
|
}
|
|
|
|
|
2024-05-04 17:07:38 +02:00
|
|
|
git.bensuperpc.org {
|
|
|
|
reverse_proxy gitea:3000
|
|
|
|
}
|
|
|
|
|
2024-05-04 23:36:13 +02:00
|
|
|
jellyfin.bensuperpc.org {
|
|
|
|
reverse_proxy jellyfin:8096
|
|
|
|
}
|
|
|
|
|
2024-05-06 00:37:17 +02:00
|
|
|
ssh.bensuperpc.org {
|
|
|
|
reverse_proxy openssh:2222
|
|
|
|
}
|
|
|
|
|
2024-05-06 09:03:17 +02:00
|
|
|
syncthing.bensuperpc.org {
|
|
|
|
reverse_proxy syncthing:8384 {
|
|
|
|
header_up Host {upstream_hostport}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-04-28 14:22:16 +02:00
|
|
|
link.bensuperpc.org {
|
2024-05-07 19:41:28 +02:00
|
|
|
# TODO: Use service with database
|
|
|
|
# Friendly links
|
|
|
|
redir /gnous https://gnous.eu permanent
|
|
|
|
redir /proxy https://imagisphe.re permanent
|
|
|
|
redir /patch https://spaceint.fr permanent
|
|
|
|
redir /greep https://greep.fr permanent
|
|
|
|
|
|
|
|
# Youtube links
|
2024-04-28 14:22:16 +02:00
|
|
|
redir /rickroll https://www.youtube.com/watch?v=dQw4w9WgXcQ permanent
|
|
|
|
redir /babyshark https://www.youtube.com/watch?v=XqZsoesa55w permanent
|
2024-04-28 20:27:48 +02:00
|
|
|
redir /cowcowcow https://www.youtube.com/watch?v=FavUpD_IjVY permanent
|
|
|
|
redir /badapple https://www.youtube.com/watch?v=FtutLA63Cp8 permanent
|
|
|
|
redir /macdo https://www.youtube.com/watch?v=Q16KpquGsIc permanent
|
|
|
|
redir /superiser https://www.youtube.com/watch?v=srnyVw-OR0g permanent
|
|
|
|
redir /daicon https://youtu.be/-840keiiFDE?si=zIPIokytxcnGw5fJ&t=162 permanent
|
|
|
|
redir /scp https://www.youtube.com/watch?v=FGCDndN20G8 permanent
|
|
|
|
redir /scpfb https://youtu.be/9zrKk-1E8zM?si=8R_ZBVG3GzMUYOe8&t=36 permanent
|
2024-05-01 11:13:35 +02:00
|
|
|
redir /mother https://youtu.be/w3NyycHR3fE?si=rNNSW9zYv0bcO2Eu permanent
|
|
|
|
redir /cpu https://www.youtube.com/watch?v=y39D4529FM4 permanent
|
|
|
|
redir /chanteur https://youtu.be/HXdP15Ubu6M?si=N0qvhqo--3pmSGmb permanent
|
2024-05-05 01:02:15 +02:00
|
|
|
redir /bna https://youtu.be/3T3ofoKfEoY?si=_7HkGQXMC7rBng8O permanent
|
2024-05-05 10:56:38 +02:00
|
|
|
redir /jojo https://youtu.be/U0TXIXTzJEY?si=2acWJWX06ju2w4uj permanent
|
|
|
|
redir /patapon https://youtu.be/H6CbNHLHkmk?si=ZvU8SzrOK-oCUXT5 permanent
|
2024-05-05 01:02:15 +02:00
|
|
|
redir /darkwater https://youtu.be/Tr8ZgF4Dc0E?si=CEOmm2J6Jp5rdbbt permanent
|
2023-12-09 14:50:52 +01:00
|
|
|
}
|