mailcow proxy

This commit is contained in:
2026-05-19 11:50:12 +01:00
commit 038c4f05e9
2 changed files with 17 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
FROM nginx:alpine
COPY default.conf /etc/nginx/conf.d/default.conf
+14
View File
@@ -0,0 +1,14 @@
server {
listen 80;
location / {
proxy_pass https://nginx-mailcow:8443;
proxy_ssl_verify off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
}
}