15 lines
198 B
Caddyfile
15 lines
198 B
Caddyfile
:8088 {
|
|
root * /var/www/html/public
|
|
|
|
encode gzip
|
|
|
|
php_fastcgi 127.0.0.1:9000
|
|
|
|
file_server
|
|
|
|
@notStatic {
|
|
not file {path} {path}/
|
|
}
|
|
rewrite @notStatic /index.php
|
|
}
|