![prevent nginx from .git directory](https://fedingo.com/wp-content/uploads/2022/12/prevent-nginx-from-git-directory.jpg)
Sometimes you may need to prevent NGINX from serving .git directory. Here are the steps to do this.
Often you may need to modify NGINX configuration without restarting server. Here are the steps to do it.
Sometimes you may need to catch all unhandled virtual hosts in NGINX. In this article, we will learn how to set NGINX to catch all unhandled virtual hosts.
Sometimes you may get an error ‘Plain HTTP request was sent to HTTPS port’ in NGINX. Here are the steps to fix it.