≡ Menu

restart nginx

HowTo: Create a Self-Signed SSL Certificate on Nginx For CentOS / RHEL

I operate a small web site on Cloud server powered by CentOS Linux v6.4. I would like to encrypt my site’s information and create a more secure connection. How do I create a self-signed SSL certificate on Nginx for CentOS/Fedora or Red Hat Enterprise Linux based server?
[click to continue…]

Nginx: Block URL Access (wp-admin/wp-login.php) To All Except One IP Address

I am the small business owner and runs my own web-site. I have noticed increased cracking activity against by blog. What’s the best way to block WordPress URLs such as example.com/blog/wp-login.php and example.com/blog/wp-admin/ in the nginx web-server?
[click to continue…]

HowTo: Nginx Redirect All HTTP Request To HTTPS Rewrite Rules

I have setup nginx as a secure reverse proxy server. How do I redirect all http://example.com/ requests (traffic) to https://example.com/ under nginx web server?
[click to continue…]

HowTo: Nginx Webserver Send Charset utf-8 Under Unix

I was told that to improve resource download parallelization in IE8 I need to send the character set to the HTTP Content-Type response header. How do I set charset utf-8 under nginx web server running on Unix like operating systems?
[click to continue…]

Nginx Redirect (Rewrite) Old Domain To New Domain With HTTP 301

I‘ve changed the domain name from long-domain-name-example.com to example.com which is shorter and easy to remember. How do I redirect old domain to new domain with “HTTP/1.1 301 Moved Permanently” status code under nginx web server running on Unix like operating systems?
[click to continue…]

Nginx: Configure and Install With IPv6 Networking Support

How do I configure IPv6 networking under nginx? How do I assign and use an IPv6 address under nginx web server? How do I enable IPv6 Support in nginx?
[click to continue…]

Nginx Force (Redirect) WWW.Domain.COM To Domain.COM

I know how to force and redirect www.example.com to example.com under Lighttpd web server. How do I force nginx web server to redirect www.example.com/page/1/2/3 to example.com/page/1/2/3?
[click to continue…]

Red Hat / CentOS Install nginx PHP5 FastCGI Webserver

How do I install and configure a ngnix FastCGI php5 HTTP / web server under Red Hat / RHEL / Fedora / CentOS Linux?
[click to continue…]

FreeBSD: Nginx FastCGI PHP Configuration

Q. How do I configure PHP as FastCGI under FreeBSD Nginx webserver?
[click to continue…]

FreeBSD: Install PHP xcache Opcode Cacher

Q. How do I install and configure xcache under FreeBSD operating systems for Apache, lighttpd or ngnix web server?
[click to continue…]