apache / incubator-pagespeed-ngx

Automatic PageSpeed optimization module for Nginx
http://ngxpagespeed.com/
Apache License 2.0
4.37k stars 363 forks source link

Failure running 'wget https://github.com/apache/incubator-pagespeed-ngx/archive/latest.zip #1744

Closed palermomarco closed 2 years ago

palermomarco commented 2 years ago

It looks like the zip file is not available anymore at https://github.com/apache/incubator-pagespeed-ngx/archive/latest.zip

The automated install explained here https://www.modpagespeed.com/doc/build_ngx_pagespeed_from_source won't work anymore.

Could anyone please help?

eilandert commented 2 years ago

I think github's url has changed, https://github.com/apache/incubator-pagespeed-ngx/archive/refs/heads/master.zip

palermomarco commented 2 years ago

Using https://github.com/apache/incubator-pagespeed-ngx/archive/latest-stable.zip or latest-beta.zip works well.

Using automated install you should change params like this:

bash <(curl -f -L -sS https://ngxpagespeed.com/install) \
     --nginx-version latest \
     --ngx-pagespeed-version latest-stable