Revision [3895]
Last edited on 2011-02-01 16:35:40 by KenFongAdditions:
SSL reverse proxy - http://www.linux-masters.com/2010/04/nginx-setup-ssl-reverse-proxy-load.html
Revision [2242]
Edited on 2009-03-20 02:16:14 by WikiAdminAdditions:
Tune - http://wiki.nginx.org/FreeBSDOptimizations
Revision [2180]
Edited on 2009-02-01 06:51:47 by WikiAdminAdditions:
==Install from source==
==Minimum config==
==minimum linux init script==
#!/bin/sh
. /etc/init.d/functions
pidfile=/var/run/nginx.pid
case $1 in
start)
daemon --pidfile $pidfile nginx
;;
stop)
killproc -p $pidfile
;;
esac
==Minimum config==
==minimum linux init script==
#!/bin/sh
. /etc/init.d/functions
pidfile=/var/run/nginx.pid
case $1 in
start)
daemon --pidfile $pidfile nginx
;;
stop)
killproc -p $pidfile
;;
esac
Deletions:
Minimum config
Revision [2043]
Edited on 2008-10-22 06:33:47 by WikiAdminAdditions:
{{parent page="WebServer"}}
Deletions:
Revision [2042]
Edited on 2008-10-22 05:57:43 by WikiAdminAdditions:
proxy_pass http://127.0.0.1:8080;
proxy_set_header X-Real-IP $remote_addr;
Rewrite - http://wiki.codemongers.com/NginxHttpRewriteModule
proxy_set_header X-Real-IP $remote_addr;
Rewrite - http://wiki.codemongers.com/NginxHttpRewriteModule
Deletions:
Revision [2041]
Edited on 2008-10-22 05:55:08 by WikiAdminAdditions:
user apache;
worker_processes 2;
gzip on;
server {
listen 192.168.13.10:80;
server_name nginx.domain.tld;
location / {
proxy_pass http://127.0.0.1:8080;
}
worker_processes 2;
gzip on;
server {
listen 192.168.13.10:80;
server_name nginx.domain.tld;
location / {
proxy_pass http://127.0.0.1:8080;
}
Deletions:
worker_processes 2;
gzip on;
server {
listen 192.168.13.10:80;
server_name nginx.domain.tld;
location / {
proxy_pass http://127.0.0.1:8080;
}
Revision [2040]
Edited on 2008-10-22 05:54:48 by WikiAdminAdditions:
Minimum config
user apache;
worker_processes 2;
gzip on;
server {
listen 192.168.13.10:80;
server_name nginx.domain.tld;
location / {
proxy_pass http://127.0.0.1:8080;
}
user apache;
worker_processes 2;
gzip on;
server {
listen 192.168.13.10:80;
server_name nginx.domain.tld;
location / {
proxy_pass http://127.0.0.1:8080;
}
Revision [2039]
Edited on 2008-10-22 05:49:05 by WikiAdminAdditions:
--pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx.err \
Deletions:
Revision [2038]
Edited on 2008-10-22 05:47:24 by WikiAdminAdditions:
--pid-path=/var/run --error-log-path=/var/log/nginx.err \
--http-log-path=/var/log/nginx.log --http-proxy-temp-path=/var/cache/nginx/http \
--http-log-path=/var/log/nginx.log --http-proxy-temp-path=/var/cache/nginx/http \
Deletions:
--http-log-path=/var/log --http-proxy-temp-path=/var/cache/nginx/http \
Revision [2037]
Edited on 2008-10-22 05:45:13 by WikiAdminAdditions:
--http-log-path=/var/log --http-proxy-temp-path=/var/cache/nginx/http \
--http-fastcgi-temp-path=/var/cache/nginx/fastcgi \
--http-client-body-temp-path=/var/cache/nginx/body \
--http-fastcgi-temp-path=/var/cache/nginx/fastcgi \
--http-client-body-temp-path=/var/cache/nginx/body \
Deletions:
--http-fastcgi-temp-path=/var/cache/nginx \
--http-client-body-temp-path=/var/cache/nginx \
Revision [2036]
Edited on 2008-10-22 05:44:00 by WikiAdminAdditions:
--http-fastcgi-temp-path=/var/cache/nginx \
--http-client-body-temp-path=/var/cache/nginx \
--http-client-body-temp-path=/var/cache/nginx \
Deletions:
--http-client-body-temp-path=/var/cache/ngnix \
Revision [2035]
Edited on 2008-10-22 05:43:01 by WikiAdminAdditions:
--user=apache --group=apache --conf-path=/etc/nginx.conf \