python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to get correct $_SERVER['SERVER_PORT'] and $_SERVER['HTTPS'] values in php when using reverse_proxy with caddy in docker
I am trying to move my local testing site into a docker container for ease of use when changing between machines. I am using caddy within docker so that I can connect to the locally hosted site via ht...
Henry Howeson
Votes: 0
Answers: 1
Caddy2: how to set MIME type and Content-disposition for a file extension?
What is the way to configure/override how certain MIME types are handled?
For example, with the default configuration a python file (.py) is served with Content-disposition": attachment which ope...
ccpizza
Votes: 0
Answers: 1
Caddy file server browse not working when I root a specific directory
Here is my Caddyfile:
aruiplex.com {
encode gzip
file_server /files/* {
root /files
browse
}
reverse_proxy /api/* localhost:7022
...
Aruix
Votes: 0
Answers: 1
SocketIO: Websocket connection failed with Caddy File on Production Server
I want to connect my SocketIO Client with the Backend. But if i use my Caddy File the Connection fails:
Caddyfile:
www.XXX.XXX:443 {
tls XXX.XXX@XXX.de
root * /srv
route {
reverse_...
SilasUe
Votes: 0
Answers: 1