Hi there,
everytime I vagrant up
my project I need to manually restart nginx, due I am not able to reach https://mydomain.test
hosts file is OK
SSL certificate is self-signed and OK
It is a multisite installation.
Have you got any idea or suggestion?
2 Likes
I’ve also been having this issue with a multisite setup. Using Trellis and Bedrock.
Haven’t been able to figure out why, though! I’ll reply if I find a solution.
Related discussion at roots/trellis#979
2 Likes
@fullyint As you wrote here https://github.com/roots/trellis/issues/979#issuecomment-383458537
I believe adding this to the end of roles/nginx/tasks/main.yml would resolve it:
- name: Enable Nginx to start on boot
service:
name: nginx
enabled: yes
state: started
use: service
It works like a charm. Thanks
2 Likes