1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/owncloud_ynh.git synced 2024-09-03 19:56:25 +02:00

Update nginx.conf

This commit is contained in:
Éric Gaspar 2023-11-13 13:30:11 +01:00
parent a570d4aeb0
commit d7b5c8c199

View file

@ -2,16 +2,18 @@
location __PATH__/ {
proxy_pass https://127.0.0.1:__PORT__;
proxy_redirect off;
#proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
#proxy_set_header X-Real-IP $remote_addr;
#proxy_set_header X-Forwarded-Proto $scheme;
#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
#proxy_set_header X-Forwarded-Host $server_name;
# OIDC Tokens in headers are quite large and can exceed default limits of reverse proxies
proxy_buffers 4 256k;
proxy_buffer_size 128k;
proxy_busy_buffers_size 256k;
# Disable checking of client request body size
client_max_body_size 0;
}