From 840fc7a3d827fa6f0a3418b03109b737f15afd4b Mon Sep 17 00:00:00 2001 From: Viyurz <128215328+Viyurz@users.noreply.github.com> Date: Sun, 7 Jan 2024 11:20:31 +0100 Subject: [PATCH] NGINX rp: Added download server. --- nginx-rp/reverse-proxy.conf | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/nginx-rp/reverse-proxy.conf b/nginx-rp/reverse-proxy.conf index 0a9959b..c559135 100644 --- a/nginx-rp/reverse-proxy.conf +++ b/nginx-rp/reverse-proxy.conf @@ -47,6 +47,17 @@ server { } +# Downloads +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + + server_name dl.viyurz.fr; + + root /var/www/html; +} + + # Homepage server { listen 443 ssl http2;