1. The problem I’m having:
I'm trying to reach my home server services throw port 9000 of my duckdns domain.
2. Error messages and/or full log output:
Error on loading page: 404 - Not Found
3. Caddy version:
v.2.7.5.
4. How I installed and ran Caddy:
From Official Caddy Repo
a. System environment:
Caddy installed in Docker Container
b. Command:
caddy:
container_name: caddy
image: caddy:latest
volumes:
- /home/pi/addons/caddy/Caddyfile:/etc/caddy/Caddyfile
- /mnt/data-ssd/caddy_data:/data
environment:
- TZ=Europe/Rome
restart: always
ports:
#- 80:80
#- 443:443
- 9000:9000
d. My complete Caddy config:
(https_header) {
header {
Strict-Transport-Security "max-age=31536000; includeSubdomains"
X-XSS-Protection "1; mode=block"
X-Content-Type-Options "nosniff"
X-Frame-Options "SAMEORIGIN"
Referrer-Policy "same-origin"
}
}
https://mysite.duckdns.org {
import https_header
reverse_proxy http://localipAddress:6443
}
https://mysite.duckdns.org:9000 {
import https_header
handle_path /homeassistant/* {
reverse_proxy http://localipAddress:8123
}
handle_path /portainer/* {
reverse_proxy http://localipAddress:9443
}
handle_path /appdaemon/* {
reverse_proxy http://localipAddress:5050
}
handle_path /* {
reverse_proxy http://localipAddress:7575
}
}
5. Links to relevant resources:
system
(system)
Closed
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.