ports/www/nginx-devel/files/patch-conf-nginx.conf
Sergey A. Osokin bd4066ee45 Add nginx (Engine X) - small and fast WWW-server.
Special thanks to:	marck
Some ideas from PR:	72830
2004-10-21 17:54:45 +00:00

32 lines
641 B
Text

$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;
}