mirror of
https://github.com/caddyserver/caddy.git
synced 2025-07-31 15:08:42 -04:00
Remove reference to very old versions
parent
2e479f6003
commit
79798c516f
@ -19,7 +19,7 @@ Sample error:
|
||||
```
|
||||
[ERROR 502 /index.php] malformed MIME header line: Primary script unknown
|
||||
```
|
||||
Update to Caddy 0.8.1. This will either fix it or get you a more descriptive error message.
|
||||
Update to latst version of Caddy. This will either fix it or get you a more descriptive error message.
|
||||
On Unix-like systems this issue can also occur because Caddy and php-fpm aren't running under the same user/group. Make sure you run them under the same user/group and give proper permissions to the document root folder (chmod/chown). Also check your `chroot` setting in the php-fpm configs (pool.d/www.conf).
|
||||
|
||||
## Connection refused
|
||||
@ -56,7 +56,7 @@ listen.group = caddy
|
||||
```
|
||||
|
||||
## Rewrite
|
||||
PHP frameworks generally needs rewrite; either as a requirement or for clean urls. Update to Caddy 0.8.1, the version that introduced more powerful rewrites, then [read the docs](https://caddyserver.com/docs/rewrite).
|
||||
PHP frameworks generally need rewrites. Caddy has powerful rewrite - [read the docs](https://caddyserver.com/docs/rewrite).
|
||||
|
||||
The format below would satisfy some of the popular frameworks.
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user