From 07947eaedd0f4563a74ded73966f87a3f09d9eb5 Mon Sep 17 00:00:00 2001 From: "root@culturestrings" Date: Mon, 18 May 2020 09:02:44 +0000 Subject: web: virtual hosts: added srcbase.midipix.org and srcbase.foss21.org. --- .../fs/etc/nginx/vhosts.d/srcbase.foss21.org.conf | 21 +++++++++++++++++++++ .../fs/etc/nginx/vhosts.d/srcbase.midipix.org.conf | 21 +++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 public/fs/etc/nginx/vhosts.d/srcbase.foss21.org.conf create mode 100644 public/fs/etc/nginx/vhosts.d/srcbase.midipix.org.conf (limited to 'public') diff --git a/public/fs/etc/nginx/vhosts.d/srcbase.foss21.org.conf b/public/fs/etc/nginx/vhosts.d/srcbase.foss21.org.conf new file mode 100644 index 0000000..4490575 --- /dev/null +++ b/public/fs/etc/nginx/vhosts.d/srcbase.foss21.org.conf @@ -0,0 +1,21 @@ +server { + listen [::]:80; + server_name srcbase.foss21.org; + return 301 https://$server_name$request_uri; +} + +server { + listen [::]:443; + server_name srcbase.foss21.org; + + location / { + root /srv/www/htdocs/foss21.org/srcbase; + fancyindex on; + ssi on; + } + + ssl_certificate /etc/nginx/certs.d/culturestrings.org/ssl/fullchain.pem; + ssl_certificate_key /etc/nginx/certs.d/culturestrings.org/ssl/privkey.pem; + + include conf.d/ssl_params; +} diff --git a/public/fs/etc/nginx/vhosts.d/srcbase.midipix.org.conf b/public/fs/etc/nginx/vhosts.d/srcbase.midipix.org.conf new file mode 100644 index 0000000..b60e507 --- /dev/null +++ b/public/fs/etc/nginx/vhosts.d/srcbase.midipix.org.conf @@ -0,0 +1,21 @@ +server { + listen [::]:80; + server_name srcbase.midipix.org; + return 301 https://$server_name$request_uri; +} + +server { + listen [::]:443; + server_name srcbase.midipix.org; + + location / { + root /srv/www/htdocs/midipix.org/srcbase; + fancyindex on; + ssi on; + } + + ssl_certificate /etc/nginx/certs.d/culturestrings.org/ssl/fullchain.pem; + ssl_certificate_key /etc/nginx/certs.d/culturestrings.org/ssl/privkey.pem; + + include conf.d/ssl_params; +} -- cgit v1.2.3