works with caddy!

Also add example caddy config
This commit is contained in:
0x617661696c 2018-03-19 04:41:17 +01:00 committed by GitHub
parent 4e4aef01ce
commit a405e92a9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,7 @@
* Apache (PHP 5.6) on Debian 8 Jessie
* Nginx+PHP5-FPM (PHP 5.6) on Debian 8 Jessie
* Apache (PHP 5.6.33 (remi-php56)) on CentOS 6.9
* [Caddy](https://caddyserver.com/) + php7.0-fpm on Ubuntu 16.04.4 LTS
# Install:
@ -89,6 +90,18 @@ server{
}
```
Or something like this for usage with caddy:
```
uguu.se {
fastcgi / /var/run/php/php7.0-fpm.sock php
root /home/neku/www
}
a.uguu.se {
root /home/neku/www/files
}
```
# Using the API