aboutsummaryrefslogtreecommitdiffstats
path: root/www/nginx-devel/files/patch-conf-nginx.conf
blob: 049fa52cf1e7e6ad91e52d41f0c224d3d83d015c (plain) (blame)
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

$FreeBSD$

--- conf/nginx.conf.orig    Thu Jan 18 10:08:18 2007
+++ conf/nginx.conf Thu Jun 14 12:57:52 2007
@@ -15,7 +15,7 @@
 
 
 http {
-    include       conf/mime.types;
+    include       mime.types;
     default_type  application/octet-stream;
 
     #log_format  main  '$remote_addr - $remote_user [$time_gmt] $status '
@@ -33,7 +33,7 @@
     #gzip  on;
 
     server {
-        listen       80;
+        listen       %%HTTP_PORT%%;
         server_name  localhost;
 
         #charset koi8-r;
@@ -41,7 +41,7 @@
         #access_log  logs/host.access.log  main;
 
         location / {
-            root   html;
+            root   %%PREFIX%%/www/nginx;
             index  index.html index.htm;
         }
 
@@ -51,7 +51,7 @@
         #
         error_page   500 502 503 504  /50x.html;
         location = /50x.html {
-            root   html;
+            root   %%PREFIX%%/www/nginx-dist;
         }
 
         # proxy the PHP scripts to Apache listening on 127.0.0.1:80