Skip to content

Commit 3110511

Browse files
author
Alexis Rodríguez
committed
first version
1 parent 169e414 commit 3110511

18 files changed

+921
-1
lines changed

BUILD/.donotremove

Whitespace-only changes.

BUILDROOT/.donotremove

Whitespace-only changes.

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
1-
# nginx-rpm
1+
# nginx-rpm
2+
3+
This repo is the buildroot to create the nginx rpm package for nginx 1.12.0 with the sticky session module.
4+
5+
https://bitbucket.org/nginx-goodies/nginx-sticky-module-ng/
6+
7+
http://nginx.org/
8+
9+

RPMS/.donotremove

Whitespace-only changes.

SOURCES/COPYRIGHT

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/*
2+
* Copyright (C) Igor Sysoev
3+
* Copyright (C) Nginx, Inc.
4+
* All rights reserved.
5+
*
6+
* Redistribution and use in source and binary forms, with or without
7+
* modification, are permitted provided that the following conditions
8+
* are met:
9+
* 1. Redistributions of source code must retain the above copyright
10+
* notice, this list of conditions and the following disclaimer.
11+
* 2. Redistributions in binary form must reproduce the above copyright
12+
* notice, this list of conditions and the following disclaimer in the
13+
* documentation and/or other materials provided with the distribution.
14+
*
15+
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16+
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18+
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19+
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21+
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22+
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23+
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24+
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25+
* SUCH DAMAGE.
26+
*/

SOURCES/logrotate

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/var/log/nginx/*.log {
2+
daily
3+
missingok
4+
rotate 52
5+
compress
6+
delaycompress
7+
notifempty
8+
create 640 nginx adm
9+
sharedscripts
10+
postrotate
11+
[ -f /var/run/nginx.pid ] && kill -USR1 `cat /var/run/nginx.pid`
12+
endscript
13+
}

SOURCES/nginx-1.12.0.tar.gz

958 KB
Binary file not shown.

SOURCES/nginx-debug.service

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[Unit]
2+
Description=nginx - high performance web server
3+
Documentation=http://nginx.org/en/docs/
4+
After=network.target remote-fs.target nss-lookup.target
5+
6+
[Service]
7+
Type=forking
8+
PIDFile=/run/nginx.pid
9+
ExecStartPre=/usr/sbin/nginx-debug -t -c /etc/nginx/nginx.conf
10+
ExecStart=/usr/sbin/nginx-debug -c /etc/nginx/nginx.conf
11+
ExecReload=/bin/kill -s HUP $MAINPID
12+
ExecStop=/bin/kill -s QUIT $MAINPID
13+
PrivateTmp=true
14+
15+
[Install]
16+
WantedBy=multi-user.target

SOURCES/nginx-debug.sysconf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Configuration file for the nginx-debug service.
2+
3+
NGINX=/usr/sbin/nginx-debug
4+
CONFFILE=/etc/nginx/nginx.conf
5+
LOCKFILE=/var/lock/subsys/nginx-debug
118 KB
Binary file not shown.

0 commit comments

Comments
 (0)