bundlewrap/data/nginx/redirect.conf
2021-11-17 01:13:01 +01:00

11 lines
312 B
Text

server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name ${server_name};
ssl_certificate /var/lib/dehydrated/certs/${server_name}/fullchain.pem;
ssl_certificate_key /var/lib/dehydrated/certs/${server_name}/privkey.pem;
return 302 ${target};
autoindex_exact_size off;
}