1. The problem I’m having:
Hi,
I`m trying to redirect a static url to a file on a server which may change over time.
For example the static url would like like https://update.vncautomotive.com/windowsapp and i would like to redirect to the internal server link which would be https://update.vncautomotive.com/link/YmmJNn8TagKn
The internal link can change each time we release the new windowsapp.
2. Error messages and/or full log output:
3. Caddy version:
v2.10.0 h1:fonubSaQKF1YANl8TXqGcn4IbIRUDdfAkpcsfI/vX5U=
4. How I installed and ran Caddy:
sudo apt install caddy
a. System environment:
Distributor ID: Ubuntu
Description: Ubuntu 24.04.2 LTS
Release: 24.04
Codename: noble
b. Command:
c. Service/unit/compose file:
d. My complete Caddy config:
{
auto_https disable_certs
debug
log {
output file /var/log/caddy/access.log
}
}
https://update.vncautomotive.com:443 {
tls /var/lib/caddy/vnc/vnc.pem /var/lib/caddy/vnc/vnckey.pem
reverse_proxy 172.31.43.94
}