@@ -7,7 +7,19 @@ RPM Packaging for [ngx-fancyindex](https://github.com/aperezdc/ngx-fancyindex).
77## Install an RPM package
88
99- [ Download] ( https://github.com/jfut/nginx-module-fancyindex-rpm/releases )
10- - ` yum install nginx-module-fancyindex-x.y.z-n.elx.x86_64.rpm `
10+ - Install:
11+
12+ ```
13+ # el7
14+ yum install nginx-module-fancyindex-0.4.4-2.el7.x86_64.rpm
15+
16+ # el8 + module 1.16 stream
17+ dnf install nginx-module-fancyindex-0.4.4-2.module_el8.1.16.x86_64.rpm
18+
19+ # el8 + EPEL module mainline stream
20+ dnf install nginx-module-fancyindex-0.4.4-2.module_el8.mainline.x86_64.rpm
21+ ```
22+
1123- Add ` load_module ` in ` nginx.conf ` :
1224 ```
1325 load_module "modules/ngx_http_fancyindex_module.so";
@@ -19,16 +31,20 @@ RPM Packaging for [ngx-fancyindex](https://github.com/aperezdc/ngx-fancyindex).
1931
2032```
2133Usage:
22- build [ -d] [ -h] BUILD_IMAGE_NAME
34+ build [ -d] [ -h] BUILD_IMAGE_NAME: BUILD_IMAGE_TAG [ : MODULE_VERSION ]
2335
2436 Options:
2537 -d Debug mode.
2638
27- Build for CentOS 8:
28- build -i centos:8
39+ Build for CentOS 8 + AppStream module:
40+ # build centos:8:1.14 1.14 (not supported)
41+ build centos:8:1.16
42+
43+ Build for CentOS 8 + EPEL Stream module:
44+ build centos:8:mainline
2945
3046 Build for CentOS 7:
31- build -i centos:7
47+ build centos:7
3248```
3349
3450## Build RPM Packages with Docker
@@ -43,16 +59,16 @@ You can build RPM packages in Docker.
4359
4460```
4561./build -d
46- /pkg/build-rpm /pkg/rpmbuild nginx-module-fancyindex.spec
62+ /pkg/build-rpm /pkg/rpmbuild nginx-module-fancyindex.spec 1.6
4763```
4864
4965## Release tag
5066
5167e.g.:
5268
5369```
54- git tag -a v1.5.1-1 -m "v1.5.1-1 "
55- git push origin refs/tags/v1.5.1-1
70+ git tag -a v0.4.4-2 -m "v0.4.4-2 "
71+ git push origin refs/tags/v0.4.4-2
5672```
5773
5874## License
0 commit comments