Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(pagespeed): update fqdn + instructions #180

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sambacha
Copy link

this fixes the deadlinks for pagespeed, see apache/incubator-pagespeed-ngx/issues/1656.

Also added clearer instructions if pagespeed is used as a module so that users know to adjust their nginx.conf

@sambacha
Copy link
Author

should fix the failing build on debian 9, just fixed the script, (was my error).

https://github.com/angristan/nginx-autoinstall/pull/180/checks?check_run_id=2149567703#step:3:9015

./configure: error: invalid option "To"

Additionally while examining the logs, these two issues cropped up:

apt-utils dependency:
https://github.com/angristan/nginx-autoinstall/pull/180/checks?check_run_id=2149567844#step:3:334

debconf: delaying package configuration, since apt-utils is not installed

systemctl error: https://github.com/angristan/nginx-autoinstall/pull/180/checks?check_run_id=2149567703#step:3:9018

../../nginx-autoinstall.sh: line 597: systemctl: command not found

Comment on lines 202 to 205
wget https://github.com/apache/incubator-pagespeed-ngx/archive/v1.14.33.1-RC1.zip
unzip v1.14.33.1-RC1.zip
cd incubator-pagespeed-ngx-1.14.33.1-RC1 || exit 1
psol_url=https://dist.apache.org/repos/dist/release/incubator/pagespeed/1.14.36.1/x64/psol-1.14.36.1-apache-incubating-x64.tar.gz
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use NPS_VER instead of hardcoding the version and use the same version (v1.14.33.1-RC1 vs 1.14.36.1)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would NPS_VER=1.14.33.1-RC1 work for you? There are no other versions for 1.18.0+ nginx, everything else is >2018 or older.

1.14.36.1 is the Apache2 client, this version is the only recent official release

Comment on lines 192 to 194
apt-get install -y build-essential ca-certificates wget curl libpcre3 libpcre3-dev autoconf unzip automake libtool tar git libssl-dev zlib1g-dev uuid-dev lsb-release libxml2-dev libxslt1-dev cmake

apt-get install -qy apt-utils m4 build-essential ca-certificates wget curl libpcre3 libpcre3-dev autoconf unzip automake libtool tar git libssl-dev zlib1g-dev uuid-dev lsb-release libxml2-dev libxslt1-dev cmake
apt-get update

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please revert these changes and only add the new dependencies at the end

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@angristan
Copy link
Owner

Hello,

the patch doesn't work:

adding module in /usr/local/src/nginx/modules/incubator-pagespeed-ngx-1.13.35.2-stable
./configure: error: no /usr/local/src/nginx/modules/incubator-pagespeed-ngx-1.13.35.2-stable/config was found

@sambacha
Copy link
Author

Hello,

the patch doesn't work:

adding module in /usr/local/src/nginx/modules/incubator-pagespeed-ngx-1.13.35.2-stable
./configure: error: no /usr/local/src/nginx/modules/incubator-pagespeed-ngx-1.13.35.2-stable/config was found

Targeting the build for 1.14.33.1-RC1 and not 1.13.35.2. It's your call obviously, but that version wont see any updates or backports to my knowledge. See this thread: apache/incubator-pagespeed-ngx#1656

Will go ahead and make the requested adjustments, thank you.

this fixes the deadlinks for pagespeed, see [https://github.com/apache/incubator-pagespeed-ngx/issues/1656](https://github.com/apache/incubator-pagespeed-ngx/issues/1656).

Also added clearer instructions if pagespeed is used as a module so that users know to adjust their `nginx.conf`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants