Answer the question
In order to leave comments, you need to log in
Why is nginx reset after vagrant halt?
Set up a virtual machine using Vagrant and the official Ubuntu 16.04 box. I installed nginx from the repository, but in the future I needed to build it from source along with the nginx-rtmp-module module.
No sooner said than done. Removed nginx with the command apt-get remove nginx
Build nginx without problems. The module is working. Worked for a day, did it vagrant halt
, turned off the car. The next day, I turn it on vagrant up
, but nginx does not want to start - it does not recognize the "rtmp_stat" directive.
I execute nginx -V
and see that the nginx-rtmp-module module is not in the list.
And now the strangest thing. Again I delete nginx, I collect from sources - everything works. I do vagrant reload
- everything works ! Calmed down, worked the day, donevagrant halt
turned off the car. The next day, nginx is again without the nginx-rtmp-module.
What's happening?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question