NGINX: Readd dl.viyurz.fr (with autoindex) & remove Send.
This commit is contained in:
parent
33c072ba2d
commit
31a3ec56b2
1 changed files with 12 additions and 23 deletions
|
@ -47,6 +47,18 @@ server {
|
|||
}
|
||||
|
||||
|
||||
# Downloads
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
server_name dl.viyurz.fr;
|
||||
|
||||
root /var/www/html;
|
||||
autoindex on;
|
||||
}
|
||||
|
||||
|
||||
# Element
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
|
@ -124,29 +136,6 @@ server {
|
|||
}
|
||||
|
||||
|
||||
# Send
|
||||
upstream send {
|
||||
server localhost:1443;
|
||||
}
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
server_name send.viyurz.fr;
|
||||
|
||||
location / {
|
||||
proxy_pass http://send;
|
||||
|
||||
proxy_ignore_headers X-Accel-Expires Expires Cache-Control;
|
||||
|
||||
# WebSocket
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $connection_upgrade;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# Synapse
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
|
|
Loading…
Reference in a new issue