Warning: Redis::connect(): connect() failed: Connection refused in /var/www/com.justinsilver/www/html/wp-content/plugins/nginx-helper/includes/redis-delete.php on line 15
NginX Archives - Justin Silver

Tagged: NginX

Nginx Configuration Monitor

I wanted a way to quickly distribute configuration files to my servers and have Nginx automatically reload. I found a solution for Debian servers and adapted it for CentOS 7 here. You will first...

LEMP: CentOS 7, Nginx PHP7, and Redis for WordPress

Scripts to setup a WordPress server on CentOS 7 with Nginx, PHP/PHP-FPM 7, Redis and more. Firewalld – allow only HTTP/S and SSH traffic Letsencrypt – free SSL certificates Yum Cron – keep system...

Node.js + PM2 + Nginx + Redis on CentOS 7

This is a quick setup guide for the application stack I have been using recently. Most of my latest work has been a throwback to the first server-side programming I did in the 90’s...

Install Jenkins as a Service on CentOS 7

I have previously written about how to Install Jenkins on CentOS as a Service where it was necessary to write your own startup, shutdown, configuration, and init.d scripts. Luckily this is all much easier...

Letsencrypt: Free SSL Certificates for Nginx

I always wanted all of my sites to run over SSL, but it also didn’t seem worth the expense of buying certificates for all the domains I own. Enter Let’s Encrypt which offers free...

Dynamically Update /etc/hosts from Nginx

I wanted to guarantee that requests coming from one of my servers going to a domain they host are routed to localhost. The solution I arrived at was to generate a list of domains...

Nginx Reverse Proxy to Legacy Website

Nginx reverse proxies can be a very powerful tool for many reasons and recently came to the rescue as I was at a loss as to how to provide access to a legacy website when...

GoDaddy SSL Certificates on Nginx

To properly install a GoDaddy SSL certificate on an Nginx install, you will need to include the gd_intermediate.crt and gd_bundle.crt the SSL certificate file for your server. The location of this file can be...

“It appears Minify URL rewriting is not working” in W3TC + Nginx: w3tc_rewrite_test

I am running WordPress on Nginx and using W3TC for caching, however I was consistently getting the error “It appears Minify URL rewriting is not working” in the WordPress admin. After inspecting the code...

502 Bad Gateway on Nginx with BuddyPress

I recently switched over from Apache to NginX for my WordPress hosting, and it was surprisingly easier than I expected. Alongside the W3 Total Cache plugin to handle my minification and object/db caching my...