Hello, I’m getting frustrated over this so I came here to ask,
I installed nginx on my 16.04 Ubuntu server following the instruction from : https://www.modpagespeed.com/doc/build_ngx_pagespeed_from_source to have it with the ngnx_pagespeed plugin built in. As i add certbot to my server and try and obtain certificates it changes something in the conf file of nginx and i dont get the same of before.
The automatic installation from pagespeed install nginx in /usr/local/nginx/sbin/nginx and the conf file is located in /usr/local/nginx/conf/nginx.conf but when i download certbot and run
Also if i try doing
nginx -v
it says nginx/1.10.3 (Ubuntu)
but if i do
/usr/local/nginx/sbin/nginx -v
which is my nginx it says
nginx/1.13.10
So i think i have two nginx now
What I did when I build my pagespeed Nginx from core is that I use all arguments from original Nginx and just replaced that Nginx. (What you are using is creating two Nginx instances)