openbsd-ports/www/nginx/patches/patch-conf_nginx_conf
steven 94a3508da0 update to 0.6.36
use _nginx user by default

from new maintainer William Yodlowsky

fine with old maintainer Darrin Chandler
2009-05-21 11:44:08 +00:00

47 lines
1.2 KiB
Plaintext

$OpenBSD: patch-conf_nginx_conf,v 1.4 2009/05/21 11:44:08 steven Exp $
--- conf/nginx.conf.orig Thu Feb 28 15:44:16 2008
+++ conf/nginx.conf Fri May 15 23:35:38 2009
@@ -1,5 +1,5 @@
-#user nobody;
+user _nginx;
worker_processes 1;
#error_log logs/error.log;
@@ -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
@@ -87,7 +87,7 @@ http {
# server_name somename alias another.alias;
# location / {
- # root html;
+ # root ${NGINX_DIR}/html;
# index index.html index.htm;
# }
#}
@@ -110,7 +110,7 @@ http {
# ssl_prefer_server_ciphers on;
# location / {
- # root html;
+ # root ${NGINX_DIR}/html;
# index index.html index.htm;
# }
#}