Fix caddy config, trailing slash, and service protocol
This commit is contained in:
@@ -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}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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" ]
|
|
||||||
|
|||||||
@@ -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
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user