[helm] certbot/nginx: add almost working version
This commit is contained in:
parent
f26e4eedb8
commit
52fbf6d61f
10 changed files with 210 additions and 0 deletions
16
apps/nginx-certbot-helm/nginx/http.conf
Normal file
16
apps/nginx-certbot-helm/nginx/http.conf
Normal 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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue