NGINX: Readd dl.viyurz.fr (with autoindex) & remove Send.

This commit is contained in:
Viyurz 2024-02-13 19:15:02 +01:00
parent 33c072ba2d
commit 31a3ec56b2

View file

@ -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 # Element
server { server {
listen 443 ssl http2; 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 # Synapse
server { server {
listen 443 ssl http2; listen 443 ssl http2;