[c] updated Caddyfile and README section

This commit is contained in:
LogolicusZ 2024-07-05 08:26:23 +02:00
parent a6dbcb67d1
commit 3711a6b31d
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}
} }
} }
``` ```