This commit is contained in:
@@ -11,14 +11,49 @@ nginx_sites = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
django = {
|
django = {
|
||||||
service = "webserver.django-python.svc:8000"
|
#service = "webserver.django-python.svc:8000"
|
||||||
|
service = "django-svc.django:8000"
|
||||||
proxy_cache = true
|
proxy_cache = true
|
||||||
http2_bool = true
|
http2_bool = true
|
||||||
}
|
}
|
||||||
echo = {
|
echo = {
|
||||||
service = "echo-server.echo-server.svc:80"
|
# service = "echo-server.echo-server.svc:80"
|
||||||
|
service = "echo-svc.echo.svc"
|
||||||
proxy_cache = true
|
proxy_cache = true
|
||||||
http2_bool = true
|
http2_bool = true
|
||||||
|
|
||||||
|
extra-value-location = <<EOT
|
||||||
|
auth_request /oauth2/auth;
|
||||||
|
error_page 401 = @oauth2_signin;
|
||||||
|
proxy_set_header X-Auth-Request-Redirect $request_uri;
|
||||||
|
EOT
|
||||||
|
|
||||||
|
extra-value = <<EOT
|
||||||
|
location = /oauth2/auth {
|
||||||
|
internal;
|
||||||
|
proxy_pass http://oauthn_backend;
|
||||||
|
# proxy_pass https://oauthn.tryton.geeraert.eu/oauth2/auth;
|
||||||
|
proxy_pass_request_body off;
|
||||||
|
proxy_set_header Content-Length "";
|
||||||
|
proxy_set_header X-Original-URI $request_uri;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Scheme $scheme;
|
||||||
|
}
|
||||||
|
location @oauth2_signin {
|
||||||
|
return 302 https://$host/oauth2/start?rd=https://$host$request_uri;
|
||||||
|
}
|
||||||
|
|
||||||
|
location /oauth2/ {
|
||||||
|
proxy_pass http://oauthn_backend;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Scheme $scheme;
|
||||||
|
proxy_set_header X-Auth-Request-Redirect $request_uri;
|
||||||
|
}
|
||||||
|
|
||||||
|
EOT
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
gitlab = {
|
gitlab = {
|
||||||
service = "webserver.gitlab.svc:443"
|
service = "webserver.gitlab.svc:443"
|
||||||
@@ -32,7 +67,7 @@ client_max_body_size 20m;
|
|||||||
proxy_pass_https = true
|
proxy_pass_https = true
|
||||||
}
|
}
|
||||||
sonarr = {
|
sonarr = {
|
||||||
service = "sonarr.servarr.svc"
|
service = "sonarr-svc.servarr.svc:8989"
|
||||||
}
|
}
|
||||||
|
|
||||||
keycloak = {
|
keycloak = {
|
||||||
@@ -102,17 +137,21 @@ client_max_body_size 20m;
|
|||||||
service = "portainer.portainer.svc"
|
service = "portainer.portainer.svc"
|
||||||
}
|
}
|
||||||
prowlarr = {
|
prowlarr = {
|
||||||
service = "prowlarr.servarr.svc"
|
service = "prowlarr-svc.servarr.svc:9696"
|
||||||
}
|
}
|
||||||
proxmox = {
|
proxmox = {
|
||||||
service = "192.168.6.2:8006"
|
service = "192.168.6.2:8006"
|
||||||
enabled = false
|
enabled = false
|
||||||
}
|
}
|
||||||
qbittorrent = {
|
qbittorrent = {
|
||||||
service = "qbittorrent.servarr.svc:8080"
|
service = "qbittorrent-svc.servarr.svc:8080"
|
||||||
}
|
}
|
||||||
radarr = {
|
radarr = {
|
||||||
service = "radarr.servarr.svc"
|
service = "radarr-svc.servarr.svc:7878"
|
||||||
|
}
|
||||||
|
recommendarr = {
|
||||||
|
service = "recommendarr-svc.servarr.svc:3000"
|
||||||
|
enabled = false
|
||||||
}
|
}
|
||||||
reverse = {
|
reverse = {
|
||||||
service = "192.168.88.50:8888"
|
service = "192.168.88.50:8888"
|
||||||
@@ -120,6 +159,7 @@ client_max_body_size 20m;
|
|||||||
}
|
}
|
||||||
sickchill = {
|
sickchill = {
|
||||||
service = "sickchill.servarr.svc"
|
service = "sickchill.servarr.svc"
|
||||||
|
enabled = false
|
||||||
}
|
}
|
||||||
transmission = {
|
transmission = {
|
||||||
service = "192.168.88.52:31091"
|
service = "192.168.88.52:31091"
|
||||||
@@ -139,8 +179,14 @@ client_max_body_size 20m;
|
|||||||
}
|
}
|
||||||
|
|
||||||
immich = {
|
immich = {
|
||||||
service = "immich-server.immich.svc:3001"
|
#service = "immich-server.immich.svc:3001"
|
||||||
|
service = "immich-server.immich.svc:2283"
|
||||||
}
|
}
|
||||||
|
immicht = {
|
||||||
|
service = "immicht-svc.immicht.svc:2283"
|
||||||
|
enabled = false
|
||||||
|
}
|
||||||
|
|
||||||
netdata = {
|
netdata = {
|
||||||
enabled = false
|
enabled = false
|
||||||
service = "netdata-agent.netdata.svc:19999"
|
service = "netdata-agent.netdata.svc:19999"
|
||||||
@@ -151,6 +197,7 @@ client_max_body_size 20m;
|
|||||||
listen_port_80_bool = true
|
listen_port_80_bool = true
|
||||||
service = "screeps-svc.screeps.svc:21025"
|
service = "screeps-svc.screeps.svc:21025"
|
||||||
}
|
}
|
||||||
|
|
||||||
stirling = {
|
stirling = {
|
||||||
enabled = false
|
enabled = false
|
||||||
service = "stirling-svc.stirling.svc:8080"
|
service = "stirling-svc.stirling.svc:8080"
|
||||||
@@ -313,4 +360,34 @@ proxy_set_header Connection "upgrade";
|
|||||||
|
|
||||||
EOT
|
EOT
|
||||||
}
|
}
|
||||||
|
wikijs = {
|
||||||
|
#enabled = false
|
||||||
|
service = "wikijs-svc.wikijs.svc:3000"
|
||||||
|
}
|
||||||
|
|
||||||
|
keycloak = {
|
||||||
|
#enabled = false
|
||||||
|
service = "keycloak-svc.keycloak.svc:8080"
|
||||||
|
extra-value = <<EOT
|
||||||
|
|
||||||
|
set_real_ip_from 0.0.0.0/0;
|
||||||
|
real_ip_header X-Real-IP;
|
||||||
|
real_ip_recursive on;
|
||||||
|
EOT
|
||||||
|
}
|
||||||
|
oauthn = {
|
||||||
|
#enabled = false
|
||||||
|
service = "oauth2-proxy-svc.oauth2-proxy.svc:4180"
|
||||||
|
|
||||||
|
# extra-value = <<EOT
|
||||||
|
# location /oauth2/ {
|
||||||
|
# proxy_pass http://oauthn_backend;
|
||||||
|
# proxy_set_header Host $host;
|
||||||
|
# proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
# proxy_set_header X-Scheme $scheme;
|
||||||
|
# }
|
||||||
|
# EOT
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user