public
Description: pkgsrc repository for Joyent.com accelerators
Clone URL: git://github.com/joevandyk/pkgsrc.git
Search Repo:
joevandyk (author)
Tue Apr 29 17:42:57 -0700 2008
commit  d37a66cc9e6188da7ae16be995ec2de07ec8ddf2
tree    d8f2bdac59990863ec65cfbe55477304a42aad4c
parent  a1b28f62ef84d1d6ae7bbdf13c1bbc8d5ba14032
pkgsrc / www / nginx / patches / patch-aa
100644 87 lines (68 sloc) 2.567 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
$NetBSD: patch-aa,v 1.1.1.1 2007/12/11 09:12:26 ghen Exp $
 
--- conf/nginx.conf.orig  2007-01-18 07:08:18.000000000 +0000
+++ conf/nginx.conf
@@ -2,11 +2,11 @@
 #user nobody;
 worker_processes 1;
 
-#error_log logs/error.log;
-#error_log logs/error.log notice;
-#error_log logs/error.log info;
+#error_log /opt/local/var/log/nginx/error.log;
+#error_log /opt/local/var/log/nginx/error.log notice;
+#error_log /opt/local/var/log/nginx/error.log info;
 
-#pid logs/nginx.pid;
+#pid /opt/local/var/log/nginx/nginx.pid;
 
 
 events {
@@ -15,14 +15,14 @@ events {
 
 
 http {
- include conf/mime.types;
+ include /opt/local/etc/nginx/mime.types;
     default_type application/octet-stream;
 
     #log_format main '$remote_addr - $remote_user [$time_local] $request '
     # '"$status" $body_bytes_sent "$http_referer" '
     # '"$http_user_agent" "$http_x_forwarded_for"';
 
- #access_log logs/access.log main;
+ #access_log /opt/local/var/log/nginx/access.log main;
 
     sendfile on;
     #tcp_nopush on;
@@ -38,10 +38,10 @@ http {
 
         #charset koi8-r;
 
- #access_log logs/host.access.log main;
+ #access_log /opt/local/var/log/nginx/host.access.log main;
 
         location / {
- root html;
+ root share/examples/nginx/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 share/examples/nginx/html;
         }
 
         # proxy the PHP scripts to Apache listening on 127.0.0.1:80
@@ -66,7 +66,7 @@ http {
         # fastcgi_pass 127.0.0.1:9000;
         # fastcgi_index index.php;
         # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
- # include conf/fastcgi_params;
+ # include /opt/local/etc/nginx/fastcgi_params;
         #}
 
         # deny access to .htaccess files, if Apache's document root
@@ -86,7 +86,7 @@ http {
     # server_name somename alias another.alias;
 
     # location / {
- # root html;
+ # root share/examples/nginx/html;
     # index index.html index.htm;
     # }
     #}
@@ -109,7 +109,7 @@ http {
     # ssl_prefer_server_ciphers on;
 
     # location / {
- # root html;
+ # root share/examples/nginx/html;
     # index index.html index.htm;
     # }
     #}