Default config issue with nginx compiled from source

Discussion in 'Installation/Configuration' started by Keen Mouse, Jun 29, 2020.

  1. Keen Mouse

    Keen Mouse New Member

    Ubuntu 18.04.4
    ISPConfig 3.1.15p3

    I have compiled nginx 1.19.0 from source using nginx-autoinstall from angristan so that I could include PageSpeed. The ISPConfig installation seems to run fine, but the web interface is not started. nginx -T shows no server blocks.

    I see that /etc/nginx/nginx.conf has:
    include /etc/nginx/sites-enabled/*;
    But nginx -T shows:
    include /etc/nginx/sites-enabled/*.conf;
    So the *.vhost files are not being loaded, but I'm not sure why this is happening or if anything else is affected. How should I proceed?

  2. Keen Mouse

    Keen Mouse New Member

    Can anyone help with this?
  3. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    I don't use NGINX and only know about pagespeed what I just read from the Interwebs.
    But I do know that it is bad to ask the same question again next day in another thread.
    I use the ready made packages provided by the OS repositories. Installing applications by other means just leads to complications and frustrations.
    But If you must get pagespeed and you have verified it can not be used with the stock Ubuntu nginx package, I would use the Ubuntu method of compiling and installing from source. First compile the source as it is to see the system works, then do the necessary modification to get the added functionality you need. Doing the minimal change to the working package leads to higher change of ending up with a working system.
    For instructions on how to do this, use Internet Search Engines for example with
    ubuntu build package from source
    Same Internet Search Engines with
    ispconfig pagespeed
    also finds results.
  4. Keen Mouse

    Keen Mouse New Member

    I appreciate that you're trying to help. I may sound like a neophyte, but I'm not. I know how to Google.

    I have searched for and looked at possible methods. I was trying to follow the one I found in EckyBrazzz's post here using angristan's nginx-autoinstall script because it looked like the most straightforward and easiest to maintain. I don't know what the chances are of getting help if I post in that four-year-old thread, but I guess it's worth a try.

    I did not post the same question a day after the first. It was two days later, so my inquiry was already getting pushed down and hadn't received any response, and I normally do receive a response faster than that in this forum. I bumped that post and asked a new question. It wasn't the same question at all. I figured people might not know exactly my issue, so I asked for a generally accepted solution to ISPConfig with PageSpeed instead of specifying that it had to be done via angristan's script. There must be one because ISPConfig has a "Make Pagespeed available" option. I guess not many people are doing it.
  5. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

Share This Page