bundlewrap/bundles/nginx/files/port80.conf
Franziska Kunsmann 8eeaabf615
All checks were successful
bundlewrap/pipeline/head This commit looks good
bundles/nginx: use http 308 for https redirect
basically "go away. nothing's here. use https forever."
2020-10-30 15:24:24 +01:00

13 lines
281 B
Text

server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
location / {
return 308 https://$host$request_uri;
}
location /.well-known/acme-challenge/ {
alias /var/lib/dehydrated/acme-challenges/;
}
}