Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #cd /etc/caddy/Caddyfile
- example.com {
- root /usr/share/nginx/html
- gzip
- log /var/log/caddy/access.log
- #fastcgi / unix:/var/run/php-fpm/php-fpm.sock php # Fast CGI php interpreter
- #fastcgi / fastcgi / 127.0.0.1:9000 php # Fast CGI php interpreter
- #using with laravel
- fastcgi / unix:/var/run/php-fpm/php-fpm.sock php {
- index index.php
- }
- rewrite {
- to {path} {path}/ /index.php?{query}
- }
- }
Add Comment
Please, Sign In to add comment