Deny executing a script in Nginx

If you have a web server running on Nginx and have a directory which accepts uploading files either from user OR cms. It is always good to have a bit of protection from the server side to deny executing scripts like PHP in that directory.

Continue reading

How to install Nginx in CentOS 7

Nginx is a web server like Apache. I will not go to which is better and why one should use it. Google is your friend to find that out. Here we will focus on how to install latest stable version of Nginx in CentOS 7. Login to your server.

Continue reading

Author's picture

The Random Bits

M M Arif
Programmer, Linux user, DevOps engineer, System admin, Husband, Father.
Join me on Mastodon

Principal Software Engineer