Skip to content

Commit

Permalink
build(Caddyfile): Add rewrite config
Browse files Browse the repository at this point in the history
  • Loading branch information
indes committed Dec 10, 2018
1 parent de46d99 commit e979eee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ root /srv/app/public
gzip
fastcgi / 127.0.0.1:9000 php

rewrite {
to {path} {path}/ /index.php?{query}
}
log stdout
errors stdout
on startup php-fpm

0 comments on commit e979eee

Please sign in to comment.