no debil no

This commit is contained in:
slawk0
2024-11-21 21:47:45 +01:00
parent 1c529ae66d
commit 1c65cf28af
3 changed files with 11 additions and 2 deletions

View File

@@ -16,6 +16,15 @@ server {
proxy_set_header X-Forwarded-Proto $scheme;
}
location /attachments {
proxy_pass http://relay-server:3000;
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 $scheme;
}
location ~* \.io {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;