1. The problem I’m having:
I have caddy.exe and Caddyfile in C:/Folder/ with Caddy serving a static file index.html from the same folder at port 80. But I want to serve files and folders from drive D:/Folder2/ (on the same port or a different port, whatever is possible). Is there a way to do this without installing a separate Caddy instance in drive D:/Folder2/ having a separate Caddyfile and reverse-proxy it using the first caddy installation? I want single Caddy to do this, is it possible?
I want something like this to happen but this works only in the same drive C.
localhost:80 {
templates
file_server browse
Help please. I’m not an expert.
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:
4. How I installed and ran Caddy:
a. System environment:
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.