https://github.com/ubc/nginx-pagespeed-rpm
Specs for building nginx with pagespeed module
https://github.com/ubc/nginx-pagespeed-rpm
Last synced: 4 months ago
JSON representation
Specs for building nginx with pagespeed module
- Host: GitHub
- URL: https://github.com/ubc/nginx-pagespeed-rpm
- Owner: ubc
- Created: 2014-07-11T20:11:46.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T16:42:55.000Z (almost 2 years ago)
- Last Synced: 2025-04-05T19:34:13.966Z (7 months ago)
- Language: Shell
- Size: 129 KB
- Stars: 8
- Watchers: 11
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Specs to build Nginx RPM with Pagespeed module
==============================================
Building the RPM
----------------
git clone https://github.com/ubc/nginx-pagespeed-rpm.gi://github.com/ubc/nginx-pagespeed-rpm.git
cd nginx-pagespeed-rpm
NX_VERSION=`grep "Version" SPECS/nginx.spec |cut -d " " -f 2`
wget http://nginx.org/download/nginx-${NX_VERSION}.tar.gz -P SOURCES/
NPS_VERSION=`grep "define nps_version" SPECS/nginx.spec |cut -d " " -f 3`
wget https://github.com/pagespeed/ngx_pagespeed/archive/release-${NPS_VERSION}-beta.zip -P SOURCES/
wget https://dl.google.com/dl/page-speed/psol/${NPS_VERSION}.tar.gz -P SOURCES/
rpmbuild --define '_topdir `pwd`' -ba SPECS/nginx.spec
Updating to Newer Version of Nginx or Pagespeed
-----------------------------------------------
Update nps_version and Version in the SPECS/nginx.spec file.