[GitHub] [incubator-pagespeed-ngx] eilandert commented on issue #1760: quick and dirty build instructions
eilandert commented on issue #1760: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1760#issuecomment-1382438672 > > > Would you be willing to write a tutorial for people to build their own PSOL instead of using `wget http://www.tiredofit.nl/psol-${PSOL}.tar.xz`? I could then share my way of upgrading ngx-pagespeed via bash script. > > > > > > Hi @ronilaukkarinen , I have posted my buildprocess on https://github.com/eilandert/build_psol > > I'm a relatively clueless noob who has managed to build a well functioning web server on a raspberry pi. My question is, will your build scripts/ build process work for compiling ARM64 PSOL binaries? If so, where exactly do I start? thanks for your work! I have no experience with ARM or crosscompiling, however it should be possible. This git repo has done it, precompiled and with instructions to build it yourself all below the page https://gitlab.com/gusco/ngx_pagespeed_arm -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] Danrancan commented on issue #1760: quick and dirty build instructions
Danrancan commented on issue #1760: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1760#issuecomment-1378185511 > > Would you be willing to write a tutorial for people to build their own PSOL instead of using `wget http://www.tiredofit.nl/psol-${PSOL}.tar.xz`? I could then share my way of upgrading ngx-pagespeed via bash script. > > Hi @ronilaukkarinen , I have posted my buildprocess on https://github.com/eilandert/build_psol I'm a relatively clueless noob who has managed to build a well functioning web server on a raspberry pi. My question is, will your build scripts/ build process work for compiling ARM64 PSOL binaries? If so, where exactly do I start? thanks for your work! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] ronilaukkarinen commented on issue #1760: quick and dirty build instructions
ronilaukkarinen commented on issue #1760: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1760#issuecomment-1377660452 Oh, right. Sorry, missed that. Thanks @eilandert for your hard work! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] eilandert commented on issue #1760: quick and dirty build instructions
eilandert commented on issue #1760: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1760#issuecomment-1377651866 > https://github.com/eilandert/build_psol Hi @ronilaukkarinen, I have posted my build process on https://github.com/eilandert/build_psol -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] eilandert commented on issue #1760: quick and dirty build instructions
eilandert commented on issue #1760: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1760#issuecomment-1377652504 > Would you be willing to write a tutorial for people to build their own PSOL instead of using `wget http://www.tiredofit.nl/psol-${PSOL}.tar.xz`? I could then share my way of upgrading ngx-pagespeed via bash script. Hi @ronilaukkarinen , I have posted my buildprocess on https://github.com/eilandert/build_psol -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] ronilaukkarinen commented on issue #1760: quick and dirty build instructions
ronilaukkarinen commented on issue #1760: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1760#issuecomment-1377608372 Would you be willing to write a tutorial for people to buil their own PSOL instead of using `wget http://www.tiredofit.nl/psol-${PSOL}.tar.xz`? I could then share my way of upgrading ngx-pagespeed via bash script. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] Danrancan commented on issue #1265: build raspbian RPI3
Danrancan commented on issue #1265: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1265#issuecomment-1371579622 > @Danrancan I think it may be better to open a new issue; it seems like no one subscribed to this issue works on the project anymore. Thanks for the reply, I will open an issue then. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] yeputons commented on issue #1265: build raspbian RPI3
yeputons commented on issue #1265: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1265#issuecomment-1371472323 @Danrancan I think it may be better to open a new issue; it seems like no one subscribed to this issue works on the project anymore. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] Danrancan commented on issue #1265: build raspbian RPI3
Danrancan commented on issue #1265: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1265#issuecomment-1371460014 > We don't currently support building PSOL on ARM, as not many people want it. It is probably possible, but would not be a tiny amount of work. I want it and desperately need it. I'm stuck on Nginx 1.23.2 forever until these PSOL libraries are updated. If its work, tell me what I need to do to make this happen and I will work on it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] Danrancan opened a new issue, #1763: How to find, compile, or build ARM64/aarch64 versions of the PSOL libraries for pagespeed compilation on a Raspberry Pi?
Danrancan opened a new issue, #1763: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1763 I'm trying to compile pagespeed module on my raspberry pi 4 running Ubuntu Server 20.04. The main issue I have found with this is there are no ARM versions of the PSOL libraries except for [this one](https://gitlab.com/gusco/ngx_pagespeed_arm/-/tree/master/), which is an outdated PSOL and originally built for nginx 1.18.0. I am wondering what the repercussions of using these libraries are (because I did compile with these libraries), and if there is some way to compile the psol libraries myself for a raspberry pi ARM processor. I can't find the link now, but someone made a comment about another issue and suggested building PSOL yourself for ARM. Is this possible and how easy is it to do? Any instructions would be more than welcome. Thanks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] Danrancan commented on issue #1213: Supporting pagespeed on ARM devices?
Danrancan commented on issue #1213: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1213#issuecomment-1370583551 > We don't currently have plans to support ARM mostly because I don't think we've especially been peppered with requests for it. > > We have a _lot_ of library dependencies and I imagine at least some of them don't support ARM, which makes this a lot more painful. I believe the only thing incompatible with arm is that there are no arm PSOL libraries other than [](https://gitlab.com/gusco/ngx_pagespeed_arm/-/tree/master/), which is believe are outdated. I have successfully compiled pagespeed on Ubuntu Server for the Raspberry Pi 4 using these aarch64 PSOL libraries, but I don't quite understand the repercussions of using these outdate libraries. Do you know if there is any way to compile updated arm64 versions of the PSOL libraries myself to include in pagespeed during ps compilation? If you have any ideas, please let me know. Otherwise, consider this post me peppering you with requests for an ARM compatible pagespeed module. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] eilandert commented on issue #1743: Building on newer glibc (eg. Ubuntu 21.10 and above)
eilandert commented on issue #1743: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1743#issuecomment-1358694590 @GwynethLlewelyn > Note, however, that my own compilation is (obviously!) pretty much built upon @eilandert's instructions, and it wouldn't have worked without his PSOL compilation; the rest is mostly a few more hacks to get HTTP/3 support _without_ breaking PageSpeed. I'm wondering what hacks do you need to get HTTP/3 support in pagespeed? Do I need them too? I have a full HTTP/3 build with NGINX-quic and OpenSSL3/quic running on production now and I have not encountered any issues so far. It's in beta/testing phase, but as said, I'm running in production now without problems debian/ubuntu: http://edge.deb.myguard.nl:/apt/nginx-quic/ (this is my dev repo) docker: https://hub.docker.com/r/eilandert/nginx-quic -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] eilandert commented on issue #1760: quick and dirty build instructions
eilandert commented on issue #1760: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1760#issuecomment-1358238735 > Thanks for confirming folks. My only worry is that psol package tiredofit.nl, we should trust @eilandert blindly with this? Ofcourse not, you can always build PSOL yourself, my setup is merely a proof of concept that a new glibc or nginx is not the end of PageSpeed, I wanted to give a solution to all those open questions for two simple fixes. It's a shame there seems to be no development at all since the move to the bazel buildsystem (which I never got to work myself, so I am stuck on the last working commit, 409bd76). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] ronilaukkarinen commented on issue #1760: quick and dirty build instructions
ronilaukkarinen commented on issue #1760: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1760#issuecomment-1358252675 @eilandert There were no build scripts so we used your prebuilt, thanks for that. > It's a shame there seems to be no development at all since the move to the bazel buildsystem (which I never got to work myself, so I am stuck on the last working commit, 409bd76). Second to this. I'm sure many use ngx_pagespeed. I hope we'll have a maintainer in the future. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] eilandert commented on issue #1760: quick and dirty build instructions
eilandert commented on issue #1760: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1760#issuecomment-1358070522 > @eilandert So you managed to build PSOL from source in the same environment / machine? Any patches required? Would be very valuable if you can also share instructions for building PSOL from ssource. Thanks so much... My nginx is up and running with pagespeed now. Hi @sharmashivanand I build those psols with docker so I have clean environments, I just uploaded my scripts to https://github.com/eilandert/build_psol. If you need anything, please let me know in that repo. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] sharmashivanand commented on issue #1760: quick and dirty build instructions
sharmashivanand commented on issue #1760: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1760#issuecomment-1357958687 @eilandert So you managed to build PSOL from source in the same environment / machine? Any patches required? Would be very valuable if you can also share instructions for building PSOL from ssource. Thanks so much... My nginx is up and running with pagespeed now. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] ronilaukkarinen commented on issue #1760: quick and dirty build instructions
ronilaukkarinen commented on issue #1760: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1760#issuecomment-1349448420 Thanks for confirming folks. My only worry is that psol package tiredofit.nl, we should trust @eilandert blindly with this? Tested and it works and fixes the issue #1762 as well. This most probably fixes all the issues: #1758 #1757 #1756 #1749 #1752. Always best if there would be an official package but one can wish... this repository has been in slumber for a while now. I just dirty-loaded the module like this in /etc/nginx/nginx.conf: ```nginx load_module /home/rolle/nginx-1.23.2/objs/ngx_pagespeed.so; ``` Nginx has been installed with apt from official repository. ```bash $ nginx -V nginx version: nginx/1.23.2 built by gcc 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1) built with OpenSSL 1.1.1f 31 Mar 2020 TLS SNI support enabled configure arguments: --with-compat --add-dynamic-module=../incubator-pagespeed-ngx --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-compat --with-file-aio --with-threads --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_m odule --with-http_sub_module --with-http_v2_module --with-mail --with-mail_ssl_module --with-stream --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] shanemarsh28 commented on issue #1760: quick and dirty build instructions
shanemarsh28 commented on issue #1760: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1760#issuecomment-1348269614 You are a lifesaver! All is good for Nginx 1.23.2 & Ubuntu 22.04. Thank you very much indeed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-mod] Lofesa commented on issue #2078: Mod_Pagespeed WordPress Uploaded WebP image not optimize and serving
Lofesa commented on issue #2078: URL: https://github.com/apache/incubator-pagespeed-mod/issues/2078#issuecomment-1347993973 So the issue is pagespeed still rewrite or recompress images? I think the rigth way is pagespeed DisableFilters rewrite_images, recompress_images; pagespeed ForbidFilters rewrite_images, recompress_images; As I understand the 1st statement disable the filters and the 2nd forbid the use of these filters in any other way, like url parameters or http headers. Maybe the docs is a bit confussing in their redaction as far as you can read "To turn off specific filters and forbid " But I can't understand why the problem comes here, with the RewriteLevel PassThrough only filters explicity enabled must work. If you have only pagespeed RewriteLevel PassThrough; and no others directives nothing must happend with the files. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-mod] Lofesa commented on issue #2078: Mod_Pagespeed WordPress Uploaded WebP image not optimize and serving
Lofesa commented on issue #2078: URL: https://github.com/apache/incubator-pagespeed-mod/issues/2078#issuecomment-1347930557 What nginx directive is ignored? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-mod] ichirugame closed issue #2106: Admin page 500 error
ichirugame closed issue #2106: Admin page 500 error URL: https://github.com/apache/incubator-pagespeed-mod/issues/2106 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] bigretromike commented on issue #1729: Changed IP then CSS files 404
bigretromike commented on issue #1729: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1729#issuecomment-1343309643 @benjaminadk did you end up resolving the issue or is this something that come back link boomerang ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] bigretromike commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.
bigretromike commented on issue #1755: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1341816176 After downgrading pagespeed, trying it on fresh wordpress instalation, the beacon still point's to HTTP version of page when there is non, also the module try to access http://domain:443/ which is illegal. nginx 1.23.2 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] bigretromike commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.
bigretromike commented on issue #1755: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1336291903 I read about `RespectXForwardedProto` that if its not set it goes to http resources and mix content, even if im not using any cdn's or loadbalancer because its for those cases. Sadly no difference :( Found: `pagespeed UseNativeFetcher on; resolver 8.8.8.8;` Results: `Cannot fetch url 'https://mydomain.com/wp-content/plugins/total-gdpr-compliance/assets/js/frontend-script.js?ver=2.0.2': as https is not supported` Found (as page support gzip): `pagespeed FetchWithGzip on;` Results: Still http://mydomain.com in logs In doc's I found: `Setting the URL fetcher timeout [](https://www.modpagespeed.com/doc/system#url_fetcher_timeout) When PageSpeed attempts to rewrite a resource for the first time, it must fetch it via HTTP. The default timeout for fetches is 5 seconds. A directive can be applied to change the timeout ` I hope HTTP is a typo and it should be HTTP/HTTPS -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] bigretromike commented on issue #1566: BeaconUrl uses HTTP instead of HTTPS + LoadFromFile not working
bigretromike commented on issue #1566: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1566#issuecomment-1336278593 nginx 1.23.2 + pagespeed 1.15.0.0-8917, and still the beacon is added as `http://` when the only page working is `http`://` without 301; -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] bigretromike commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.
bigretromike commented on issue #1755: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1336276712 As soon as I disable `LoadFromFileMatch` all of the converted images that point's too `https://mydomain/converted_imaga.pagespeed.ic.123456.webp` are 404 on me -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] bigretromike commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.
bigretromike commented on issue #1755: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1336271928 I'm using this: `pagespeed Domain https://mydomain.com;` I can change it to http? version but I dont serve http version at all, when you enter http://mydomain.com because there is no other www configured in nxginx and dns point to the server it defaults and redirect to https version. `http*://*.mydomain.com` im not serving page with `www` subdomain nor any other subdomain, will `https://mydomain.com` fall into that regex ? - Yes, this does not cover my domain `` > In my experience pagespeed can't fecht https resource mainly by 2 reasons: As you can see most resource are fetched via https only main page and few images aint, For images I found out that SmartSlider3 made static cache files for background and put those as `src=//mydomain.com/static/background.jpg` im unable to force it to be written as https, and from pagespeed docs `//` notation falls to `http` fetch - any ideas how to force it ? I disabled memcache for pagespeed and fastcgi_cache for page; still issue is there; Also I disabled (removed) memcached caching from wordpress - no luck also; -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] Lofesa commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.
Lofesa commented on issue #1755: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1336267795 No, is not the way pagespeed work. It must work fechting https resources too. In my experience pagespeed can't fecht https resource mainly by 2 reasons: 1.- pagespeed domain is set wrong. If you don't specify the protocol, by default pagespeed tries the http version only. I usually use pagespeed domain http*://*.mydomain.com This way I cover the http and the https and all subdomain and the main domain. 2.- certificates are not rigth configured. But here 2 reasons are, aparently , set in the rigth way. Maybe the fastcgi cache? I see you bypass the fastcgi cache when the request have any query string. Whats happens when you do http://mydoamin.com/?anyquery=1 ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] bigretromike commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.
bigretromike commented on issue #1755: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1336252941 > In the last config you posted: > > > > pagespeed RewriteLevel CoreFilters; > > > pagespeed RewriteLevel OptimizeForBandwidth; I comment out `CoreFilters` both could work without issue as one enable more than second one. Still the issue even with almost everything comment out is that its fetching or thinking that it fetch `http`://mydomain.com, when in realyty its `https`://mydomain.com because http version is not available (there is not even 301 on new server) The only thing that I have on mind is that pagespeed does work in that way (but I would assume you guys or another user would just say `That is the way pagespeed works` and that would end the topic, but then I don't think its the case, so only one thing (other than wordpress files and database) taken from old server that act the same way is nginx-site-configuration, maybe someone more knowledgeable than me can spot the cupric - (I omitted include as those are posted higher): server { listen 443 ssl http2; listen [::]:443 ssl http2; server_name mydomain.com www.mydomain.com; root /var/www/mydomain.com/web; index index.php index.html index.htm; if ($host = www.mydomain.com) { return 301 https://mydomain.com$request_uri; } set $no_cache 0; include snippets/20-pagespeed_server.conf; add_header X-Content-Type-Options nosniff; add_header X-XSS-Protection "1; mode=block"; gzip on; autoindex off; access_log /var/www/mydomain.com/logs/access.log compression2 buffer=32k flush=5m; error_log /var/www/mydomain.com/logs/error.log; # debug; keepalive_timeout 10; keepalive_disable msie6; keepalive_requests 200; include snippets/30-csp.conf; location /ngx_pagespeed_statistics { allow 127.0.0.1; allow my.ip.address.here; deny all; } location /ngx_pagespeed_global_statistics { allow 127.0.0.1; allow my.ip.address.here; deny all; } location /ngx_pagespeed_message { allow 127.0.0.1; allow my.ip.address.here; deny all; } location /pagespeed_console { allow 127.0.0.1; allow my.ip.address.here; deny all; } location ~ ^/pagespeed_admin { allow 127.0.0.1; allow my.ip.address.here; deny all; } location ~ ^/pagespeed_global_admin { allow 127.0.0.1; allow my.ip.address.here; deny all; } location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" { set $no_cache 1; add_header "" ""; } location ~ "^/pagespeed_static/" { } location ~ "^/ngx_pagespeed_beacon$" { } location = /nekomata { allow 127.0.0.1; allow my.ip.address.here; allow my.second.address.here; deny all; stub_status; } location ~ ^/(status001|ping|nxg_nekomata)$ { access_log /var/www/mydomain.com/logs/access-status.log; allow 127.0.0.1; allow my.ip.address.here; allow my.second.address.here; deny all; include snippets/fastcgi-mydomain.conf; } location ~* /xmlrpc.php$ { allow 127.0.1.1; allow 127.0.0.1; allow ::1; allow my.second.address.here; deny all; include snippets/fastcgi-mydomain.conf; } location ~* /(?:uploads|files|wp-content|wp-includes|akismet)/.*.php$ { deny all; } location ~ /\.(svn|git)/* { deny all; } location ~ /\. {deny all; } location ~ ([^/]*)sitemap(.*)\.x(m|s)l$ { rewrite ^.*/sitemaps\.xml$ /index.php?seopress_sitemap=1 last; rewrite ^.*/news.xml$ /index.php?seopress_news=$1 last; rewrite ^.*/video.xml$ /index.php?seopress_video=$1 last; rewrite ^.*/author.xml$ /index.php?seopress_author=$1 last; rewrite ^.*/sitemaps_xsl\.xsl$ /index.php?seopress_sitemap_xsl=1 last; rewrite ^.*/([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?seopress_cpt=$1_paged=$2 last; } location /wp-json/ { try_files $uri $uri/ /index.php$is_args$args; } location ~* ^/wp-content/uploads/.*.(html|htm|shtml|php|js|swf)$ {deny all;} location ~* ^/(wp-content)/(.*?)\.(zip|tar|bzip2|7z)\$ {deny
[GitHub] [incubator-pagespeed-ngx] bigretromike commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.
bigretromike commented on issue #1755: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1336218387 > In the last config you posted: > > > > pagespeed RewriteLevel CoreFilters; > > > pagespeed RewriteLevel OptimizeForBandwidth; > > Both at the same time, don¡t know what is the result. > > In the config directives you have > > > > pagespeed **CacheFragment web-cache-fragment;** > > But in the error logs there is > > > > HTTPCache key=http://mydomain.com/wp-content/uploads/2022/06/aot_manga.png f**ragment=ohayo-cache-fragment:** > > > remembering recent failure for 119 seconds. W > > Seems to be from another server config. Nah they are the same, I just redacted that name out for my reasones sorry. ``` pagespeed RewriteLevel CoreFilters; pagespeed RewriteLevel OptimizeForBandwidth; ``` Yes I can change that, let me read about it -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] Lofesa commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.
Lofesa commented on issue #1755: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1336116669 In the last config you posted: >> pagespeed RewriteLevel CoreFilters; >> pagespeed RewriteLevel OptimizeForBandwidth; Both at the same time, don¡t know what is the result. In the config directives you have >> pagespeed **CacheFragment web-cache-fragment;** But in the error logs there is >> HTTPCache key=http://mydomain.com/wp-content/uploads/2022/06/aot_manga.png f**ragment=ohayo-cache-fragment:** >> remembering recent failure for 119 seconds. W Seems to be from another server config. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] bigretromike commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.
bigretromike commented on issue #1755: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1335977544 Currently I have the biggest luck while adding `pagespeed LoadFromFileMatch "^https?://mydomain.com/([^/]*)" "/var/www/web/\\1"; While pagespeed fetch content thru http FileMatch handles that ? And I can access shrinked images like `images1-300x300.webp.pagespeed.ic.0AWUmE4KLo.webp` I still have no clue why pagespeed inssist to use **http** I double checked if something is wrong or not with port 80, but it looks like its all disabled: ` curl -sS -D- -o /dev/null "http://mydomain.com/wp-content/uploads/2021/08/ximage-1-150x146.webp.pagespeed.ic.DWGeCUiHFr.webp"` `curl: (7) Failed to connect to mydomain.com port 80: Connection refused` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] bigretromike commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.
bigretromike commented on issue #1755: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1335874518 I'm trying to make it not work with minimal setup; ``` http { pagespeed on; pagespeed PreserveUrlRelativity on; pagespeed Statistics on; pagespeed StatisticsLogging on; pagespeed StatisticsLoggingIntervalMs 6; pagespeed StatisticsLoggingMaxFileSizeKb 1024; pagespeed LogDir /var/log/pagespeed; pagespeed AdminPath /pagespeed_admin; pagespeed StatisticsPath /nxg_nekomata; pagespeed FileCacheSizeKb102400; pagespeed FileCacheCleanIntervalMs 360; pagespeed FileCacheInodeLimit50; pagespeed LRUCacheKbPerProcess 10240; pagespeed LRUCacheByteLimit16384; pagespeed MemcachedThreads 1; pagespeed MemcachedServers "127.0.0.1:11211"; pagespeed MemcachedTimeoutUs 100; pagespeed RewriteLevel CoreFilters; pagespeed UsePerVhostStatistics on; pagespeed EnableFilters debug; pagespeed MessageBufferSize 10; pagespeed RewriteLevel OptimizeForBandwidth; pagespeed HttpCacheCompressionLevel 9; pagespeed InPlaceResourceOptimization off; pagespeed CacheFragment web-cache-fragment; pagespeed LogDir "/var/log/pagespeed"; pagespeed CreateSharedMemoryMetadataCache "/var/www/web/mod_pagespeed/" 1024000; pagespeed NumRewriteThreads 6; pagespeed ImageMaxRewritesAtOnce 3; pagespeed EnableCachePurge on; pagespeed ListOutstandingUrlsOnError on; pagespeed Domain https://mydomain.com; server { pagespeed FileCachePath /run/nginx-pagespeed-web; pagespeed FetchHttps enable,allow_unknown_certificate_authority,allow_self_signed,allow_certificate_not_yet_valid; pagespeed SslCertDirectory /etc/pki/tls/certs; pagespeed SslCertFile /etc/pki/tls/cert.pem; pagespeed FetcherTimeoutMs 1; pagespeed AddResourceHeader "x-content-type-options" "nosniff"; pagespeed Allow "*"; pagespeed Disallow "*/wp-includes/js/wp-util.js*"; pagespeed Disallow "https://mydomain.com/*.pagespeed.*.js;; pagespeed Disallow "*/js/jquery/jquery.js*"; pagespeed Disallow "*/js/jquery/jquery.min.js*"; pagespeed Disallow "*/wp-content/plugins/smart-slider-3/*"; pagespeed Disallow "*/seal.js"; pagespeed Disallow "*/kirki/modules/webfont-loader/vendor-typekit/webfontloader.js"; pagespeed Disallow "*/wp-includes/js/dist/*"; pagespeed Disallow "*/wp-includes/js/tinymce/*"; pagespeed Disallow "*/wp-content/plugins/wc-poczta/*"; pagespeed Disallow "*/wp-content/cache/*"; pagespeed Disallow "*/wp-content/uploads/*"; pagespeed Allow "*/wp-content/uploads/2021/*"; pagespeed Allow "*/wp-content/uploads/2022/*"; pagespeed Allow "*/wp-content/uploads/2023/*"; pagespeed Disallow "*/admin-bar.min.css"; pagespeed Disallow "*/dashicons.min.css"; pagespeed Disallow "/wp-admin/*"; pagespeed InPlaceResourceOptimization off; pagespeed StatisticsPath /ngx_pagespeed_statistics; pagespeed MessagesPath /ngx_pagespeed_message; pagespeed ConsolePath /pagespeed_console; pagespeed AdminPath /pagespeed_admin; pagespeed EnableFilters rewrite_javascript; # minify js ``` Console say: `I[Fri, 02 Dec 2022 21:31:45 GMT] [Info] [231995] HTTPCache key=http://mydomain.com/wp-content/uploads/2022/06/aot_manga.png fragment=ohayo-cache-fragment: remembering recent failure for 119 seconds. W[Fri, 02 Dec 2022 21:31:45 GMT] [Warning] [231995] [xaot_manga.png:0] Resource based on http://mydomain.com/wp-content/uploads/2022/06/aot_manga.png but cannot access the original` `http://mydomain.com/produkt/op_080/:1131 srcset entry for 32w: Shrinking image `https://mydomain.com/wp-content/uploads/2021/03/op_079-32x32.jpg' (5709 bytes) to `https://mydomain.com/wp-content/uploads/2021/03/xop_079-32x32.jpg.pagespeed.ic.tmbiBT965m.webp' (612 bytes)` Log say: `[ngx_pagespeed 1.15.0.0-8917] [1202/213145:WARNING:resource_fetch.cc(197)] Fetch failed for resource url http://mydomain.com/wp-content/uploads/2022/06/xaot_manga.png.pagespeed.ic.2j0w7-EoG1.png` ` [ngx_pagespeed 1.15.0.0-8917] [1202/214113:WARNING:resource_fetch.cc(197)] Fetch failed for resource url http://mydomain.com/wp-content/uploads/2021/03/xop_079-32x32.jpg.pagespeed.ic.tmbiBT965m.webp` `[ngx_pagespeed 1.15.0.0-8917] xop_079-32x32.jpg:0:Resource based on http://mydomain.com/wp-content/uploads/2021/03/op_079-32x32.jpg but cannot access the original` Also I added `rewrite_log on;` and i'm trying to debug path that is picked from all my location, but i'm not sure why its not finished: ``` 2022/12/02 21:32:45 [info] 231995#232019: [ngx_pagespeed 1.15.0.0-8917] http://mydomain.com/produkt/op_080/:1131 srcset entry for 32w: Shrinking image `https://mydomain.com/wp-content/uploads/2021/03/op_079-32x32.jpg' (5709 bytes) to
[GitHub] [incubator-pagespeed-ngx] bigretromike commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.
bigretromike commented on issue #1755: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1335691744 > One thing that comes to mind, I had the same problem once. I assume you are using php-fpm with fastcgi. > > I remember vaguely that I had to explicitly force https, in the nginx vhost, `fastcgi_param HTTPS on` replacing `fastcgi_parm HTTPS $https if_not_empty;` with `fastcgi_param HTTPS on;` give no difference -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] Lofesa commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.
Lofesa commented on issue #1755: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1335673646 >> smartslider is excluded from pagespeed because of the compatibility issues, I have done it via: >> >># disable minify etc... >> pagespeed Allow "*"; A bunch of things here. pagespeed Disallow "*.svg*"; pagespeed Disallow "*.php*"; Not needed, because pahespeed mudules does nothing with these files. pagespeed Allow "*.js*"; pagespeed Allow "*.js?ver=*"; pagespeed Allow "*.css*"; pagespeed Allow "*.css?ver=*"; Those with "ver=" are not needed because they are covered with "*.js*"; and "*.css*"; And the ? character must be scaped if used, in the regex , iy matches 1 character. Deom the docs: "Note: Wildcards include * which matches any 0 or more characters, and ?, which matches exactly one character. Unlike Unix shells, the / directory separator is not special, and can be matched by either * or ?. The resources are always expanded into their absolute form before expanding. Note: The wildcard will be matched against the full URL including any query parameters. For example, if you want to match URL http://example.com/index.jsp?test=xyz you could use" And take care with the order of these directives, order matter "The later directives take priority over the earlier ones" -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] eilandert commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.
eilandert commented on issue #1755: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1335435750 One thing that comes to mind, I had the same problem once. I assume you are using php-fpm with fastcgi. I remember vaguely that I had to explicitly force https, in the nginx vhost, `fastcgi_param HTTPS on` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] bigretromike commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.
bigretromike commented on issue #1755: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1335387142 > What do you see in the logs files about this with debug enabled? https://mydomain.com/wp-content/plugins/smart-slider-3/Public/SmartSlider3/Application/Frontend/Assets/dist/smartslider.min.css?ver=23139749 > > in the
[GitHub] [incubator-pagespeed-ngx] Lofesa commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.
Lofesa commented on issue #1755: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1335281673 What do you see in the logs files about this https://mydomain.com/wp-content/plugins/smart-slider-3/Public/SmartSlider3/Application/Frontend/Assets/dist/smartslider.min.css?ver=23139749 in the
[GitHub] [incubator-pagespeed-ngx] bigretromike commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.
bigretromike commented on issue #1755: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1335192674 PageSpeed console still show: ``` http://mydomain.com/:1196: Resized image `https://mydomain.com/wp-content/uploads/2021/04/dgr_001-300x300.jpg' from 300x300 to 237x237 [Fri, 02 Dec 2022 12:52:39 GMT] [Info] [214422] [http://mydomain.com/seria/healin-good-pretty-cure/page/2/:89] Unrecognized script:' 89...93' [Fri, 02 Dec 2022 12:53:35 GMT] [Warning] [214424] [underscore.min.js,qver=1.13.4:0] Resource based on http://mydomain.com/wp-includes/js/underscore.min.js?ver=1.13.4 but cannot access the original [Fri, 02 Dec 2022 12:53:36 GMT] [Warning] [214424] [A.classic-themes.min.css,qver=1:0] Resource based on http://mydomain.com/wp-includes/css/classic-themes.min.css?ver=1 but cannot access the original ``` nginx log: ``` 2022/12/02 12:55:12 [warn] 214423#214480: [ngx_pagespeed 1.15.0.0-8917] [1202/125512:WARNING:resource_fetch.cc(197)] Fetch failed for resource url http://mydomain.com/wp-includes/js/jquery/jquery-migrate.min.js,qver=3.3.2.pagespeed.jm.Ws-UgblvVg.js 2022/12/02 12:55:12 [warn] 214423#214477: [ngx_pagespeed 1.15.0.0-8917] [1202/125512:WARNING:resource_fetch.cc(197)] Fetch failed for resource url http://mydomain.com/wp-includes/js/underscore.min.js,qver=1.13.4.pagespeed.jm.-wWaxZbynX.js 2022/12/02 12:55:12 [warn] 214423#214480: [ngx_pagespeed 1.15.0.0-8917] [1202/125512:WARNING:resource_fetch.cc(197)] Fetch failed for resource url http://mydomain.com/wp-includes/css/dist/block-library/A.style.min.css,qver=6.1.1.pagespeed.cf.s5bSa4kM1r.css 2022/12/02 12:55:12 [warn] 214423#214480: [ngx_pagespeed 1.15.0.0-8917] [1202/125512:WARNING:resource_fetch.cc(197)] Fetch failed for resource url http://mydomain.com/wp-includes/css/A.classic-themes.min.css,qver=1.pagespeed.cf.wMG3qLFv9v.css ``` And I don't think that `http` is hardcoded in logs -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] bigretromike commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.
bigretromike commented on issue #1755: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1335184338 > > `location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" { add_header "" ""; set $no_cache 1; }` > > Can you try: location ~ ^.pagespeed/ { add_header "" ""; set $no_cache 1; } > > For my wordpress instances I use the plugin "SSL Insecure Content Fixer", it rewrites all output links to https. The problem might be somewhere in your mysql database but installing this plugin should fix this easier. I installed `SSL Insecure Content Fixer` but that does nothing for me - the page is SSL compatible with `Green shield` on all browsers. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] bigretromike commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.
bigretromike commented on issue #1755: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1335179959 > > `location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" { add_header "" ""; set $no_cache 1; }` > > Can you try: location ~ ^.pagespeed/ { add_header "" ""; set $no_cache 1; } > > For my wordpress instances I use the plugin "SSL Insecure Content Fixer", it rewrites all output links to https. The problem might be somewhere in your mysql database but installing this plugin should fix this easier. Should I remove old one? because I added yours next to old one, and no difference. @Lofesa I replace scr to image to absolut path with `https` still I see that main page is fetched via http :/ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] bigretromike commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.
bigretromike commented on issue #1755: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1335170891 > A question... How the resources are wruten in the html code? some like src=//mydomain/myimge or src=https://mydomain/myimage ? > > Also why this?: (Note 1 image have http and others have https) > > > > Critical Images: > > > data:image/svg+xml;base64,PHN223== > > > data:image/svg+xml;base64,PHN2Zy== > > > data:image/svg+xml;base64,PHN2Pg== > > > http://mydomain.com/wp-content/uploads/slider/cache/f3c95aed3bef34293901d9e8fe70a1/baner_new-1.webp > > > https://mydomain.com/wp-content/uploads/2021/02/000-300x300.jpg I found that images added to slider are added like this `` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] eilandert commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.
eilandert commented on issue #1755: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1335168878 > `location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" { add_header "" ""; set $no_cache 1; }` Can you try: location ~ ^\.pagespeed/ { add_header "" ""; set $no_cache 1; } For my wordpress instances I use the plugin "SSL Insecure Content Fixer", it rewrites all output links to https. The problem might be somewhere in your mysql database but installing this plugin should fix this easier. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] bigretromike commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.
bigretromike commented on issue #1755: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1335161969 > A question... How the resources are wruten in the html code? some like src=//mydomain/myimge or src=https://mydomain/myimage ? > > Also why this?: (Note 1 image have http and others have https) > > > > Critical Images: > > > data:image/svg+xml;base64,PHN223== > > > data:image/svg+xml;base64,PHN2Zy== > > > data:image/svg+xml;base64,PHN2Pg== > > > http://mydomain.com/wp-content/uploads/slider/cache/f3c95aed3bef34293901d9e8fe70a1/baner_new-1.webp > > > https://mydomain.com/wp-content/uploads/2021/02/000-300x300.jpg I know ! And have no clue why pagespeed does that ! Every link contains schema `https://mydomain.com/.` Also now its also included: ``` ``` As you see it reads main domain/page as http:// even when there is no explicid configuration for http version (there is currently only one page configured on this server which is mydomain.com on port 443 with ssl enabled) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] Lofesa commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.
Lofesa commented on issue #1755: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1335136851 A question... How the resources are wruten in the html code? some like src=//mydomain/myimge or src=https://mydomain/myimage ? Also why this?: (Note 1 image have http and others have https) >> Critical Images: >> data:image/svg+xml;base64,PHN223== >> data:image/svg+xml;base64,PHN2Zy== >> data:image/svg+xml;base64,PHN2Pg== >> http://mydomain.com/wp-content/uploads/slider/cache/f3c95aed3bef34293901d9e8fe70a1/baner_new-1.webp >> https://mydomain.com/wp-content/uploads/2021/02/000-300x300.jpg -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] bigretromike commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.
bigretromike commented on issue #1755: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1335108057 After commenting out `LoadFromFile` random number of images won't show up and page ``` ``` Notice the http in there ^, also the nginx log got those warrnings: ``` 2022/12/02 11:25:13 [warn] 210590#210635: [ngx_pagespeed 1.15.0.0-8917] [1202/112513:WARNING:resource_fetch.cc(197)] Fetch failed for resource url http://mydomain.com/wp-content/plugins/pay-by-paynow-pl/assets/css/A.front.css,qver=2.4.10.pagespeed.cf.gza2uH-eND.css 2022/12/02 11:25:13 [warn] 210590#210635: [ngx_pagespeed 1.15.0.0-8917] [1202/112513:WARNING:resource_fetch.cc(197)] Fetch failed for resource url http://mydomain.com/wp-content/plugins/total-gdpr-compliance/assets/css/A.frontend-style.css,qver=2.0.2.pagespeed.cf.w63jaWGSEN.css 2022/12/02 11:25:13 [warn] 210590#210635: [ngx_pagespeed 1.15.0.0-8917] [1202/112513:WARNING:resource_fetch.cc(197)] Fetch failed for resource url http://mydomain.com/wp-content/plugins/total-gdpr-compliance/assets/css/A.genericons.css,qver=6.1.1.pagespeed.cf.MrUO0k-k7u.css 2022/12/02 11:25:13 [warn] 210590#210635: [ngx_pagespeed 1.15.0.0-8917] [1202/112513:WARNING:resource_fetch.cc(197)] Fetch failed for resource url http://mydomain.com/wp-content/plugins/total-gdpr-compliance/assets/css/font-awesome/A.font-awesome.min.css,qver=6.1.1.pagespeed.cf.nrOL480BpE.css 2022/12/02 11:25:13 [warn] 210590#210638: [ngx_pagespeed 1.15.0.0-8917] [1202/112513:WARNING:resource_fetch.cc(197)] Fetch failed for resource url http://mydomain.com/wp-content/plugins/total-gdpr-compliance/assets/css/A.linear-icon-font.min.css,,qver==6.1.1+jquery.mCustomScrollbar.css,,qver==2.0.2,Mcc.0QxnMDf5Xg.css.pagespeed.cf.xNaISPEV5w.css 2022/12/02 11:25:13 [warn] 210590#210638: [ngx_pagespeed 1.15.0.0-8917] [1202/112513:WARNING:resource_fetch.cc(197)] Fetch failed for resource url http://mydomain.com/wp-content/themes/shoptimizer/A.style.css,qver=2.6.2.pagespeed.cf.1B2M2Y8Asg.css 2022/12/02 11:25:13 [warn] 210590#210638: [ngx_pagespeed 1.15.0.0-8917] [1202/112513:WARNING:resource_fetch.cc(197)] Fetch failed for resource url http://mydomain.com/wp-content/themes/shoptimizer-child-theme/A.style.css,qver=1.2.1.pagespeed.cf.1B2M2Y8Asg.css 2022/12/02 11:25:13 [warn] 210590#210638: [ngx_pagespeed 1.15.0.0-8917] [1202/112513:WARNING:resource_fetch.cc(197)] Fetch failed for resource url http://mydomain.com/wp-content/themes/shoptimizer/assets/css/main/modal.min.css,qver==2.6.2+blocks.min.css,qver==2.6.2.pagespeed.cc.xqWx8SYpYG.css 2022/12/02 11:25:13 [warn] 210590#210638: [ngx_pagespeed 1.15.0.0-8917] [1202/112513:WARNING:resource_fetch.cc(197)] Fetch failed for resource url http://mydomain.com/wp-content/plugins/newsletter/A.style.css,qver=7.5.6.pagespeed.cf.wVC97_uOK5.css 2022/12/02 11:25:13 [warn] 210590#210638: [ngx_pagespeed 1.15.0.0-8917] [1202/112513:WARNING:resource_fetch.cc(197)] Fetch failed for resource url http://mydomain.com/wp-content/plugins/woocommerce-product-bundles/assets/css/frontend/A.checkout-blocks.css,qver=6.16.1.pagespeed.cf.W7pkChSUkO.css 2022/12/02 11:25:13 [warn] 210590#210638: [ngx_pagespeed 1.15.0.0-8917] [1202/112513:WARNING:resource_fetch.cc(197)] Fetch failed for resource url http://mydomain.com/wp-includes/js/jquery/jquery-migrate.min.js,qver=3.3.2.pagespeed.jm.Ws-UgblvVg.js 2022/12/02 11:25:13 [warn] 210590#210638: [ngx_pagespeed 1.15.0.0-8917] [1202/112513:WARNING:resource_fetch.cc(197)] Fetch failed for resource url http://mydomain.com/wp-content/plugins/total-gdpr-compliance/assets/js/frontend-script.js,qver==2.0.2+webfont.js,qver==6.1.1+json2validation.js,qver==6.1.1+jquery.mCustomScrollbar.js,qver==2.0.2.pagespeed.jc.nXwcx6MHRI.js 2022/12/02 11:25:13 [warn] 210590#210638: [ngx_pagespeed 1.15.0.0-8917] [1202/112513:WARNING:resource_fetch.cc(197)] Fetch failed for resource url http://mydomain.com/wp-content/plugins/commercegurus-commercekit/assets/js/popper.min.js,qver==2.1.1+tippy-bundle.umd.min.js,qver==2.1.1.pagespeed.jc._X-YPIn7qA.js 2022/12/02 11:25:13 [warn] 210590#210638: [ngx_pagespeed 1.15.0.0-8917] [1202/112513:WARNING:resource_fetch.cc(197)] Fetch failed for resource url http://mydomain.com/wp-includes/js/underscore.min.js,qver=1.13.4.pagespeed.jm.-wWaxZbynX.js 2022/12/02 11:25:13 [warn] 210590#210638: [ngx_pagespeed 1.15.0.0-8917] [1202/112513:WARNING:resource_fetch.cc(197)] Fetch failed for resource url http://mydomain.com/wp-content/plugins/woocommerce/assets/js/jquery-blockui/jquery.blockUI.min.js,qver=2.7.0-wc.7.1.0.pagespeed.jm.BkSKjHCA_f.js 2022/12/02 11:25:13 [warn] 210590#210638: [ngx_pagespeed 1.15.0.0-8917] [1202/112513:WARNING:resource_fetch.cc(197)] Fetch failed for resource url http://mydomain.com/wp-content/uploads/2022/06/xKaguya-sama_-_Love_is_War_Logo.svg_.png.pagespeed.ic.EHH1d5lnEj.webp 2022/12/02 11:25:13 [warn] 210590#210638: [ngx_pagespeed
[GitHub] [incubator-pagespeed-ngx] bigretromike commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.
bigretromike commented on issue #1755: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1335101733 Configuration from Admin Page ``` Version: 14: on Filters ah Add Head cw Collapse Whitespace cc Combine Css ch Combine Heads jc Combine Javascript gp Convert Gif to Png jp Convert Jpeg to Progressive jw Convert Jpeg To Webp mc Convert Meta Tags pj Convert Png to Jpeg ws When converting images to WebP, prefer lossless conversions dd Dedup Inlined Images di Delay Images ea Elide Attributes ec Cache Extend Css ei Cache Extend Images es Cache Extend Scripts fc Fallback Rewrite Css if Flatten CSS Imports hw Flushes html ci Inline Css gf Inline Google Font CSS ii Inline Images il Inline @import to Link ji Inline Javascript id Insert Image Dimensions js Jpeg Subsampling ll Lazyload Images tu Left Trim Urls cj Move Css Above Scripts cm Move Css To Head co Outline Css pc Add pedantic types pr Prioritize Critical Css rj Recompress Jpeg rp Recompress Png rw Recompress Webp rq Remove Quotes ri Resize Images rm Resize Mobile Images ir Resize to Rendered Image Dimensions rx Responsive Images cf Rewrite Css jm Rewrite External Javascript jj Rewrite Inline Javascript cs Rewrite Style Attributes cu Rewrite Style Attributes With Url cp Strip Image Color Profiles md Strip Image Meta Data Options AdminPath (nap) /pagespeed_admin AvoidRenamingIntrospectiveJavascript (aris) True BeaconUrl (bu) /ngx_pagespeed_beacon CacheFragment (ckp) ohayo-cache CombineAcrossPaths (cp) False CriticalImagesBeaconEnabled (cibe) True DisableRewriteOnNoTransform (drnt) False EnableCachePurge (euci) True EnableRewriting (e) 1 FetcherTimeOutMs (bfto) 1 FetchHttps (fhs) enable,allow_unknown_certificate_authority,allow_self_signed,allow_certificate_not_yet_valid FileCacheCleanIntervalMs (afcci) 360 FileCacheInodeLimit (afcl) 50 FileCachePath (afcp) /run/nginx-pagespeed/ FileCacheSizeKb (afc)102400 HttpCacheCompressionLevel (hccl) 9 ImageMaxRewritesAtOnce (im) 3 InPlaceResourceOptimization (ipro) False LazyloadImagesAfterOnload (llio) True LazyloadImagesBlankUrl (llbu) https://www.gstatic.com/psa/static/1.gif LogDir (ald) /var/log/pagespeed LRUCacheByteLimit (alcb) 16384 LRUCacheKbPerProcess (alcp) 10240 MaxCacheableContentLength (rcl) 16777216 MaxCombinedCssBytes (xcc)92160 MaxCombinedJsBytes (xcj) 192160 MaxSegmentLength (uss) 250 MemcachedServers (ams) 127.0.0.1:11211 MemcachedThreads (amt) 1 MemcachedTimeoutUs (amo) 100 RewriteLevel (l) Core Filters SslCertDirectory (assld) /etc/pki/tls/certs SslCertFile (asslf) /etc/pki/tls/cert.pem Statistics (ase) True StatisticsLogging (asle) True StatisticsLoggingIntervalMs (asli) 6 StatisticsLoggingMaxFileSizeKb (aslfs) 1024 StatisticsPath (nsp) /nxg_stat SupportNoScriptEnabled (snse)False UseExperimentalJsMinifier (uejsm)True Domain Lawyer https://mydomain.com/ Auth Invalidation Timestamp: Fri, 02 Dec 2022 09:27:24 GMT (1669973244968) ``` page with debug parameter: ``` ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] bigretromike commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.
bigretromike commented on issue #1755: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1335087333 Welcome, once again im struggling with this issue, I didn't resolve it but now its even more anoying as I changed server, upgraded nginx, installed the latest and greatest pagespeed module, but still the issue is there. Different machine, different OS, different software version same issue. I will be trying to resolve the issue this time and I will be posting updates with results here. > pagespeed FetchHttps enable; pagespeed SslCertDirectory directory; (directory in Debian based normally is /etc/ssl/certs, Centos /etc/pki/tls/certs pagespeed SslCertFile file; (Only for Red-Hat/Centos distro /etc/pki/tls/cert.pem.) As I changed OS (to RHEL compatible) i added sslcert file, without any difference. I tried adding `pagespeed FetchHttps enable,allow_unkonow_certificate_authority,allow_self_signed,allow_certificate_not_yet_valide;` without difference If I add `pagespeed MapRewriteDomain "https://mydomain.com; "http://mydomain.com"` I get fewer errors in logs about not being able to fetch like this: `[ngx_pagespeed 1.15.0.0-8917] [1202/103400:WARNING:resource_fetch.cc(197)] Fetch failed for resource url http://mydomain.com/wp-content/plugins/total-gdpr-compliance/assets/js/frontend-script.js,qver==2.0.2+webfont.js,qver==6.1.1.pagespeed.jc.-DJsi-JAKD.js` Which is correct because I even disabled HTTP version of the page so I wont have issues because of that. But it shouldnt show up because mydomain.com is 100% https, not a single line of code/dynamic_code/static_code link to http content on the page. If I disable MapRewriteDomain, most of the images doesn't load as it tries to fetch them via http, yet the image is replaces with proper pagespeed link (that include `.pagespeed.` in name) but it does 404 - maybe im missing ngxin location route? The only one pointing to similar content is one located as the first location in mydomain.config file in nginx: `location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" { add_header "" ""; set $no_cache 1; } ` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] bigretromike commented on issue #1760: quick and dirty build instructions
bigretromike commented on issue #1760: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1760#issuecomment-1331274871 @eilandert thanks, Rocky Linux 9 nginx: 1.23.2 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-mod] Lofesa commented on issue #2106: Admin page 500 error
Lofesa commented on issue #2106: URL: https://github.com/apache/incubator-pagespeed-mod/issues/2106#issuecomment-1329583224 Maybe there us a musconfiguration in the apache server. To set admin pages: https://www.modpagespeed.com/doc/admin To set the X-Mod-Pagespeed ModPagespeedXHeaderValue "Powered By mod_pagespeed" -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-mod] ichirugame opened a new issue, #2106: Admin page 500 error
ichirugame opened a new issue, #2106: URL: https://github.com/apache/incubator-pagespeed-mod/issues/2106 I get a 500 Internal Server Error when accessing the admin page. apache error log `[core:error] [pid 1396836:tid 1396999] [client 60.105.163.120:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.` Is it possible to hide the PageSpeed version? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] khrizo commented on issue #1760: quick and dirty build instructions
khrizo commented on issue #1760: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1760#issuecomment-1314711377 @eilandert thanks, working Ubuntu 22.04 nginx version: nginx/1.23.2 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] ronilaukkarinen opened a new issue, #1762: Failure to build against nginx 1.23.2 on Ubuntu 20.04 (focal)
ronilaukkarinen opened a new issue, #1762: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1762 I'm opening a separate issue about this since other issues have been either closed or not resolved and getting a clear consensus on how to proceed is rather "messy" to say the least. Feel free to close and point out to the right main issue if necessary. **Issues:** #1758 #1757 #1756 #1749 #1752 There is a probable solution [here](https://github.com/apache/incubator-pagespeed-ngx/issues/1756#issuecomment-1262083230), but we're not ready to try this kind of experimenting in production environment even during maintenance window. Is it guaranteed it works for Ubuntu 20.04.5 LTS (focal)? We don't know. Is there anyone working on this? Is there a bounty, would be glad to compensate for the effort as this affects for many servers for us. ### Version information Linux distribution: ```shell $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.04 DISTRIB_CODENAME=focal DISTRIB_DESCRIPTION="Ubuntu 20.04.5 LTS" ``` nginx version: ```shell $ sudo nginx -V nginx version: nginx/1.23.2 built by gcc 9.3.0 (Ubuntu 9.3.0-10ubuntu2) built with OpenSSL 1.1.1f 31 Mar 2020 TLS SNI support enabled configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-compat --with-file-aio --with-threads --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_mo dule --with-http_v2_module --with-mail --with-mail_ssl_module --with-stream --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module --with-cc-opt='-g -O2 -fdebug-prefix-map=/data/builder/debuild/nginx-1.23.2/debian/debuild-base/nginx-1.23.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fPIC' --with-ld-opt='-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -pie' ``` ### How to reproduce: 1. Use rather new Ubuntu, tested on Ubuntu 20.04 2. Install nginx 1.23.2 (released 19 Oct 2022, at the moment it's the latest version) via [Official Ubuntu Intsallation instructions on Nginx.org](http://nginx.org/en/linux_packages.html#Ubuntu) 3. Use install script to fetch/install latest ngx-pagespeed: ```bash bash <(curl -f -L -sS https://ngxpagespeed.com/install) \ --nginx-version latest ``` 4. ```shell About to build nginx. Do you have any additional ./configure arguments you would like to set? For example, if you would like to build nginx with https support give --with-http_ssl_module If you do not have any, just press enter. ``` Add following: ```shell --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-compat --with-file-aio --with-threads --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-mail --with-mail_ssl_m odule --with-stream --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module ``` 5. Answer Y to following: ``` Does this look right? [Y/n] Build nginx? [Y/n] Install nginx? [Y/n] ``` Build goes fine, but make install fails badly. See logs below. This also happens on nginx 1.23.1 (released 19 Jul 2022).
[GitHub] [incubator-pagespeed-mod] oschaaf merged pull request #2105: Update Envoy
oschaaf merged PR #2105: URL: https://github.com/apache/incubator-pagespeed-mod/pull/2105 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-mod] oschaaf commented on pull request #2105: Update Envoy
oschaaf commented on PR #2105: URL: https://github.com/apache/incubator-pagespeed-mod/pull/2105#issuecomment-1304568278 In https://source.chromium.org/chromium/chromium/src/+/8de0ee1ed01cd1444d45263207a7a9c8b4d4463c:url/url_canon_stdstring.h;dlc=ec3532203dd162ad783e3318119cf9d5bd8e3633 `SetQuery` is made private; so we no longer can rely on that. Instead we now use `SetQueryStr`. Looking at the change we now pass, but I need to clean up. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-mod] oschaaf commented on pull request #2105: Update Envoy
oschaaf commented on PR #2105: URL: https://github.com/apache/incubator-pagespeed-mod/pull/2105#issuecomment-1304493451 Note: GoogleURL needed to update, because of the GURL api changing, which we pulled in transitively via our Envoy dependency. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-mod] oschaaf merged pull request #2104: Update to Envoy ff49762696b2e6ed3f408a22e1f7a1b7d2487318 (Oct 11th)
oschaaf merged PR #2104: URL: https://github.com/apache/incubator-pagespeed-mod/pull/2104 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-mod] fredddie91 commented on issue #2083: Using automated install for Nginx 1.21.3 - Nginx does not start after successfull build and install - Ubuntu Impish
fredddie91 commented on issue #2083: URL: https://github.com/apache/incubator-pagespeed-mod/issues/2083#issuecomment-1295736324 Hello Guys, any help in fixing the problem? "nginx: [emerg] dlopen() "/usr/share/nginx/modules/ngx_pagespeed.so" failed (/usr/share/nginx/modules/ngx_pagespeed.so: undefined symbol: pthread_mutex_consistent_np) in /etc/nginx/nginx.conf:2 nginx: configuration file /etc/nginx/nginx.conf test failed" I am running nginx version: nginx/1.22.1 and ubuntu version 22.04. Thanks -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-mod] oschaaf opened a new pull request, #2104: Update to Envoy ff49762696b2e6ed3f408a22e1f7a1b7d2487318 (Oct 11th)
oschaaf opened a new pull request, #2104: URL: https://github.com/apache/incubator-pagespeed-mod/pull/2104 - sync .bazelrc - Note: needed to define ABSL_LEGACY_THREAD_ANNOTATIONS. Looks like some of absl's annotations have been renamed - fmt started complaining about StringPiece as an input. Needed to tweak logging and introduce some tech debt to strip newlines at the end of the log line without adding memory copying -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] Danrancan commented on issue #1760: quick and dirty build instructions
Danrancan commented on issue #1760: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1760#issuecomment-1286135757 > wget [https://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz](https://nginx.org/download/nginx-$%7BNGINX_VERSION%7D.tar.gz) --2022-10-20 15:50:59-- http://www.tiredofit.nl/psol-$%7BPSOL%7D.tar.xz Resolving www.tiredofit.nl (www.tiredofit.nl)... 185.10.51.122 Connecting to www.tiredofit.nl (www.tiredofit.nl)|185.10.51.122|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2022-10-20 15:50:59 ERROR 404: Not Found. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] ronilaukkarinen commented on issue #1756: make: *** [Makefile:16: modules] Error 2 when compiling module only against patch aarch64 PSOL Libraries
ronilaukkarinen commented on issue #1756: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1756#issuecomment-1274901596 @oschaaf Any progress? @eilandert We decided not to try your procedure in production... we have Ubuntu 20.04.5 LTS (focal), x86_64. This should be fixed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] danidorado commented on issue #1749: incubator-pagespeed-ngx-module not compatible with nginx 1.23.0
danidorado commented on issue #1749: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1749#issuecomment-1274210169 It's compiled but i can't make js and css minification, probably images also. I'm getting this info message for almost all resources [Mon, 27 Jun 2022 21:52:58 GMT] [Info] [19134] No permission to rewrite ' https://shopdiggers.com/wp-includes/blocks/navigation/view.min.js' Because i have an AWS ALB in front of the instance i do all the security layer at the ALB with AWS SSL certificates, so by then traffic goes under port 80 inside the vpc I hope someone could through some light about what is going on This are my global settings #pagespeed CreateSharedMemoryMetadataCache "/mnt/ramdisk/pagespeedcache/" 100; #pagespeed DefaultSharedMemoryCacheKB 15; pagespeed FileCacheSizeKb 2048000; pagespeed FileCacheCleanIntervalMs 3600; pagespeed FileCacheInodeLimit 50; pagespeed LRUCacheKbPerProcess 8192; pagespeed LRUCacheByteLimit 16384; pagespeed RedisServer "X"; pagespeed RedisDatabaseIndex 5; pagespeed RedisReconnectionDelayMs 1; pagespeed RedisTimeoutUs 50; pagespeed RedisTTLSec 10; pagespeed ImplicitCacheTtlMs 3153600; pagespeed LoadFromFileCacheTtlMs 3153600; pagespeed ImageMaxRewritesAtOnce -1; pagespeed HttpCacheCompressionLevel 9; pagespeed StatisticsPath /ngx_pagespeed_statistics; pagespeed GlobalStatisticsPath /ngx_pagespeed_global_statistics; pagespeed MessagesPath /ngx_pagespeed_message; pagespeed ConsolePath /pagespeed_console; pagespeed AdminPath /pagespeed_admin; pagespeed GlobalAdminPath /pagespeed_global_admin; pagespeed IproMaxConcurrentRecordings 0; pagespeed EnableCachePurge on; pagespeed PurgeMethod PURGE; pagespeed Statistics on; pagespeed StatisticsLogging on; pagespeed UsePerVhostStatistics on; pagespeed LogDir /var/log/pagespeed; pagespeed MessageBufferSize 20; pagespeed XHeaderValue "Optimized by Golden Gem"; pagespeed on; pagespeed FileCachePath "/mnt/ramdisk/pagespeedcache/"; pagespeed EnableFilters insert_dns_prefetch; pagespeed EnableFilters extend_cache; pagespeed EnableFilters strip_image_meta_data; pagespeed EnableFilters jpeg_subsampling; pagespeed EnableFilters hint_preload_subresources; pagespeed UseNativeFetcher on; pagespeed FetcherTimeoutMs 2000; pagespeed RewriteDeadlinePerFlushMs 5; resolver 8.8.8.8; This are my settings at the VHOST server { #listen 443 ssl http2; #listen [::]:443 ssl http2; listen 80; server_name shopdiggers.com; root /var/www/shopdiggers; index index.php index.html index.htm; expires $expires; location / { try_files $uri $uri/ /index.php?$args; } # Needs to exist and be writable by nginx. Use tmpfs for best performance. pagespeed RedisReconnectionDelayMs 500; pagespeed ImplicitCacheTtlMs 3153600; pagespeed LoadFromFileCacheTtlMs 3153600; # Ensure requests for pagespeed optimized resources go to the pagespeed handler # and no extraneous headers get set. location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" { add_header "" ""; } location ~ "^/pagespeed_static/" { } location ~ "^/ngx_pagespeed_beacon$" { } pagespeed on; pagespeed MaxCombinedJsBytes 30; pagespeed MaxCombinedCssBytes -1; pagespeed MaxSegmentLength 1500; #pagespeed UseExperimentalJsMinifier on; pagespeed CombineAcrossPaths on; #pagespeed SslCertDirectory /etc/sslmate/; #pagespeed SslCertFile shopdiggers.com.chained.crt; pagespeed FetchHttps enable,allow_self_signed,allow_unknown_certificate_authority,allow_certificate_not_yet_valid; pagespeed MapOriginDomain http://shopdiggers.com https://shopdiggers.com; pagespeed Domain shopdiggers.com; pagespeed LoadFromFile "https://shopdiggers.com; "/var/www/shopdiggers/"; pagespeed EnableFilters strip_image_color_profile; pagespeed EnableFilters move_css_to_head,move_css_above_scripts,flatten_css_imports; pagespeed EnableFilters rewrite_javascript,rewrite_css,rewrite_images; pagespeed EnableFilters combine_javascript,combine_css; pagespeed EnableFilters
[GitHub] [incubator-pagespeed-ngx] Lofesa commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.
Lofesa commented on issue #1755: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1272581495 >> [http://redacted/produkt/j0inya006m/:103] Unrecognized script:'> 103...107' This has nothing to do qith the issue, Pagespeed only recognizes javascript, so anything in script tags no javascript is unrecognized Can you try adding ?PageSpeedFilters=+debug to the request? https://redacted/someàge/?PageSpeedFilters=+debug (NOTE: PageSpeedFilters is case sensitive, must be as you see here) Make some hits qith this parameter and then take a look at the hatml code. Debug messages appears as htmk comments. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] bigretromike commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.
bigretromike commented on issue #1755: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1272088924 I comment out every MapRewriteDomain and LoadFromFile. I disabled: ``` pagespeed EnableFilters rewrite_domains; pagespeed DomainRewriteHyperlinks on; pagespeed LoadFromFileCacheTtlMs 360; # 1h = 3600 000 pagespeed LoadFromFileRuleMatch disallow .*; pagespeed LoadFromFileRuleMatch allow \.css$; pagespeed LoadFromFileRuleMatch allow \.webp$; pagespeed LoadFromFileRuleMatch allow \.png$; pagespeed LoadFromFileRuleMatch allow \.jpg$; pagespeed LoadFromFileRuleMatch allow \.js$; ``` reloaded, yet still pagespeed try to parse http content even when every http request is redirected to https, I have no idea why.. maybe its bug in printing log ? ```[http://redacted/produkt/j0inya006m/:103] Unrecognized script:' 103...107'``` when you paste `http://redacted/produkt/j0inya006m/` to browser you get 301 to `https://redacted/produkt/j0inya006m/` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] bigretromike commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.
bigretromike commented on issue #1755: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1269343264 Yes, I do have 301 redirection from http version to https. I also have www to non-www version 301 redirect. ``` if ($host = www.redacted) { return 301 https://$host$request_uri; } # managed by Certbot if ($host = redacted) { return 301 https://$host$request_uri; } # managed by Certbot ``` Still the issue is present. Imo with or without http version pagespeed should try to optimize the protocol that it was given. not the one he detects (or not) because any non-https traffic is 301 onto https thats why its a secret to my why he does anything on http. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] antoniovalenzuela commented on issue #1761: Server Header Override
antoniovalenzuela commented on issue #1761: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1761#issuecomment-1264350823 Reeplace in src sed -i 's@"nginx/"@"-/"https://github.com/g' src/core/nginx.h sed -i 's@r->headers_out.server == NULL@0@g' src/http/ngx_http_header_filter_module.c sed -i 's@r->headers_out.server == NULL@0@g' src/http/v2/ngx_http_v2_filter_module.c -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] antoniovalenzuela closed issue #1761: Server Header Override
antoniovalenzuela closed issue #1761: Server Header Override URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1761 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] antoniovalenzuela commented on issue #1761: Server Header Override
antoniovalenzuela commented on issue #1761: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1761#issuecomment-1264350748 Reeplace in src sed -i 's@"nginx/"@"-/"@g' src/core/nginx.h sed -i 's@r->headers_out.server == NULL@0@g' src/http/ngx_http_header_filter_module.c sed -i 's@r->headers_out.server == NULL@0@g' src/http/v2/ngx_http_v2_filter_module.c -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] antoniovalenzuela opened a new issue, #1761: Server Header Override
antoniovalenzuela opened a new issue, #1761: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1761 pagespeed override the "more_clear_headers" module Test options, but header returns "Server: Nginx" more_clear_headers Server; more_set_headers "Server:"; Nginx v1.22.1 pagespeed v1.13.35.2 ![image](https://user-images.githubusercontent.com/28113584/193378221-669496cf-8a9a-4944-a59f-a1825a3d4b18.png) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] bigretromike commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.
bigretromike commented on issue #1755: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1264042708 > Sorry for commig too late, but have personal issues that make me out of internet for some time. > > The site runs in https, so why have you: > > pagespeed MapRewriteDomain "https://redacted; "http://redacted;; pagespeed LoadFromFile "http://redacted/wp-content/; "/var/www/wp-content/"; > > MapRewriteDomain makes any ocurrence of http://redacted is rewrited as https://redacted, but if the site runs w/o any proxy, ssl end point or similar thing, why you have http resources in an https page? > > The error you have posted say this: > > `# [Warning] [1502319] [image.webp:0] Resource based on http://redacted/wp-content/uploads/2022/07/image.webp but cannot access the original` > > So pagespeed is searching for a http resource. Thanks for replay, better than newer. 1. `pagespeed MapRewriteDomain "https://redacted/; "http://redacted/";` I added it was suggested on other forums to maybe "force" any http request to https - with or without there is no changes looks like I leave those uncommented. 2. `pagespeed LoadFromFile "http://redacted/wp-content/; "/var/www/wp-content/";` even if the page serve content thru https, the fallback to http made it tricky as it is same server for http/https content but I would prefer all traffic go thry https so I mapped http url location to local path, also another thing that I tested with and without, and this one cut a lot of errors. still did not resolve issue with https page getting called back by pagespeed thru http. 3. Yes, page does run without proxy, the page runs fine on http also but it is servered via https without any content pointing to http (aka no mixed content) 4. both https and http for `redacted/wp-content/uploads/2022/07/image.webp` is available. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-mod] ckajinam commented on issue #2103: Trouble updating pagespeed to support SSL
ckajinam commented on issue #2103: URL: https://github.com/apache/incubator-pagespeed-mod/issues/2103#issuecomment-1263556327 Thanks for the response. I was able to extract the binaries from a beta deb package and put those in place of the existing ones. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-mod] eilandert commented on issue #2103: Trouble updating pagespeed to support SSL
eilandert commented on issue #2103: URL: https://github.com/apache/incubator-pagespeed-mod/issues/2103#issuecomment-1262861137 You can probably do: ar x mod-pagespeed-stable_current_amd64.deb it will give you a data.tar.gz, you can extract the apache module from there and put it in the right place. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-mod] eilandert commented on issue #2083: Using automated install for Nginx 1.21.3 - Nginx does not start after successfull build and install - Ubuntu Impish
eilandert commented on issue #2083: URL: https://github.com/apache/incubator-pagespeed-mod/issues/2083#issuecomment-1262856366 https://github.com/apache/incubator-pagespeed-ngx/issues/1760 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] eilandert commented on issue #1743: Building on newer glibc (eg. Ubuntu 21.10 and above)
eilandert commented on issue #1743: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1743#issuecomment-1262837938 @GwynethLlewelyn the pthread_yield error is directly linked to glibc, in my first post I changed HAVE_PTHREAD_YIELD from 1 to 0 when compiling the PSOL library, I remember clearly it did not work with PTHREAD_YIELD enabled. I haven't had the time to check HTTP/3 support, I am still waiting for it to appear in NGINX Mainline ;-) But even then it will probably not work with standard OpenSSL3.0, so I need to package https://github.com/quictls/openssl/ or use BoringSSL (which also doesn't have package afaik) and didn't want to go there yet ;-) So I am curious for your build instructions for HTTP/3 ;-) (especially the parts of not breaking pagespeed) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] GwynethLlewelyn commented on issue #1743: Building on newer glibc (eg. Ubuntu 21.10 and above)
GwynethLlewelyn commented on issue #1743: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1743#issuecomment-1262768628 @eilandert: it went remarkably well, thanks for your 'special' compilation! @mactrash: In the meantime, I've focused on 1.23.1 and left 1.22.X (because, well, it had some issues with newer versions of _other_, non-PageSpeed-related modules that I needed). Are you sure you have used @eilandert's PSOL compilation? I'm just asking since you get the error precisely while compiling PSOL. On the other hand, the error you got is related to the `pthread` library. So... - What GCC version do you have? I'm using 11.2.0, which is the current one on Ubuntu 22.04, AFAIK. - Did you install the dev version of `pthread`? If not, `sudo apt-get install libpthread-stubs0-dev`(see also [a thread on StackOverflow ](https://stackoverflow.com/questions/35932258/how-to-install-libpthread-a-in-ubuntu-14-04)— it's ancient, but nevertheless relevant) - Can you check if you GCC/linker is, indeed, [calling the correct option for linking with `libpthread.a`](https://stackoverflow.com/questions/1662909/undefined-reference-to-pthread-create-in-linux)? Or maybe you are _not_ using @eilandert's PSOL compilation after all? See #1760 — he's gone through all that trouble to get the only working PSOL compilation so far, and, AFAIK, there is no 'easy' alternative (for now), at least not until the pagespeed core developers wake up to the reality of a newer `glibc` version (a quick search on that error of yours on Google links to GitHub: namely, to this very rep, issue #1759!) I'll be posting some additional compilation instructions for those bold enough to try `nginx` with full HTTP/3 support _and_ PageSpeed, but, alas, this will be a bit beyond the scope of _this_ rep — I'll crosslink to the discussion elsewhere once I'm finished with those... Note, however, that my own compilation is (obviously!) pretty much built upon @eilandert's instructions, and it wouldn't have worked without his PSOL compilation; the rest is mostly a few more hacks to get HTTP/3 support _without_ breaking PageSpeed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] eilandert commented on issue #1756: make: *** [Makefile:16: modules] Error 2 when compiling module only against patch aarch64 PSOL Libraries
eilandert commented on issue #1756: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1756#issuecomment-1262083230 > FYI, [this](https://github.com/apache/incubator-pagespeed-ngx/issues/1752#issuecomment-1261555231) seems worth trying. The procedure on https://github.com/apache/incubator-pagespeed-ngx/issues/1760 should work, however the PSOL I provide there is compiled on x64 so you need to change the downloadlink for the aarch64 psol -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] Lofesa commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.
Lofesa commented on issue #1755: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1262053226 Sorry for commig too late, but have personal issues that make me out of internet for some time. The site runs in https, so why have you: pagespeed MapRewriteDomain "https://redacted; "http://redacted;; pagespeed LoadFromFile "http://redacted/wp-content/; "/var/www/wp-content/"; MapRewriteDomain makes any ocurrence of http://redacted is rewrited as https://redacted, but if the site runs w/o any proxy, ssl end point or similar thing, why you have http resources in an https page? The error you have posted say this: # [Warning] [1502319] [image.webp:0] Resource based on http://redacted/wp-content/uploads/2022/07/image.webp but cannot access the original So pagespeed is searching for a http resource. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] ronilaukkarinen commented on issue #1756: make: *** [Makefile:16: modules] Error 2 when compiling module only against patch aarch64 PSOL Libraries
ronilaukkarinen commented on issue #1756: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1756#issuecomment-1261929182 FYI, [this](https://github.com/apache/incubator-pagespeed-ngx/issues/1752#issuecomment-1261555231) seems worth trying. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] eilandert commented on issue #1717: Could not complete the build
eilandert commented on issue #1717: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1717#issuecomment-1261568423 I cooked some build instructions in https://github.com/apache/incubator-pagespeed-ngx/issues/1760 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] eilandert commented on issue #1759: undefined reference to `pthread_yield'
eilandert commented on issue #1759: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1759#issuecomment-1261567187 I cooked some build instructions in https://github.com/apache/incubator-pagespeed-ngx/issues/1760 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] eilandert commented on issue #1743: Building on newer glibc (eg. Ubuntu 21.10 and above)
eilandert commented on issue #1743: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1743#issuecomment-1261556294 I cooked some build instructions in https://github.com/apache/incubator-pagespeed-ngx/issues/1760 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] eilandert commented on issue #1752: Problem with automatic installer.
eilandert commented on issue #1752: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1752#issuecomment-1261555231 > @eilandert I saw your psol build for Ubuntu 22, thanks for your work! Please, can you make a tip how to build ngx_pagespeed from git sources for nginx 1.23.0? Automatic installer from repo fails on this issue too :c I cooked something up in https://github.com/apache/incubator-pagespeed-ngx/issues/1760 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] eilandert commented on issue #1760: quick and dirty build instructions
eilandert commented on issue #1760: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1760#issuecomment-1261450255 > Thank you, confirmed present. > > Could you please append that info (different extension) to the initial post as well? Thanks for your input, but I'll recompress everything with .xz , it saves nearly half of the traffic :-) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] df-a commented on issue #1760: quick and dirty build instructions
df-a commented on issue #1760: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1760#issuecomment-1261387679 Thank you, confirmed present. Could you please append that info (different extension) to the initial post as well? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] eilandert commented on issue #1760: quick and dirty build instructions
eilandert commented on issue #1760: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1760#issuecomment-1261383537 > Thank you, now it downloaded psol-jammy. > > I assume to download focal/bionic/xenial you just have to change "jammy" to one of those keywords? If so, all other 3 are 404 > > Example focal: > > ``` > $ wget http://www.tiredofit.nl/psol-focal.tar.xz > --2022-09-28 15:29:07-- http://www.tiredofit.nl/psol-focal.tar.xz > Resolving www.tiredofit.nl (www.tiredofit.nl)... 2a01:7c8:aaaf:2af::1, 185.10.51.122 > Connecting to www.tiredofit.nl (www.tiredofit.nl)|2a01:7c8:aaaf:2af::1|:80... connected. > HTTP request sent, awaiting response... 404 Not Found > 2022-09-28 15:29:07 ERROR 404: Not Found. > ``` Hi @df-a , Jammy is .tar.xz, the others are tar.gz -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] df-a commented on issue #1760: quick and dirty build instructions
df-a commented on issue #1760: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1760#issuecomment-1261379099 > > Thank you for the effort > > However, no link on tiredofit.nl works > > eilander@build:/tmp$ wget http://www.tiredofit.nl/psol-jammy.tar.xz --2022-09-28 21:24:32-- http://www.tiredofit.nl/psol-jammy.tar.xz Resolving [www.tiredofit.nl](http://www.tiredofit.nl) ([www.tiredofit.nl](http://www.tiredofit.nl))... 2a01:7c8:aaaf:2af::1, 185.10.51.122 Connecting to [www.tiredofit.nl](http://www.tiredofit.nl) ([www.tiredofit.nl)|2a01:7c8:aaaf:2af::1|:80](http://www.tiredofit.nl)%7C2a01:7c8:aaaf:2af::1%7C:80)... connected. HTTP request sent, awaiting response... 200 OK Length: 10417468 (9.9M) [application/octet-stream] Saving to: ‘psol-jammy.tar.xz’ > > psol-jammy.tar.xz 100%[>] 9.93M 44.1MB/s in 0.2s > > strange, seems to work here As http yes, it does work. Only psol-jammy.tar.xz is there though -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] df-a commented on issue #1760: quick and dirty build instructions
df-a commented on issue #1760: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1760#issuecomment-1261377203 Thank you, now it downloaded psol-jammy. I assume to download focal/bionic/xenial you just have to change "jammy" to one of those keywords? If so, all other 3 are 404 Example focal: ``` $ wget http://www.tiredofit.nl/psol-focal.tar.xz --2022-09-28 15:29:07-- http://www.tiredofit.nl/psol-focal.tar.xz Resolving www.tiredofit.nl (www.tiredofit.nl)... 2a01:7c8:aaaf:2af::1, 185.10.51.122 Connecting to www.tiredofit.nl (www.tiredofit.nl)|2a01:7c8:aaaf:2af::1|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2022-09-28 15:29:07 ERROR 404: Not Found. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] eilandert commented on issue #1760: quick and dirty build instructions
eilandert commented on issue #1760: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1760#issuecomment-1261368263 > Thank you for the effort > > However, no link on tiredofit.nl works sorry, should be http instead of https, will edit the post -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] df-a commented on issue #1760: quick and dirty build instructions
df-a commented on issue #1760: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1760#issuecomment-1261343407 Thank you for the effort However, no link on tiredofit.nl works -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] eilandert commented on issue #1758: can't build incubator-pagespeed-ngx-latest-stable (Aug 17) with nginx 1.23.1
eilandert commented on issue #1758: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1758#issuecomment-1257198159 > Both the automated installer as the instructions on the install page are broken for nginx 1.23.x. The installer in /script is broken as well. > > Can somebody please post their build instructions (as eilandert has succesfully build a compatible version from master) or update the auto installer / instructions? I fixed an example here: https://github.com/apache/incubator-pagespeed-ngx/issues/1760 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] eilandert opened a new issue, #1760: quick and dirty build instructions
eilandert opened a new issue, #1760: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1760 On popular demand, build instructions Don't forget builddependencies like uuid-dev (apt install uuid-dev) If you are on a newer glibc you need psol-jammy.tar.xz, if you are on an older glibc you can try psol-bionic.tar.gz or psol-focal.tar.gz mkdir -p /opt/build cd /opt/build wget https://nginx.org/download/nginx-1.23.1.tar.gz wget http://www.tiredofit.nl/psol-jammy.tar.xz git clone https://github.com/apache/incubator-pagespeed-ngx.git tar xvf psol-jammy.tar.xz mv psol incubator-pagespeed-ngx tar zxvf nginx-1.23.1.tar.gz cd nginx-1.23.1 ./configure --add-dynamic-module=../incubator-pagespeed-ngx make modules If you do: ls -al objs you should see: ngx_pagespeed.so -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] Kerberus35 commented on issue #1758: can't build incubator-pagespeed-ngx-latest-stable (Aug 17) with nginx 1.23.1
Kerberus35 commented on issue #1758: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1758#issuecomment-1257171543 Both the automated installer as the instructions on the install page are broken. Can somebody please post their build instructions (as eilandert has succesfully build a compatible version from master) or update the auto installer / instructions? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] mactrash commented on issue #1743: Building on newer glibc (eg. Ubuntu 21.10 and above)
mactrash commented on issue #1743: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1743#issuecomment-1257029237 @GwynethLlewelyn For 1.22.0 how can you make it work? I got the error as below /usr/bin/ld: /root/incubator-pagespeed-ngx-latest-stable/psol/lib/Release/linux/x64/pagespeed_automatic.a(107.thread.o.o): in function `pagespeed_ol_apr_thread_yield': thread.c:(.text.apr_thread_yield+0x1): undefined reference to `pthread_yield' collect2: error: ld returned 1 exit status make[1]: *** [objs/Makefile:323: objs/nginx] Error 1 make[1]: Leaving directory '/root/nginx-1.22.0' make: *** [Makefile:10: build] Error 2 Error: Failure running 'make', exiting. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] mactrash commented on issue #1743: Building on newer glibc (eg. Ubuntu 21.10 and above)
mactrash commented on issue #1743: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1743#issuecomment-1257007551 @GwynethLlewelyn I am 22.04.1 And just try 1.23.1 and it results some error like ngx_table_elt_t** {aka ngx_table_elt_s**} make[1]: *** [objs/Makefile:1493: objs/addon/src/ngx_pagespeed.o] Error 1 May I know how can you fix it? Many thanks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] StathisIoannidis commented on issue #1419: error --with-http_ssl_module', exiting and error: SSL modules require the OpenSSL
StathisIoannidis commented on issue #1419: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1419#issuecomment-1255177348 @oschaaf Can you please elaborate on above comment "You need to install the libssl-dev package if you want to have ssl support in nginx." I spent the entire morning trying to add a third party module to Nginx(ngx_http_ssl_module), as Im getting -- nginx: [emerg] the "ssl" parameter requires ngx_http_ssl_module --. Would installing libssl-dev package solve my issue? Thanks a lot !! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] phamgiang2510 commented on issue #1758: can't build incubator-pagespeed-ngx-latest-stable (Aug 17) with nginx 1.23.1
phamgiang2510 commented on issue #1758: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1758#issuecomment-1254657227 > > The fact that Pagespeed module is not supported by Nginx 1.23.x for months should make everyone abandon this module altogether because it has been abandoned by the devs already. Is Google too broke to hire a dev or two to maintain one of the most important nginx modules out there? > > What are you talking about? This has been fixed in June. #1751 > > ngx_pagespeed 1.15.0.0-8917 nginx version: nginx/1.23.1 built with OpenSSL 3.0.5 5 Jul 2022 How did you install it? I still get this error with Ubuntu 22.04 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] johndahl147 commented on issue #1758: can't build incubator-pagespeed-ngx-latest-stable (Aug 17) with nginx 1.23.1
johndahl147 commented on issue #1758: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1758#issuecomment-1250517974 I'm having this same error. The fix is not working for me. Error 1 make[1]: Leaving directory '/root/nginx-1.23.1' make: *** [Makefile:10: build] Error 2 Error: Failure running 'make', exiting. @eilandert -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-mod] ckajinam opened a new issue, #2103: Trouble updating pagespeed to support SSL
ckajinam opened a new issue, #2103: URL: https://github.com/apache/incubator-pagespeed-mod/issues/2103 I have a Bitnami Ubuntu server currently running apache and modpagespeed but need to upgrade. I tried installing the latest mod-pagespeed-stable_current_amd64.deb but got an error apache isn't installed and was missing a library. Upgraded to Ubuntu 14.04.6 and that resolved the library issue but recognizing apache still caused me a problem. dpkg doesn't see apache. It's installed in /opt/binami/apache. So, I tried following https://www.modpagespeed.com/doc/build_mod_pagespeed_from_source instructions, but it won't compile. It complains of a missing file. Any chance you might have that file? I searched your source and didn't see it. APR_Pools.h This is the error. pagespeed/system/apr_mem_cache.cc:25:34: fatal error: apr_pools.h: No such file or directory #include "apr_pools.h" // NOLINT ^ compilation terminated. make: *** [out/Release/obj.target/instaweb_system/pagespeed/system/apr_mem_cache.o] Error 1 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] beobungbu commented on issue #1758: can't build incubator-pagespeed-ngx-latest-stable (Aug 17) with nginx 1.23.1
beobungbu commented on issue #1758: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1758#issuecomment-124963 > > The fact that Pagespeed module is not supported by Nginx 1.23.x for months should make everyone abandon this module altogether because it has been abandoned by the devs already. Is Google too broke to hire a dev or two to maintain one of the most important nginx modules out there? > > What are you talking about? This has been fixed in June. #1751 > > ngx_pagespeed 1.15.0.0-8917 nginx version: nginx/1.23.1 built with OpenSSL 3.0.5 5 Jul 2022 how to build from source code on ubuntu 20.04? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] brandnewx commented on issue #1758: can't build incubator-pagespeed-ngx-latest-stable (Aug 17) with nginx 1.23.1
brandnewx commented on issue #1758: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1758#issuecomment-1249955771 > What are you talking about? This has been fixed in June. #1751 Then please submit a new stable release or tag so that people can build a production module from. You expect people to build production module off main branch, didn't you? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org