2 challenges -- VestaCP apache2 ngnix
2 challenges -- VestaCP apache2 ngnix
Hi All,
I'm using VestaCP(ver 0.98 on Ubuntu 16.04) with only apache2 (for codeigniter app) as webserver.
issue 1: soon after reboot of VPS, apache wont start because port 80 is already using by ngnix (i.e vesta ngnix)
if i manually do "service ngnix stop" followed by "service apache2 start" everything works. how to eliminate this step and make apache2 also just restart like all other services.
issue2:i have issued SSL cert with LetsEncrypt and saved, after which, https is working but not loading css/images etc, also how to enforce https as default for every visitor to site?
Thanks
I'm using VestaCP(ver 0.98 on Ubuntu 16.04) with only apache2 (for codeigniter app) as webserver.
issue 1: soon after reboot of VPS, apache wont start because port 80 is already using by ngnix (i.e vesta ngnix)
if i manually do "service ngnix stop" followed by "service apache2 start" everything works. how to eliminate this step and make apache2 also just restart like all other services.
issue2:i have issued SSL cert with LetsEncrypt and saved, after which, https is working but not loading css/images etc, also how to enforce https as default for every visitor to site?
Thanks