diff options
author | Jonas Smedegaard <dr@jones.dk> | 2013-06-26 20:58:58 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2013-06-26 20:58:58 +0200 |
commit | ccb4b2243104b483995bf2c234ec78de39895d5c (patch) | |
tree | 3a6b44a0051042627ab6a6bf6bcbca5f4a125220 /uwsgi/apps-available | |
parent | fa7b271bae2d1d3beb65cd6ddb9c0e8e20c54cbc (diff) |
Add Apache and uWSGI example configs for PHP app.
Diffstat (limited to 'uwsgi/apps-available')
-rw-r--r-- | uwsgi/apps-available/local-php-app.ini | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/uwsgi/apps-available/local-php-app.ini b/uwsgi/apps-available/local-php-app.ini new file mode 100644 index 0000000..0cc3675 --- /dev/null +++ b/uwsgi/apps-available/local-php-app.ini @@ -0,0 +1,21 @@ +[uwsgi] +plugins = cgi + +uid = www-php-app + +master = true +processes = 8 +cheaper = 2 + +docroot = /home/www-php-app/foo + +check-static = %(docroot) +static-skip-ext = .sh +static-skip-ext = .php +static-skip-ext = .inc +static-index = index.php + +cgi = /=%(docroot)/index.php +cgi-allowed-ext = .php +cgi-helper = .php=php-cgi +cgi-index = index.php |