nginx-rp fix padding + add collabora
This commit is contained in:
parent
242e584101
commit
b768b2a095
2 changed files with 24 additions and 7 deletions
|
@ -150,6 +150,23 @@ server {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Collabora
|
||||||
|
server {
|
||||||
|
listen 443 ssl http2;
|
||||||
|
listen [::]:443 ssl http2;
|
||||||
|
|
||||||
|
server_name collabora.viyurz.fr;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_pass http://localhost:9980;
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection "Upgrade";
|
||||||
|
proxy_read_timeout 36000s;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Homepage
|
# Homepage
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
|
@ -184,7 +201,7 @@ server {
|
||||||
return 200 '{ "m.homeserver": { "base_url": "https://matrix.viyurz.fr" } }';
|
return 200 '{ "m.homeserver": { "base_url": "https://matrix.viyurz.fr" } }';
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
return 308 https://www.viyurz.fr$request_uri;
|
return 308 https://www.viyurz.fr$request_uri;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue