Externalize role

This commit is contained in:
Adrien Reslinger 2018-10-08 19:35:07 +02:00
commit 33760a4e3a
Signed by: adrien
GPG key ID: DA7B27055C66D6DE
11 changed files with 222 additions and 0 deletions

View file

@ -0,0 +1,15 @@
server {
listen 80 default;
server_name _;
location /.well-known {
alias /var/www/.well-known/;
}
#return 301 https://$host$request_uri;
location / {
if ($scheme = "http") {
rewrite ^ https://$http_host$request_uri? permanent;
}
}
}