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

Create nginx.conf-nosub

This commit is contained in:
abeudin 2014-01-10 15:18:46 +01:00
parent c115f70dcf
commit 42fe23724c

9
conf/nginx.conf-nosub Normal file
View file

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