Merge pull request #49 from avail/avail-patch-1

works with caddy!
This commit is contained in:
Eric Johansson (neku) 2018-03-19 23:23:11 +01:00 committed by GitHub
commit 9042e9439a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 1 deletions

View File

@ -8,7 +8,6 @@
* Nginx+PHP5-FPM (PHP 5.4) on Debian 7 Wheezy
* Nginx+PHP5-FPM (PHP 5.6) on Debian 8 Jessie
* Nginx+PHP7-FPM (PHP 7.0) on Debian 9 Stretch
* [Caddy](https://caddyserver.com/) + php7.0-fpm on Ubuntu 16.04.4 LTS
# Install:
@ -92,6 +91,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