First commit
This commit is contained in:
25
roles/nginx/templates/vhosts/r.mateu.be.conf.j2
Normal file
25
roles/nginx/templates/vhosts/r.mateu.be.conf.j2
Normal file
@@ -0,0 +1,25 @@
|
||||
server {
|
||||
listen *:443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
server_name r.mateu.be perso.nintendojo.fr perso.libertus.eu;
|
||||
access_log /var/log/nginx/r.mateu.be.access.log combined_port;
|
||||
error_log /var/log/nginx/r.mateu.be.error.log;
|
||||
ssl_certificate /etc/x509/r.mateu.be/fullchain.cer;
|
||||
ssl_certificate_key /etc/x509/r.mateu.be/r.mateu.be.key;
|
||||
|
||||
root /srv/http/r.mateu.be/;
|
||||
|
||||
location / {
|
||||
autoindex on;
|
||||
}
|
||||
|
||||
location ~ ^/~mortal/(.*)$ {
|
||||
return 301 https://r.mateu.be/$1;
|
||||
}
|
||||
|
||||
location ~ ^/~clement\.veret/(.*)$ {
|
||||
return 301 https://r.mateu.be/$1;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user