Sometimes you may need to prevent NGINX from serving .git directory. Here are the steps to do this.
Nginx
How to Fix NGINX Bind to 0.0.0.0:80 Failed Error
How to Fix NGINX Unable to Load SSL Certificate
How to Change NGINX Config Without Restarting
Often you may need to modify NGINX configuration without restarting server. Here are the steps to do it.
Set NGINX to Catch All Unhandled Virtual Hosts
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.
How to do Case Insensitive Rewrite in NGINX
How to Forward Request to Another Port in NGINX
NGINX Catch All Location
How to Run Multiple PHP Versions in NGINX
How to Fix ‘Plain HTTP Request Was Sent to HTTPS Port’ in NGINX
Sometimes you may get an error ‘Plain HTTP request was sent to HTTPS port’ in NGINX. Here are the steps to fix it.