diff --git a/README.md b/README.md index 5790371..1e04eb6 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # wireguard-k8s-ingress [![Ansible](https://github.com/Naman1997/wireguard-k8s-ingress/actions/workflows/main.yml/badge.svg)](https://github.com/Naman1997/wireguard-k8s-ingress/actions/workflows/main.yml) + [![GitHub license](https://img.shields.io/github/license/Naereen/StrapDown.js.svg)](https://github.com/Naman1997/proxmox-terraform-template-k8s/blob/main/LICENSE) ## Objective diff --git a/templates/caddyfile.template b/templates/caddyfile.template index 7bbbcc7..c857a61 100644 --- a/templates/caddyfile.template +++ b/templates/caddyfile.template @@ -2,6 +2,10 @@ email {{ ssl_email }} } -{{ duckdns_domain }} { +http://{{ duckdns_domain }} { + https://{{ duckdns_domain }} permanent +} + +https://{{ duckdns_domain }} { reverse_proxy http://10.20.0.2:80 } \ No newline at end of file diff --git a/templates/ingress/nginx-controller.template b/templates/ingress/nginx-controller.template index 00016f2..4ddcf7d 100644 --- a/templates/ingress/nginx-controller.template +++ b/templates/ingress/nginx-controller.template @@ -3,7 +3,6 @@ controller: enabled: true ports: http: 80 - https: 443 kind: DaemonSet service: