1. Caddy version (caddy version
):
2.4.5
2. How I run Caddy:
a. System environment:
ubuntu, docker, dockstarter
b. Command:
docker restart caddy
c. Service/unit/compose file:
version: "3.7"
services:
caddy:
image: caddy
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- $PWD/Caddyfile:/etc/caddy/Caddyfile
- caddy_data:/data
- caddy_config:/config
volumes:
caddy_data:
external: true
caddy_config:
networks:
default:
external: true
name: customnetwork
d. My complete Caddyfile or JSON config:
192.168.0.4 {
reverse_proxy bitwarden
}
3. The problem I’m having:
I have a VPS setup on oracle cloud which I use wireguard into. I believe what I am trying to do is setup local https? I also have pihole so I can get vanity names in my /etc/hosts.
4. Error messages and/or full log output:
{“level”:“info”,“ts”:1636298041.4719021,“logger”:“tls.obtain”,“msg”:“acquiring lock”,“identifier”:“192.168.0.4”}
{“level”:“info”,“ts”:1636298041.4733467,“logger”:“tls”,“msg”:“finished cleaning storage units”}
{“level”:“info”,“ts”:1636298041.4760349,“logger”:“tls.obtain”,“msg”:“lock acquired”,“identifier”:“192.168.0.4”}
{“level”:“info”,“ts”:1636298041.4788804,“logger”:“tls.obtain”,“msg”:“certificate obtained successfully”,“identifier”:“192.168.0.4”}
{“level”:“info”,“ts”:1636298041.478903,“logger”:“tls.obtain”,“msg”:“releasing lock”,“identifier”:“192.168.0.4”}
{“level”:“warn”,“ts”:1636298041.4792109,“logger”:“tls”,“msg”:“stapling OCSP”,“error”:“no OCSP stapling for [192.168.0.4]: no OCSP server specified in certificate”}
{“level”:“info”,“ts”:1636298041.4719021,“logger”:“tls.obtain”,“msg”:“acquiring lock”,“identifier”:“192.168.0.4”}
{“level”:“info”,“ts”:1636298041.4733467,“logger”:“tls”,“msg”:“finished cleaning storage units”}
{“level”:“info”,“ts”:1636298041.4760349,“logger”:“tls.obtain”,“msg”:“lock acquired”,“identifier”:“192.168.0.4”}
{“level”:“info”,“ts”:1636298041.4788804,“logger”:“tls.obtain”,“msg”:“certificate obtained successfully”,“identifier”:“192.168.0.4”}
{“level”:“info”,“ts”:1636298041.478903,“logger”:“tls.obtain”,“msg”:“releasing lock”,“identifier”:“192.168.0.4”}
{“level”:“warn”,“ts”:1636298041.4792109,“logger”:“tls”,“msg”:“stapling OCSP”,“error”:“no OCSP stapling for [192.168.0.4]: no OCSP server specified in certificate”}
#This site can’t be reached
192.168.0.4 took too long to respond.
5. What I already tried:
I tried following the guides in relevant resources no luck