1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/adguardhome_ynh.git synced 2024-09-03 18:06:23 +02:00

Update nginx.conf

Add support to remote user authentication
This commit is contained in:
ewilly 2023-02-19 17:42:37 +01:00 committed by GitHub
parent 847016a025
commit 1a6d2ef505
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,6 +9,7 @@ location __PATH__/ {
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-Remote-User $remote_user;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;