Fix caddy config, trailing slash, and service protocol

This commit is contained in:
2026-05-12 22:00:19 +02:00
parent 1402fbb6aa
commit b0dbe84ba2
3 changed files with 4 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
git.melosh.tech { :80 {
reverse_proxy https://pokerogue.net/ { reverse_proxy https://pokerogue.net {
header_up Host {upstream_hostport} header_up Host pokerogue.net
header_up X-Real-IP {remote_host} header_up X-Real-IP {remote_host}
} }
} }

View File

@@ -1,5 +1,3 @@
FROM docker.io/caddy:2-alpine FROM docker.io/caddy:2-alpine
COPY ./Caddyfile /etc/caddy/Caddyfile COPY ./Caddyfile /etc/caddy/Caddyfile
CMD [ "caddy", "run" ]

View File

@@ -9,7 +9,7 @@ spec:
type: ClusterIP type: ClusterIP
ports: ports:
- name: douwsky-proxy - name: douwsky-proxy
protocol: protocol: TCP
port: 80 port: 80
targetPort: 80 targetPort: 80
--- ---