feat: Added personal website

This commit is contained in:
Lino Silva
2026-04-01 23:31:05 +01:00
parent 06ba9b4688
commit 03865d6f16
39 changed files with 36951 additions and 2 deletions
@@ -47,6 +47,14 @@ http:
tls:
certResolver: cloudflare
website:
rule: "Host(`{{ domain }}`)"
entryPoints:
- https
service: website
tls:
certResolver: cloudflare
# Static services - HTTP to HTTPS redirect
traefik-redirect:
rule: "Host(`traefik.{{ domain }}`)"
@@ -72,6 +80,14 @@ http:
- traefik-https-redirect
service: tinyauth
website-redirect:
rule: "Host(`{{ domain }}`)"
entryPoints:
- http
middlewares:
- traefik-https-redirect
service: website
# Auto-configured services - HTTPS
{% for service_name, config in auto_configure_traefik.items() %}
{% if config.auth_bypass_paths is defined %}
@@ -152,6 +168,12 @@ http:
servers:
- url: "http://{{ tinyauth_host }}:{{ tinyauth_port }}"
website:
loadBalancer:
passHostHeader: true
servers:
- url: "http://{{ website_host }}:{{ website_port }}"
# Auto-configured services
{% for service_name, config in auto_configure_traefik.items() %}
{{ service_name }}: