summaryrefslogtreecommitdiff
path: root/www/nginx-devel/files/patch-conf-nginx.conf
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2004-10-21 17:54:45 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2004-10-21 17:54:45 +0000
commitbd4066ee457a1089e012ea4b1afe800f4db21264 (patch)
tree97335de753ae58ffd94ec09aa4426c0844ac6139 /www/nginx-devel/files/patch-conf-nginx.conf
parentUpgrade to latest snapshot. (diff)
Add nginx (Engine X) - small and fast WWW-server.
Special thanks to: marck Some ideas from PR: 72830
Diffstat (limited to 'www/nginx-devel/files/patch-conf-nginx.conf')
-rw-r--r--www/nginx-devel/files/patch-conf-nginx.conf32
1 files changed, 32 insertions, 0 deletions
diff --git a/www/nginx-devel/files/patch-conf-nginx.conf b/www/nginx-devel/files/patch-conf-nginx.conf
new file mode 100644
index 000000000000..734d51b9382a
--- /dev/null
+++ b/www/nginx-devel/files/patch-conf-nginx.conf
@@ -0,0 +1,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;
+ }
+