nginx: Difference between revisions

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
primer
Notes: master config file
Line 24: Line 24:
Apparently this is not a standard config, but the nginx install I'm working with uses the following folders:
Apparently this is not a standard config, but the nginx install I'm working with uses the following folders:
* '''/opt/nginx/''' - configuration and logging folders
* '''/opt/nginx/''' - configuration and logging folders
** '''/opt/nginx/conf/nginx.conf''' - master config file
* '''/etc/php5/fpm/''' - [[PHP-FPM]] configuration
* '''/etc/php5/fpm/''' - [[PHP-FPM]] configuration
** '''/etc/php5/fpm/pool.d/www.conf''' - config file to actually edit
** '''/etc/php5/fpm/pool.d/www.conf''' - config file to actually edit

Revision as of 19:21, 10 June 2012

<hide> page type::article thing type::software architecture::server purpose::web server license::open source </hide>

About

nginx is free/open source web server software.

PHP

There are a number of ways to get nginx to play nicely with PHP:

  • PHP-FPM is one, but there are others

Notes

Apparently this is not a standard config, but the nginx install I'm working with uses the following folders:

  • /opt/nginx/ - configuration and logging folders
    • /opt/nginx/conf/nginx.conf - master config file
  • /etc/php5/fpm/ - PHP-FPM configuration
    • /etc/php5/fpm/pool.d/www.conf - config file to actually edit