Merge branch 'main' of gitpot.org:tbz/m158

This commit is contained in:
Stelian 2024-07-05 08:27:48 +02:00
commit ad13d15fe9
2 changed files with 5 additions and 2 deletions

View file

@ -1,6 +1,7 @@
nugget.sangelo.space { nugget.sangelo.space {
reverse_proxy 10.1.30.1:2080 { reverse_proxy https://10.1.30.1:2443 {
header_up X-Real-IP {remote_host} header_up X-Real-IP {remote_host}
header_up X-Forwarded-For {remote_host} header_up X-Forwarded-For {remote_host}
header_up Host {upstream_hostport}
} }
} }

View file

@ -8,6 +8,7 @@
- [Docker Image und Compose vorbereiten](#docker-image-und-compose-vorbereiten) - [Docker Image und Compose vorbereiten](#docker-image-und-compose-vorbereiten)
- [Deployment vom Panel](#deployment-vom-panel) - [Deployment vom Panel](#deployment-vom-panel)
- [2FA](#2fa) - [2FA](#2fa)
- [Reverse Proxy](#reverse-proxy)
## Setup LXC Container ## Setup LXC Container
@ -108,9 +109,10 @@ Das Caddyfile leitet alle Anfragen an `nugget.sangelo.space` über einen Reverse
```Caddy ```Caddy
nugget.sangelo.space { nugget.sangelo.space {
reverse_proxy 10.1.30.1:2080 { reverse_proxy https://10.1.30.1:2443 {
header_up X-Real-IP {remote_host} header_up X-Real-IP {remote_host}
header_up X-Forwarded-For {remote_host} header_up X-Forwarded-For {remote_host}
header_up Host {upstream_hostport}
} }
} }
``` ```