Blame public/fs/etc/nginx/vhosts.d/dl.midipix.org.conf
|
root@culturestrings |
d273f2 |
server {
|
|
root@culturestrings |
d273f2 |
listen [::]:80;
|
|
root@culturestrings |
d273f2 |
server_name dl.midipix.org;
|
|
root@culturestrings |
d273f2 |
return 301 https://$server_name$request_uri;
|
|
root@culturestrings |
d273f2 |
}
|
|
root@culturestrings |
d273f2 |
|
|
root@culturestrings |
d273f2 |
server {
|
|
root@culturestrings |
d273f2 |
listen [::]:443;
|
|
root@culturestrings |
d273f2 |
server_name dl.midipix.org;
|
|
root@culturestrings |
d273f2 |
|
|
root@culturestrings |
d273f2 |
location / {
|
|
root@culturestrings |
d273f2 |
root /srv/www/htdocs/midipix.org/dl;
|
|
root@culturestrings |
d273f2 |
fancyindex on;
|
|
root@culturestrings |
d273f2 |
ssi on;
|
|
root@culturestrings |
d273f2 |
}
|
|
root@culturestrings |
d273f2 |
|
|
root@culturestrings |
e9e364 |
ssl_certificate /srv/webroot/midipix.org/ssl/fullchain.pem;
|
|
root@culturestrings |
e9e364 |
ssl_certificate_key /srv/webroot/midipix.org/ssl/privkey.pem;
|
|
root@culturestrings |
e9e364 |
ssl_trusted_certificate /srv/webroot/midipix.org/ssl/chain.pem;
|
|
root@culturestrings |
d273f2 |
|
|
root@culturestrings |
d273f2 |
include conf.d/ssl_params;
|
|
root@culturestrings |
d273f2 |
}
|