Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
nginx [2008/03/14 09:15] greebo created |
nginx [2010/06/20 21:39] (current) 93.103.1.78 |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== NGINX ====== | ||
| + | |||
| + | ===== Restricted access with password + exclude IP list ===== | ||
| + | |||
| + | < | ||
| + | location / | ||
| + | { satisfy any; | ||
| + | allow 192.1.1.1; | ||
| + | | ||
| + | | ||
| + | deny all; | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| | | ||
| + | |||
| + | debian nginx logrotate | ||
| + | |||
| + | / | ||
| + | daily | ||
| + | missingok | ||
| + | rotate 52 | ||
| + | compress | ||
| + | delaycompress | ||
| + | notifempty | ||
| + | create 640 root adm | ||
| + | sharedscripts | ||
| + | postrotate | ||
| + | [ ! -f / | ||
| + | endscript | ||
| + | } | ||
| + | |||
| + | |||
| + | |||
| + | php.ini - cgi.fix_pathinfo=1 | ||

