aboutsummaryrefslogtreecommitdiffstats
path: root/www/nginx-devel/files/patch-conf-nginx.conf
blob: 5900493dac98df112fb09b7f8e152bfde45641af (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    Tue Nov 15 15:52:29 2005
+++ conf/nginx.conf Tue Nov 15 15:53:32 2005
@@ -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;
         }