1. Caddy version (caddy version
):
v2.1.1 h1:X9k1+ehZPYYrSqBvf/ocUgdLSRIuiNiMo7CvyGUQKeA=
2. How I run Caddy:
By creating a caddy.service
file and then using systemd
. This is the configuration.
[Unit]
Description=Caddy
Documentation=https://caddyserver.com/docs/
After=network.target
[Service]
User=curiouslearn
Group=curiouslearn
ExecStart=/usr/bin/caddy run --environ --config /home/curiouslearn/Caddyfile
ExecReload=/usr/bin/caddy reload --config /home/curiouslearn/Caddyfile
TimeoutStopSec=5s
LimitNOFILE=1048576
LimitNPROC=512
PrivateTmp=true
ProtectSystem=full
AmbientCapabilities=CAP_NET_BIND_SERVICE
[Install]
WantedBy=multi-user.target
a. System environment:
ubuntu 18.04
b. Command:
sudo systemctl start caddy.service
c. Service/unit/compose file:
[Unit]
Description=Caddy
Documentation=https://caddyserver.com/docs/
After=network.target
[Service]
User=curiouslearn
Group=curiouslearn
ExecStart=/usr/bin/caddy run --environ --config /home/curiouslearn/Caddyfile
ExecReload=/usr/bin/caddy reload --config /home/curiouslearn/Caddyfile
TimeoutStopSec=5s
LimitNOFILE=1048576
LimitNPROC=512
PrivateTmp=true
ProtectSystem=full
AmbientCapabilities=CAP_NET_BIND_SERVICE
[Install]
WantedBy=multi-user.target
d. My complete Caddyfile or JSON config:
##------------------------------------------------------------------
## New version of mystudybook
mystudybook.app {
reverse_proxy localhost:19000
}
www.mystudybook.app {
reverse_proxy localhost:19000
}
##------------------------------------------------------------------
test.mystudybook.app {
reverse_proxy localhost:5000
}
multiply.mystudybook.app {
reverse_proxy localhost:13000
}
3. The problem I’m having:
I know this says that “Do not use Web Browsers”. But that is the problem I am having.
I am unable to connect to my website using my Brave webbrowser as well as my Firefox browser.
I am getting the error:
Your connection is not private
Attackers might be trying to steal your information from mystudybook.app (for example, passwords, messages, or credit cards). Learn more
NET::ERR_CERT_REVOKED
Can someone please help with how to fix this?
Thank you.
4. Error messages and/or full log output:
5. What I already tried:
I tried stopping and starting the Caddy server and reloading my config. But none of that is helping. Is this a problem with my browsers? They are both up to date.
6. Links to relevant resources:
Can someone please help with how to fix this? I would really appreciate it.
Thank you.