GJSchaller
Contributor
- Joined
- Feb 10, 2021
- Messages
- 100
With the help of DanB35, I was able to set up a Caddy jail and reverse proxy on my TrueNAS. Let's Encrypt works, and I can resolve and view my domain both internally and externally at: https://gjschaller.homeftp.net - so far, so good.
Now, the problematic part - I have three Jails I set up with NAT that I want to proxy to. None of them are behaving. Before I get to the specific errors, here's my Caddyfile:
https://gjschaller.homeftp.net/ - Works fine. Yay!
https://gjschaller.homeftp.net/nextcloud/ - gives a "400 Bad Request" error. (There's no data in this instance, so I don't mind posting about it until it's online - I will secure it more thoroughly before I move any data into it.)
https://gjschaller.homeftp.net/netdata/ - "File does not exist, or is not accessible: /usr/local/share/netdata/web/netdata/"
https://gjschaller.homeftp.net/transmission/ - gives a 409: Conflict error after typing in my username and password for Transmission.
I can tackle them one at a time. I didn't want to clutter the main Caddy thread with all three of these issues - if it will help, I can consolidate and post the solutions there once they're hashed out here.
Thank you for any help you can offer!
Now, the problematic part - I have three Jails I set up with NAT that I want to proxy to. None of them are behaving. Before I get to the specific errors, here's my Caddyfile:
{
email gjschaller@gmail.com
}
gjschaller.homeftp.net {
root * /usr/local/www/html
file_server
reverse_proxy /nextcloud* 10.0.0.253:8283
reverse_proxy /netdata* 10.0.0.253:19999
reverse_proxy /transmission* 10.0.0.253:9091
}
https://gjschaller.homeftp.net/ - Works fine. Yay!
https://gjschaller.homeftp.net/nextcloud/ - gives a "400 Bad Request" error. (There's no data in this instance, so I don't mind posting about it until it's online - I will secure it more thoroughly before I move any data into it.)
https://gjschaller.homeftp.net/netdata/ - "File does not exist, or is not accessible: /usr/local/share/netdata/web/netdata/"
https://gjschaller.homeftp.net/transmission/ - gives a 409: Conflict error after typing in my username and password for Transmission.
I can tackle them one at a time. I didn't want to clutter the main Caddy thread with all three of these issues - if it will help, I can consolidate and post the solutions there once they're hashed out here.
Thank you for any help you can offer!