From e278264af16c3b405d5a469969e91f7dc1fc06d6 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Fri, 7 Jun 2013 12:02:14 -0400 Subject: [PATCH] Flesh out nginx documentation --- GENERAL.md | 7 ++++++- Nginx.md | 17 +++++++++++++++++ PS.md | 0 README.md | 2 -- 4 files changed, 23 insertions(+), 3 deletions(-) delete mode 100644 PS.md diff --git a/GENERAL.md b/GENERAL.md index 69c9eea..788049b 100644 --- a/GENERAL.md +++ b/GENERAL.md @@ -22,11 +22,16 @@ Gentoo services have init files in the `/etc/init.d/` directory. * To stop a service: `/etc/init.d/[service] stop` +* To start a service on boot: +`rc-update add [service] default` + * Common services `mysqld` - mysql - `php-fpm` - php with fpm + `php-fpm` - php with fpm + + `nginx` - nginx web server `lighttpd` - lighttpd web server diff --git a/Nginx.md b/Nginx.md index e69de29..6170702 100644 --- a/Nginx.md +++ b/Nginx.md @@ -0,0 +1,17 @@ +#Setting up nginx for PHP-fpm + +## Use flags +Recommended USE flags for nginx - put these in `/etc/portage/package.use` rather than `/etc/make.conf` to make this easier to change if need be. + +### Modules Variable + + +## Config + +### FastCGI Setup + +### Pathinfo Fix + +### Sites + +#### SPDY setup \ No newline at end of file diff --git a/PS.md b/PS.md deleted file mode 100644 index e69de29..0000000 diff --git a/README.md b/README.md index 9be1c15..4e02651 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,4 @@ A guide to setup and maintain a webserver with php/nginx/spdy/mod_pagespeed * [General Topics](GENERAL.md) * [Server Setup](Setup.md) * [PHP](PHP.md) -* [Lighttpd](Lighttpd.md) * [Nginx](Nginx.md) -* [Mod Pagespeed](PS.md)