Blame public/fs/etc/nginx/vhosts.d/dl.foss21.org.conf
|
root@culturestrings |
d273f2 |
server {
|
|
root@culturestrings |
d273f2 |
listen [::]:80;
|
|
root@culturestrings |
d273f2 |
server_name dl.foss21.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.foss21.org;
|
|
root@culturestrings |
d273f2 |
|
|
root@culturestrings |
d273f2 |
location / {
|
|
root@culturestrings |
d273f2 |
root /srv/www/htdocs/foss21.org/dl;
|
|
root@culturestrings |
d273f2 |
fancyindex on;
|
|
root@culturestrings |
d273f2 |
ssi on;
|
|
root@culturestrings |
d273f2 |
}
|
|
root@culturestrings |
d273f2 |
|
|
root@culturestrings |
41c9d2 |
ssl_certificate /home/webroot/foss21.org/ssl/fullchain.pem;
|
|
root@culturestrings |
41c9d2 |
ssl_certificate_key /home/webroot/foss21.org/ssl/privkey.pem;
|
|
root@culturestrings |
41c9d2 |
ssl_trusted_certificate /home/webroot/foss21.org/ssl/chain.pem;
|
|
root@culturestrings |
d273f2 |
|
|
root@culturestrings |
d273f2 |
include conf.d/ssl_params;
|
|
root@culturestrings |
d273f2 |
}
|