1. The problem I’m having:
Caddy runs on my Windows host as exe file.
I have Docker running and in Docker I have Wordpress from docker hub running.
Wordpress is exposed through port 8082 and I have made a reverse proxy in my caddyfile for it. But when I try to open det site it gives an ERR_SSL_PROTOCOL_ERROR error
2. Error messages and/or full log output:
ERR_SSL_PROTOCOL_ERROR
3. Caddy version:
v2.8.0
4. How I installed and ran Caddy:
a. System environment:
Windows exe file running as serverice.
b. Command:
caddy.exe run
d. My complete Caddy config:
{
# General Options
log default {
output file logs/system.log
format json
level debug
}
admin :2019
# TLS Options
email hostmaster@guldager.one
# Server Options
servers {
}
}
# ----> Hostede sider start <----
guldager.one, www.guldager.one {
encode gzip
root * guldager/
php_fastcgi 127.0.0.1:9000
file_server {
index index.php
}
log {
output file logs/guldager.access.log
format json {
time_local
}
}
}
xn--lovliggr-c5a.nu, www.xn--lovliggr-c5a.nu {
encode gzip
root * lovliggor/
php_fastcgi 127.0.0.1:9000
file_server
log {
output file logs/lovlig.access.log
format json {
time_local
}
}
}
# ----> Hostede sider slut <----
# ----> Reverse Proxy sider start <----
unifi.guldager.one {
encode gzip
reverse_proxy 10.0.0.1
log {
output file logs/unifi.access.log
format json {
time_local
}
}
}
wp.xn--lovliggr-c5a.nu {
encode gzip
reverse_proxy 10.0.0.2:8082
log {
output file logs/wp-lovlig.access.log
format json {
time_local
}
}
}
# ----> Reverse Proxy sider slut <----