Blame public/fs/etc/nginx/vhosts.d/culturestrings.org.conf
|
root@culturestrings |
4b17e9 |
server {
|
|
root@culturestrings |
4b17e9 |
listen [::]:80;
|
|
root@culturestrings |
4b17e9 |
server_name culturestrings.org;
|
|
root@culturestrings |
4b17e9 |
return 301 https://$server_name$request_uri;
|
|
root@culturestrings |
4b17e9 |
}
|
|
root@culturestrings |
4b17e9 |
|
|
root@culturestrings |
4b17e9 |
server {
|
|
root@culturestrings |
4b17e9 |
listen [::]:443;
|
|
root@culturestrings |
4b17e9 |
server_name culturestrings.org;
|
|
root@culturestrings |
4b17e9 |
|
|
root@culturestrings |
4b17e9 |
location /typography {
|
|
root@culturestrings |
4b17e9 |
root /srv/www/htdocs/$host;
|
|
root@culturestrings |
4b17e9 |
fancyindex on;
|
|
root@culturestrings |
4b17e9 |
ssi on;
|
|
root@culturestrings |
4b17e9 |
}
|
|
root@culturestrings |
4b17e9 |
|
|
root@culturestrings |
4b17e9 |
location / {
|
|
root@culturestrings |
4b17e9 |
root /srv/www/htdocs/$host/;
|
|
root@culturestrings |
4b17e9 |
index index.html index.htm;
|
|
root@culturestrings |
4b17e9 |
ssi on;
|
|
root@culturestrings |
4b17e9 |
}
|
|
root@culturestrings |
4b17e9 |
|
|
root@culturestrings |
4b17e9 |
ssl_certificate /etc/nginx/certs.d/culturestrings.org/ssl/fullchain.pem;
|
|
root@culturestrings |
4b17e9 |
ssl_certificate_key /etc/nginx/certs.d/culturestrings.org/ssl/privkey.pem;
|
|
root@culturestrings |
4b17e9 |
|
|
root@culturestrings |
4b17e9 |
include conf.d/ssl_params;
|
|
root@culturestrings |
4b17e9 |
}
|