1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/etherpad_ynh.git synced 2024-09-03 18:36:10 +02:00

[fix] Do not force HTTPS (done by SSOwat)

This commit is contained in:
Alexis Gavoty 2014-07-20 14:09:59 +02:00
parent 3e4e814bbb
commit d0e8162272

View file

@ -1,9 +1,6 @@
location / { location / {
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
proxy_pass http://localhost:9001/; proxy_pass http://localhost:9001/;
proxy_set_header Host $host; proxy_set_header Host $host;
# be carefull, this line doesn't override any proxy_buffering on set in a conf.d/file.conf # be careful, this line doesn't override any proxy_buffering on set in a conf.d/file.conf
proxy_buffering off; proxy_buffering off;
} }