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:
parent
c115f70dcf
commit
42fe23724c
1 changed files with 9 additions and 0 deletions
9
conf/nginx.conf-nosub
Normal file
9
conf/nginx.conf-nosub
Normal 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;
|
||||
}
|
Loading…
Add table
Reference in a new issue