Skip to content

Commit

Permalink
Deprecation Nginx Pagespeed module
Browse files Browse the repository at this point in the history
  • Loading branch information
joglomedia committed Jan 22, 2025
1 parent 5541053 commit d9d8ff1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .env.dist
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ NGX_MAIL=true
NGX_NCHAN=false

# Note: Be aware that PAGESPEED is no longer being developed.
NGX_PAGESPEED=false
#NGX_PAGESPEED=false
# For Nginx latest v1.23 or greater, try using NPS v1.14.33.1-RC1 or latest-stable
NGX_PAGESPEED_VERSION="latest-stable"
#NGX_PAGESPEED_VERSION="latest-stable"

NGX_RTMP=false
NGX_STREAM=true
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ LEMPer stands for Linux, Engine-X (Nginx), MariaDB and PHP installer written in
## Features

* Nginx - A high performance web server and a reverse proxy server.
* Community package from [Ondrej repo](https://launchpad.net/~ondrej/+archive/ubuntu/nginx) or @eilandert's [MyGuard repo](https://deb.myguard.nl/nginx-modules/) with built-in PageSpeed module.
* Community package from [Ondrej repo](https://launchpad.net/~ondrej/+archive/ubuntu/nginx) or @eilandert's [MyGuard repo](https://deb.myguard.nl/nginx-modules/) with built-in modules.
* Custom build from [source](https://github.com/nginx/nginx) featured with :
* [Brotli module](https://github.com/google/ngx_brotli.git) an alternative compression to Gzip
* [Lua Nginx module](https://github.com/openresty/lua-nginx-module) with LuaJIT 2 library
Expand Down
6 changes: 1 addition & 5 deletions lemper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ function init_lemper_install() {
# Set getopt options.
OPTS=$(getopt -o e:h:i:dgpDBF \
-l admin-email:,debug,development,dry-run,fix-broken-install,force,guided,hostname:,ipv4:,production,unattended \
-l with-nginx:,with-nginx-installer:,with-nginx-custom-ssl:,with-nginx-lua,with-nginx-pagespeed,with-nginx-passenger \
-l with-nginx:,with-nginx-installer:,with-nginx-custom-ssl:,with-nginx-lua,with-nginx-passenger \
-l with-nginx-pcre:,with-nginx-rtmp,with-php:,with-php-extensions:,with-php-loader:,with-mysql-server: \
-l with-ftp-server:,with-memcached:,with-memcached-installer:,with-mongodb:,with-mongodb-admin:,with-redis: \
-l with-redis-installer:,with-redis-requirepass:,with-ssh-passwordless,with-ssh-port:,with-ssh-pub-key: \
Expand Down Expand Up @@ -612,10 +612,6 @@ function init_lemper_install() {
sed -i "s/NGX_HTTP_LUA=[a-zA-Z]*/NGX_HTTP_LUA=true/g" .env
shift
;;
--with-nginx-pagespeed)
sed -i "s/NGX_PAGESPEED=[a-zA-Z]*/NGX_PAGESPEED=true/g" .env
shift
;;
--with-nginx-passenger)
sed -i "s/NGX_HTTP_PASSENGER=[a-zA-Z]*/NGX_HTTP_PASSENGER=true/g" .env
shift
Expand Down

0 comments on commit d9d8ff1

Please sign in to comment.