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