1. The problem I’m having:
I want to handle requests coming to subdomain.example.com to localhost:8080/subpath. How can I migrate this?
The previous apache configuration was as follows:
<VirtualHost *:80>
ServerName subdomain.example.com
ProxyPreserveHost On
ProxyPassReverse / http://localhost:8080/subpath/
ProxyPass / http://localhost:8080/subpath/
2. Error messages and/or full log output:
PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.
3. Caddy version:
v2.8.4
4. How I installed and ran Caddy:
caddy reload
a. System environment:
windows 11
b. Command:
PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.
c. Service/unit/compose file:
PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.
d. My complete Caddy config:
PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.