rpms/nginx/EL-5 nginx.conf, NONE, 1.1 nginx.spec, 1.27, 1.28 nginx-conf.patch, 1.3, NONE
jjh
jjh at fedoraproject.org
Sun Jun 20 22:38:45 UTC 2010
- Previous message: rpms/nginx/F-12 nginx.conf, NONE, 1.1 .cvsignore, 1.27, 1.28 nginx.spec, 1.41, 1.42 sources, 1.27, 1.28 nginx-conf.patch, 1.4, NONE
- Next message: File roxterm-1.18.4.tar.gz uploaded to lookaside cache by cwickert
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jjh
Update of /cvs/pkgs/rpms/nginx/EL-5
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv18555
Modified Files:
nginx.spec
Added Files:
nginx.conf
Removed Files:
nginx-conf.patch
Log Message:
fix bug #591543
--- NEW FILE nginx.conf ---
#######################################################################
#
# This is the main Nginx configuration file.
#
# More information about the configuration options is available on
# * the English wiki - http://wiki.codemongers.com/Main
# * the Russian documentation - http://sysoev.ru/nginx/
#
#######################################################################
#----------------------------------------------------------------------
# Main Module - directives that cover basic functionality
#
# http://wiki.codemongers.com/NginxMainModule
#
#----------------------------------------------------------------------
user nginx;
worker_processes 1;
error_log /var/log/nginx/error.log;
#error_log /var/log/nginx/error.log notice;
#error_log /var/log/nginx/error.log info;
pid /var/run/nginx.pid;
#----------------------------------------------------------------------
# Events Module
#
# http://wiki.codemongers.com/NginxEventsModule
#
#----------------------------------------------------------------------
events {
worker_connections 1024;
}
#----------------------------------------------------------------------
# HTTP Core Module
#
# http://wiki.codemongers.com/NginxHttpCoreModule
#
#----------------------------------------------------------------------
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] $request '
'"$status" $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
sendfile on;
#tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 65;
#gzip on;
#
# The default server
#
server {
listen 80;
server_name _;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
error_page 404 /404.html;
location = /404.html {
root /usr/share/nginx/html;
}
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
# proxy the PHP scripts to Apache listening on 127.0.0.1:80
#
#location ~ \.php$ {
# proxy_pass http://127.0.0.1;
#}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
#location ~ \.php$ {
# root html;
# fastcgi_pass 127.0.0.1:9000;
# fastcgi_index index.php;
# fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
# include fastcgi_params;
#}
# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /\.ht {
# deny all;
#}
}
# Load config files from the /etc/nginx/conf.d directory
include /etc/nginx/conf.d/*.conf;
}
Index: nginx.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nginx/EL-5/nginx.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -p -r1.27 -r1.28
--- nginx.spec 16 Feb 2010 05:29:33 -0000 1.27
+++ nginx.spec 20 Jun 2010 22:38:44 -0000 1.28
@@ -9,7 +9,7 @@
Name: nginx
Version: 0.6.39
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Robust, small and high performance http and reverse proxy server
Group: System Environment/Daemons
@@ -37,6 +37,7 @@ Source4: ssl.conf
Source5: nginx-upstream-fair.tgz
Source6: upstream-fair.conf
Source7: %{name}.sysconfig
+Source8: %{name}.conf
Source100: index.html
Source101: poweredby.png
Source102: nginx-logo.png
@@ -47,10 +48,6 @@ Source104: 404.html
# -D_FORTIFY_SOURCE=2 causing warnings to turn into errors.
Patch0: nginx-auto-cc-gcc.patch
-# configuration patch to match all the Fedora paths for logs, pid files
-# etc.
-Patch1: nginx-conf.patch
-
#patch for http://www.kb.cert.org/vuls/id/120541
Patch2: nginx-cve-2009-3555.patch
@@ -120,6 +117,7 @@ chmod 0755 %{buildroot}%{_sbindir}/nginx
%{__install} -p -D -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
%{__install} -p -D -m 0644 %{SOURCE7} %{buildroot}%{_sysconfdir}/sysconfig/%{name}
%{__install} -p -d -m 0755 %{buildroot}%{nginx_confdir}/conf.d
+%{__install} -p -m 0644 %{SOURCE8} %{buildroot}%{nginx_confdir}
%{__install} -p -m 0644 %{SOURCE3} %{SOURCE4} %{SOURCE6} %{buildroot}%{nginx_confdir}/conf.d
%{__install} -p -d -m 0755 %{buildroot}%{nginx_home_tmp}
%{__install} -p -d -m 0755 %{buildroot}%{nginx_logdir}
@@ -184,6 +182,9 @@ fi
%changelog
+* Sun Jun 20 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.39-5
+- fix bug #591543
+
* Mon Feb 15 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.39-4
- change directory ownership of log dir to root:root
--- nginx-conf.patch DELETED ---
- Previous message: rpms/nginx/F-12 nginx.conf, NONE, 1.1 .cvsignore, 1.27, 1.28 nginx.spec, 1.41, 1.42 sources, 1.27, 1.28 nginx-conf.patch, 1.4, NONE
- Next message: File roxterm-1.18.4.tar.gz uploaded to lookaside cache by cwickert
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list