docs
docs copied to clipboard
Add Caddy webserver example
I took a crack at it here in my Webird caddy
branch. I'm sure that its not optimized, tight and sexy yet.
https://github.com/perchlayer/webird/blob/caddy/app/phalcon/common/views/simple/caddy/dev.volt
Here is a response that I received from the forum a while ago. I think that this could help. https://caddy.community/t/i-have-no-idea-how-to-convert-this-nginx-fastcgi-setup-to-caddy/2156/2
I should be able to get to this in the next 3-6 weeks.
@dschissler Well, could you please provide a production ready example for a Phalcon related project? The single module will be enough. So that we can use it as our official recommendation.
Closing in favor of https://github.com/phalcon/docs/issues/2322
this works fine for me
https://example.cc {
gzip
tls /ssl/example.cc/cert.pem /ssl/example.cc/key.pem
root /path/to/phalcon/public
fastcgi / unix:/run/php/php7.3-fpm.sock php
rewrite {
r (.*)
to {path} {path}/ /index.php?_url={1}
}
}