Fix caddy config, trailing slash, and service protocol
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
git.melosh.tech {
|
||||
reverse_proxy https://pokerogue.net/ {
|
||||
header_up Host {upstream_hostport}
|
||||
:80 {
|
||||
reverse_proxy https://pokerogue.net {
|
||||
header_up Host pokerogue.net
|
||||
header_up X-Real-IP {remote_host}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
FROM docker.io/caddy:2-alpine
|
||||
|
||||
COPY ./Caddyfile /etc/caddy/Caddyfile
|
||||
|
||||
CMD [ "caddy", "run" ]
|
||||
|
||||
@@ -9,7 +9,7 @@ spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- name: douwsky-proxy
|
||||
protocol:
|
||||
protocol: TCP
|
||||
port: 80
|
||||
targetPort: 80
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user