Nginx : could not build the server_names_hash, you should increase server_names_hash_bucket_size

Error : could not build the server_names_hash, you should increase server_names_hash_bucket_size . Today I have migrated my site to new CentOS 7 powered with Nginx, php-fpm and WordPress. After doing minimal configuration , I tried to restart the Nginx service. But the nginx service failed to restart. Given below is reference from our server [root@server … Read more

Can’t load ‘/usr/local/lib64/perl5/auto/nginx/nginx.so’

While working on Nginx installation from source, I got the following error when I try to run nginx after compilation – [root@localhost nginx-1.6.0]# /usr/sbin/nginx Can’t load ‘/usr/local/lib64/perl5/auto/nginx/nginx.so’ for module nginx: /usr/local/lib64/perl5/auto/nginx/nginx.so: undefined symbol: ngx_http_perl_handle_request at /usr/share/perl5/XSLoader.pm line 68. at /usr/local/lib64/perl5/nginx.pm line 56. Compilation failed in require. BEGIN failed–compilation aborted. nginx: [alert] perl_parse() failed: 255 [root@localhost … Read more

How to run django with nginx

In this tutorial we will learn how to configure nginx with django project in Ubuntu 12.04 LTS . Here in this scenario I have already putted the Django Project code in /opt and before this I installed django from its source code. Actually in this scenario the code was developed in staging machine and I … Read more