nginx [engine x] is a HTTP server and IMAP/POP3 proxy server. The basic HTTP features: * Handling of the static files, index files, and autoindexing * Accelerated reverse proxying without caching, simple load balancing and fault tolerance * Accelerated support without caching of the remote FastCGI servers, simple load balancing and fault tolerance * Modular architecture, filters including gzipping, byte ranges, chunked responses, and SSI-filter; Several subrequests in one page handling in SSI-filter via FastCGI or proxy running in parallel * the SSL support The IMAP/POP3 proxy server features: * User redirection to IMAP/POP3 backend using an external HTTP authentication server * Plain text authentication (LOGIN, USER/PASS) * SSL and STARTTLS support ok and help steven@
49 lines
1.3 KiB
Plaintext
49 lines
1.3 KiB
Plaintext
$OpenBSD: patch-conf_nginx_conf,v 1.1.1.1 2007/09/04 21:58:26 merdely Exp $
|
|
--- conf/nginx.conf.orig Thu Jan 18 00:08:18 2007
|
|
+++ conf/nginx.conf Mon Sep 3 12:34:22 2007
|
|
@@ -15,7 +15,7 @@ events {
|
|
|
|
|
|
http {
|
|
- include conf/mime.types;
|
|
+ include mime.types;
|
|
default_type application/octet-stream;
|
|
|
|
#log_format main '$remote_addr - $remote_user [$time_local] $request '
|
|
@@ -41,7 +41,7 @@ http {
|
|
#access_log logs/host.access.log main;
|
|
|
|
location / {
|
|
- root html;
|
|
+ root !!NGINX_DIR!!/html;
|
|
index index.html index.htm;
|
|
}
|
|
|
|
@@ -51,7 +51,7 @@ http {
|
|
#
|
|
error_page 500 502 503 504 /50x.html;
|
|
location = /50x.html {
|
|
- root html;
|
|
+ root !!NGINX_DIR!!/html;
|
|
}
|
|
|
|
# proxy the PHP scripts to Apache listening on 127.0.0.1:80
|
|
@@ -86,7 +86,7 @@ http {
|
|
# server_name somename alias another.alias;
|
|
|
|
# location / {
|
|
- # root html;
|
|
+ # root !!NGINX_DIR!!/html;
|
|
# index index.html index.htm;
|
|
# }
|
|
#}
|
|
@@ -109,7 +109,7 @@ http {
|
|
# ssl_prefer_server_ciphers on;
|
|
|
|
# location / {
|
|
- # root html;
|
|
+ # root !!NGINX_DIR!!/html;
|
|
# index index.html index.htm;
|
|
# }
|
|
#}
|