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