[helm] certbot/nginx: add almost working version

This commit is contained in:
Nico Schottelius 2021-06-19 19:58:09 +02:00
commit 52fbf6d61f
10 changed files with 210 additions and 0 deletions

View file

@ -0,0 +1,16 @@
server {
listen *:80;
listen [::]:80;
server_name _;
# Forward for certbot
location /.well-known/acme-challenge/ {
root /usr/share/nginx/html;
}
# Everything else -> ssl
location / {
return 301 https://$host$request_uri;
}
}