Issue
I had a Nginx in a container (on a Ubuntu host) and several server blocks defined. I was tweaking them and wanted to remove them all. But stopping the container and removing the container did not help. The rules I was testing with are still in effect.
Are Nginx configurations being applied to the host as well? How can I remove all the configurations and start from scratch?
Note: I had the conf.d folder mapped to a volume on the host. the configuration file is still available in it.
Solution
As Ivan Shatsky pointed out in the comments, it must have been the browser cache. However, I got rid of the persistent conf file in the volume as well and the nginx effects were gone.
Answered By - PeeBee Answer Checked By - Mary Flores (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.