bundlewrap/bundles/nginx/files/port80.conf
Franzi 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

14 lines
281 B
Plaintext

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/;
}
}