bundlewrap/data/nginx/message.conf
2023-07-05 18:12:37 +02:00

13 lines
378 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;
location / {
default_type text/html;
return 200 "<!DOCTYPE html><h2>${title}</h2>${message}\n";
}
}