Closed ikifar2012 closed 5 years ago
I used this command to build the image:
docker build --build-arg \ plugins=cloudflare,git \ github.com/abiosoft/caddy-docker.git#:php
My Caddyfile:
https://www.glennsteplock.ca { root /var/www gzip fastcgi / 127.0.0.1:9000 php tls { dns cloudflare } rewrite { if {path} not_match ^\/wp-admin to {path} {path}/ /index.php?_url={uri} } log stdout }
This is the error I get in the log:
dial tcp 127.0.0.1:9000: connect: connection refused
You haven't started php-fpm. Add this line to your Caddyfile below the fastcgi line like it is in the default Caddyfile.
on startup php-fpm7
Thank you I got it working
I used this command to build the image:
My Caddyfile:
This is the error I get in the log: