1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/diaspora_ynh.git synced 2024-09-03 18:26:13 +02:00

Use instead of in nginx config

This commit is contained in:
Augustin Trancart 2024-03-08 23:05:47 +01:00
parent a5db8cae03
commit 5fa2133d68

View file

@ -25,7 +25,7 @@ location @diaspora {
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https; proxy_set_header X-Forwarded-Proto https;
proxy_set_header Host $http_host; proxy_set_header Host $host;
proxy_redirect off; proxy_redirect off;
proxy_pass http://unix:/run/__NAME__/diaspora.sock; proxy_pass http://unix:/run/__NAME__/diaspora.sock;