aboutsummaryrefslogtreecommitdiffstats
path: root/www/nginx-devel/files/patch-conf-nginx.conf
blob: 734d51b9382a964cdb6135e25ab2ea5017c18a36 (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

$FreeBSD$

--- conf/nginx.conf.orig    Wed Oct 20 14:46:31 2004
+++ conf/nginx.conf Thu Oct 21 19:47:18 2004
@@ -12,7 +12,7 @@
 
 
 http {
-    include       conf/mime.types;
+    include       mime.types;
     default_type  application/octet-stream;
 
     sendfile  on;
@@ -20,7 +20,7 @@
     #gzip  on;
 
     server {
-        listen  80;
+        listen  %%HTTP_PORT%%;
 
         charset         on;
         source_charset  koi8-r;
@@ -28,7 +28,7 @@
         #access_log  logs/access.log;
 
         location / {
-            root   html;
+            root   %%PREFIX%%/www/nginx;
             index  index.html index.htm;
         }