Category: Tutorials

If you know something why not share it to the world. That’s why we have a dedicated category of tutorials to share knowledge.

Nginx Config (Explained by Example)

Image of NGINX, a web server.

Nginx configuration file located at /etc/nginx/nginx.conf has everything that makes a server flies or sinks. Below we have explained what each directive does. Let’s have a look and fine-tune your settings: Before we hit to configurations directly understand the structure first. HTTP Block: Global configurations. Server Block: Domain level configurations. Add inside the HTTP block.… Read More »

NetworkError: Failed to execute ‘send’ on ‘XMLHttpRequest’

NetworkError: Failed to execute 'send' on 'XMLHttpRequest'

Recently we enhanced our security headers and started facing ‘error in processing request’ in ajax calls. Error text: NetworkError: Failed to execute ‘send’ on ‘XMLHttpRequest’: Failed to load ‘http://masked.url/ajax.php’. (rejected) It seems that the connection to the server has been lost. Please check your network connectivity and server status. After troubleshooting, we found that there… Read More »