21 lines
422 B
Caddyfile
21 lines
422 B
Caddyfile
|
localhost:8080, http://laravel-driver.dev, http://driver.dev {
|
||
|
|
||
|
startup C:\php\php-cgi.exe -b 127.0.0.1:9000 &
|
||
|
|
||
|
gzip
|
||
|
log ../storage/logs/access.log
|
||
|
errors ../storage/logs/error.log
|
||
|
|
||
|
ext .php
|
||
|
|
||
|
rewrite {
|
||
|
if {path} not_match \.(php|css)
|
||
|
to {path} {path}/ /index.php{path}?{query}
|
||
|
}
|
||
|
|
||
|
fastcgi / 127.0.0.1:9000 {
|
||
|
ext .php
|
||
|
split .php
|
||
|
index index.php
|
||
|
}
|
||
|
}
|