mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2025-05-08 13:09:39 +02:00
Update config
This commit is contained in:
parent
22f4237b49
commit
d6d8fedc11
@ -1,21 +1,21 @@
|
|||||||
www.bensuperpc.org {
|
www.{$MAIN_DOMAIN} {
|
||||||
reverse_proxy homepage:3000
|
reverse_proxy homepage:3000
|
||||||
}
|
}
|
||||||
|
|
||||||
bensuperpc.org {
|
{$MAIN_DOMAIN} {
|
||||||
redir https://www.{host}{uri} permanent
|
redir https://www.{host}{uri} permanent
|
||||||
}
|
}
|
||||||
|
|
||||||
homepage.bensuperpc.org {
|
homepage.{$MAIN_DOMAIN} {
|
||||||
redir https://www.bensuperpc.org{uri} permanent
|
redir https://www.{$MAIN_DOMAIN}{uri} permanent
|
||||||
}
|
}
|
||||||
|
|
||||||
public.bensuperpc.org {
|
public.{$MAIN_DOMAIN} {
|
||||||
root * /public_data
|
root * /public_data
|
||||||
file_server browse
|
file_server browse
|
||||||
}
|
}
|
||||||
|
|
||||||
wordpress.bensuperpc.org {
|
wordpress.{$MAIN_DOMAIN} {
|
||||||
root * /var/www/html
|
root * /var/www/html
|
||||||
php_fastcgi wordpress:9000
|
php_fastcgi wordpress:9000
|
||||||
|
|
||||||
@ -46,11 +46,11 @@ wordpress.bensuperpc.org {
|
|||||||
# X-Frame-Options DENY
|
# X-Frame-Options DENY
|
||||||
|
|
||||||
# Disable powerful features we don't need
|
# Disable powerful features we don't need
|
||||||
Permissions-Policy "geolocation=(), camera=(), microphone=() interest-cohort=()"
|
Permissions-Policy "geolocation=(), camera=(), microphone=() interest-cohort=()"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
it-tools.bensuperpc.org {
|
it-tools.{$MAIN_DOMAIN} {
|
||||||
# Load balance between 2 instances
|
# Load balance between 2 instances
|
||||||
reverse_proxy {
|
reverse_proxy {
|
||||||
to it-tools0:80 it-tools1:80
|
to it-tools0:80 it-tools1:80
|
||||||
@ -60,89 +60,89 @@ it-tools.bensuperpc.org {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
uptimekuma.bensuperpc.org {
|
uptimekuma.{$MAIN_DOMAIN} {
|
||||||
reverse_proxy uptime-kuma:3001
|
reverse_proxy uptime-kuma:3001
|
||||||
}
|
}
|
||||||
|
|
||||||
torrent.bensuperpc.org {
|
torrent.{$MAIN_DOMAIN} {
|
||||||
reverse_proxy qbittorrent:8080
|
reverse_proxy qbittorrent:8080
|
||||||
}
|
}
|
||||||
|
|
||||||
qbittorrent.bensuperpc.org {
|
qbittorrent.{$MAIN_DOMAIN} {
|
||||||
redir https://torrent.bensuperpc.org permanent
|
redir https://torrent.{$MAIN_DOMAIN} permanent
|
||||||
}
|
}
|
||||||
|
|
||||||
transmission.bensuperpc.org {
|
transmission.{$MAIN_DOMAIN} {
|
||||||
reverse_proxy transmission:9091
|
reverse_proxy transmission:9091
|
||||||
}
|
}
|
||||||
|
|
||||||
gitea.bensuperpc.org {
|
gitea.{$MAIN_DOMAIN} {
|
||||||
redir https://git.bensuperpc.org permanent
|
redir https://git.{$MAIN_DOMAIN} permanent
|
||||||
}
|
}
|
||||||
|
|
||||||
git.bensuperpc.org {
|
git.{$MAIN_DOMAIN} {
|
||||||
reverse_proxy gitea:3000
|
reverse_proxy gitea:3000
|
||||||
}
|
}
|
||||||
|
|
||||||
jellyfin.bensuperpc.org {
|
jellyfin.{$MAIN_DOMAIN} {
|
||||||
reverse_proxy jellyfin:8096
|
reverse_proxy jellyfin:8096
|
||||||
}
|
}
|
||||||
|
|
||||||
transfer.bensuperpc.org {
|
transfer.{$MAIN_DOMAIN} {
|
||||||
reverse_proxy psitransfer:3000
|
reverse_proxy psitransfer:3000
|
||||||
}
|
}
|
||||||
|
|
||||||
psitransfer.bensuperpc.org {
|
psitransfer.{$MAIN_DOMAIN} {
|
||||||
redir https://transfer.bensuperpc.org{uri} permanent
|
redir https://transfer.{$MAIN_DOMAIN}{uri} permanent
|
||||||
}
|
}
|
||||||
|
|
||||||
picoshare.bensuperpc.org {
|
picoshare.{$MAIN_DOMAIN} {
|
||||||
reverse_proxy picoshare:4001
|
reverse_proxy picoshare:4001
|
||||||
}
|
}
|
||||||
|
|
||||||
syncthing.bensuperpc.org {
|
syncthing.{$MAIN_DOMAIN} {
|
||||||
reverse_proxy syncthing:8384 {
|
reverse_proxy syncthing:8384 {
|
||||||
header_up Host {upstream_hostport}
|
header_up Host {upstream_hostport}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tools.bensuperpc.org {
|
tools.{$MAIN_DOMAIN} {
|
||||||
redir https://it-tools.bensuperpc.org permanent
|
redir https://it-tools.{$MAIN_DOMAIN} permanent
|
||||||
}
|
}
|
||||||
|
|
||||||
privatebin.bensuperpc.org {
|
privatebin.{$MAIN_DOMAIN} {
|
||||||
reverse_proxy privatebin:8080
|
reverse_proxy privatebin:8080
|
||||||
}
|
}
|
||||||
|
|
||||||
pastebin.bensuperpc.org {
|
pastebin.{$MAIN_DOMAIN} {
|
||||||
redir https://privatebin.bensuperpc.org permanent
|
redir https://privatebin.{$MAIN_DOMAIN} permanent
|
||||||
}
|
}
|
||||||
|
|
||||||
yacht.bensuperpc.org {
|
yacht.{$MAIN_DOMAIN} {
|
||||||
reverse_proxy yacht:8000
|
reverse_proxy yacht:8000
|
||||||
}
|
}
|
||||||
|
|
||||||
projectsend.bensuperpc.org {
|
projectsend.{$MAIN_DOMAIN} {
|
||||||
reverse_proxy projectsend:80
|
reverse_proxy projectsend:80
|
||||||
}
|
}
|
||||||
|
|
||||||
dufs.bensuperpc.org {
|
dufs.{$MAIN_DOMAIN} {
|
||||||
reverse_proxy dufs:5000
|
reverse_proxy dufs:5000
|
||||||
}
|
}
|
||||||
|
|
||||||
stirlingpdf.bensuperpc.org {
|
stirlingpdf.{$MAIN_DOMAIN} {
|
||||||
reverse_proxy stirlingpdf:8080
|
reverse_proxy stirlingpdf:8080
|
||||||
}
|
}
|
||||||
|
|
||||||
memos.bensuperpc.org {
|
memos.{$MAIN_DOMAIN} {
|
||||||
reverse_proxy memos:5230
|
reverse_proxy memos:5230
|
||||||
}
|
}
|
||||||
|
|
||||||
open-webui.bensuperpc.org {
|
open-webui.{$MAIN_DOMAIN} {
|
||||||
reverse_proxy open-webui:8080
|
reverse_proxy open-webui:8080
|
||||||
}
|
}
|
||||||
|
|
||||||
link.bensuperpc.org {
|
link.{$MAIN_DOMAIN} {
|
||||||
# TODO: Use service with database
|
# TODO: Use service with database
|
||||||
# Friendly links
|
# Friendly links
|
||||||
redir /gnous https://gnous.eu permanent
|
redir /gnous https://gnous.eu permanent
|
||||||
|
1
infrastructure/services/caddy/env/caddy.env
vendored
1
infrastructure/services/caddy/env/caddy.env
vendored
@ -0,0 +1 @@
|
|||||||
|
MAIN_DOMAIN=bensuperpc.org
|
@ -1,2 +1,3 @@
|
|||||||
PSITRANSFER_ADMIN_PASS=n9jLVNT9QUotTJTT91JqH4GyBTg9pvEn
|
PSITRANSFER_ADMIN_PASS=n9jLVNT9QUotTJTT91JqH4GyBTg9pvEn
|
||||||
#PSITRANSFER_PORT=3000
|
#PSITRANSFER_PORT=3000
|
||||||
|
HOMEPAGE_ALLOWED_HOSTS=www.bensuperpc.org
|
||||||
|
Loading…
x
Reference in New Issue
Block a user