caddyfile Questions

4

Is it possible to use caddy for local development where you have https://mysite.loc and use Caddyfile as reverse proxy to your services running on localhost? My hosts file so I have local mysite.lo...
Spaceman asked 8/8, 2021 at 15:40

1

I'm using PhpStorm to develop a project. I have created a Caddyfile to configure my caddy server. But PhpStorm doesn't format or highlight the code of the Caddyfile. I know that I can change the Fi...
Gurkha asked 13/9, 2021 at 21:23

3

Solved

"By default, Caddy will bind to ports 80 and 443 to serve HTTPS and redirect HTTP to HTTPS." (https://caddyserver.com/docs/automatic-https) How can we change this port? Background: In our setup, ...
Closeknit asked 6/7, 2018 at 11:43

3

I am trying to implement IP whitelist on my Caddy v2 configuration. Something equivalent to NGINX configuration like: allow 1.1.1.1; allow 8.8.8.8; deny all; My current Caddy configuration pretty...
Adios asked 24/2, 2021 at 19:37

2

Solved

I have a config file for Caddy v2 like in below: sentry.mydomain.ru { reverse_proxy sentry:9000 } tasks.mydomain.ru { reverse_proxy taiga-proxy:80 } ain.mydomain.ru { reverse_proxy ain-fronten...
Dad asked 14/7, 2020 at 13:36

2

Project GitHub URL I have just started using caddy. I have made a simple chat application which I am serving using caddy. The WebSockets are served on ws instead of wss by the application, similar...
Tantrum asked 24/7, 2017 at 5:5

0

I'm running Caddy v1 as a reverse proxy and I would like to apply GZIP compression on e.g. JSON responses. I noticed that the gzip Caddy v1 directive only applies on files Caddy serves its self b...
Bainter asked 31/10, 2019 at 12:56

2

I have a website with docker and I use caddy for production. This is my configuration on my Caddyfile mydomain.com { proxy / django:5000 { header_upstream Host {host} header_upstream X-Real-IP ...
Incompetence asked 15/5, 2019 at 7:24

2

I'm trying to setup a Wordpress website with multisite: example.com example.com/fr With the following Caddyfile: example.com:80 { redir https://www.example.com{uri} } www.example.com:80 { r...
Annisannissa asked 20/6, 2016 at 8:33
1

© 2022 - 2024 — McMap. All rights reserved.