summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorroot@culturestrings <root@culturestrings>2020-05-18 09:01:10 +0000
committerroot@culturestrings <root@culturestrings>2020-05-18 09:03:31 +0000
commit4b17e9f6360970301bbd645a214d0402d015fa01 (patch)
treeb8c23d10df667e0462a890bba1dc90504a21665f /public
parent8f5160bf28a3c4e8e61425ab627ea05dfffd8943 (diff)
downloadculturestrings-4b17e9f6360970301bbd645a214d0402d015fa01.tar.bz2
culturestrings-4b17e9f6360970301bbd645a214d0402d015fa01.tar.xz
web: virtual hosts: added culturestrings.org.
Diffstat (limited to 'public')
-rw-r--r--public/fs/etc/nginx/vhosts.d/culturestrings.org.conf27
-rw-r--r--public/fs/etc/nginx/vhosts.d/typography.culturestrings.org.conf21
-rw-r--r--public/fs/etc/nginx/vhosts.d/www.culturestrings.org.conf27
3 files changed, 75 insertions, 0 deletions
diff --git a/public/fs/etc/nginx/vhosts.d/culturestrings.org.conf b/public/fs/etc/nginx/vhosts.d/culturestrings.org.conf
new file mode 100644
index 0000000..977d450
--- /dev/null
+++ b/public/fs/etc/nginx/vhosts.d/culturestrings.org.conf
@@ -0,0 +1,27 @@
+server {
+ listen [::]:80;
+ server_name culturestrings.org;
+ return 301 https://$server_name$request_uri;
+}
+
+server {
+ listen [::]:443;
+ server_name culturestrings.org;
+
+ location /typography {
+ root /srv/www/htdocs/$host;
+ fancyindex on;
+ ssi on;
+ }
+
+ location / {
+ root /srv/www/htdocs/$host/;
+ index index.html index.htm;
+ 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/typography.culturestrings.org.conf b/public/fs/etc/nginx/vhosts.d/typography.culturestrings.org.conf
new file mode 100644
index 0000000..f40f4f0
--- /dev/null
+++ b/public/fs/etc/nginx/vhosts.d/typography.culturestrings.org.conf
@@ -0,0 +1,21 @@
+server {
+ listen [::]:80;
+ server_name typography.culturestrings.org;
+ return 301 https://$server_name$request_uri;
+}
+
+server {
+ listen [::]:443;
+ server_name typography.culturestrings.org;
+
+ location / {
+ root /srv/www/htdocs/culturestrings.org/typography;
+ 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/www.culturestrings.org.conf b/public/fs/etc/nginx/vhosts.d/www.culturestrings.org.conf
new file mode 100644
index 0000000..756bcb0
--- /dev/null
+++ b/public/fs/etc/nginx/vhosts.d/www.culturestrings.org.conf
@@ -0,0 +1,27 @@
+server {
+ listen [::]:80;
+ server_name www.culturestrings.org;
+ return 301 https://$server_name$request_uri;
+}
+
+server {
+ listen [::]:443;
+ server_name www.culturestrings.org;
+
+ location /typography {
+ root /srv/www/htdocs/$host;
+ fancyindex on;
+ ssi on;
+ }
+
+ location / {
+ root /srv/www/htdocs/$host/;
+ index index.html index.htm;
+ 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;
+}