summaryrefslogtreecommitdiff
path: root/public/fs
diff options
context:
space:
mode:
authorroot@culturestrings <root@culturestrings>2020-05-18 09:09:09 +0000
committerroot@culturestrings <root@culturestrings>2020-05-18 09:09:09 +0000
commit4892b54da58575b42286a0433da84c9c0cd31f91 (patch)
treef3d483507597132c0e5ad4da279171a253ff7a63 /public/fs
parent05fb434cc68cf54fa24e1a837106eb473924d67b (diff)
downloadculturestrings-4892b54da58575b42286a0433da84c9c0cd31f91.tar.bz2
culturestrings-4892b54da58575b42286a0433da84c9c0cd31f91.tar.xz
web: virtual hosts: added mirror.midipix.org.
Diffstat (limited to 'public/fs')
-rw-r--r--public/fs/etc/nginx/vhosts.d/mirror.midipix.org.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/public/fs/etc/nginx/vhosts.d/mirror.midipix.org.conf b/public/fs/etc/nginx/vhosts.d/mirror.midipix.org.conf
new file mode 100644
index 0000000..7a5c1b9
--- /dev/null
+++ b/public/fs/etc/nginx/vhosts.d/mirror.midipix.org.conf
@@ -0,0 +1,21 @@
+server {
+ listen [::]:80;
+ server_name mirror.midipix.org;
+ return 301 https://$server_name$request_uri;
+}
+
+server {
+ listen [::]:443;
+ server_name mirror.midipix.org;
+
+ location / {
+ root /srv/www/htdocs/midipix.org/mirror;
+ 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;
+}