Nginx
How to Add user and password .htaccess apache-like in Nginx Config
Login into the server with root access
#pico /usr/local/etc/nginx/nginx.conf
First add the following to your Nginx configuration file:
location / {
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/htpasswd;
}
Then We need to create the htpasswd file
this be passwords format will be
=================================
thisbetheusername:thisbeencryptedpass
Nginx URL Rewrite for Wordpress
Here is a short tutorial and how-to configure nginx and wordpress to support a permalink.
Login into Wordpress dashboard
First, Login into wordpress admin
ex : http://www.domain.com/wp-admin
input your admin user and password
Click Settings
Click Permalink
Enable "Permalink custom"
Add this to permalink custom
%postname%
Save.
How To Enable Drupal Clean URL with Nginx Webserver
Here is a simple way to enable drupal clean url with Nginx webserver
You need to edit your nginx.conf or vhosts
#pico /usr/local/etc/nginx/nginx.conf
Enable Directory Listing in Nginx Webserver
Here is a simple way to enable directory listing in Nginx Webserver.
I have a subdomain repository.wowtutorial.org and i want repository.wowtutorial.org to have ability to listing a directory.
All we need to do just modify the vhosts or nginx.conf
Add autoindex on;
Please see the example below
Example :
#pico /usr/local/etc/nginx/vhosts/repository.wowtutorial.org
How to Install Nginx, PHP-FPM, MySQL and Xcache in FreeBSD 7.2
what is nginx ?
nginx (pronounced as "engine X") is a lightweight, high performance web server/reverse proxy and e-mail (IMAP/POP3) proxy, licensed under a BSD-like license. It runs on UNIX, GNU/Linux, BSD variants, Mac OS X, Solaris, and Microsoft Windows[1].
What is php-fpm ?
PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busy sites.
Installing MySQL
How To Configure Logrotate Nginx Log in Freebsd and Linux
Here is a simple way How To Configure Logrotate Nginx Log in FreeBSD and Linux Machine.
Configure Nginx Logrotate in FreeBSD Machine
Login into the server via SSH
Edit file newsyslog.conf
[code]#pico /etc/newsyslog.conf
#### add 1 line below into newsyslog.conf ####
How To Install Nginx, PHP, MySQL, Zend Optimizer and PHP Extensions in FreeBSD
What is Nginx ?
Nginx is (pronounced "engine X") is a lightweight web server/reverse proxy and e-mail (IMAP/POP3) proxy, licensed under a BSD-like license.
In This tutorial we will try to install Nginx web server with PHP5, PHP5 Ext, MySQL5 and Pecl-Memcache PHP module in FreeBSD7 server.
I assume you already have freebsd server up and running.
We will using port to install all packages.
Installing MySQL5
How to Install NGINX as Ruby Mongrell Cluster Front End
Looking for a better front end for mongrel_clusters? need a lightweight webserver as an alternative to apache that will be used on VPS with minimal memory, can serve static files very fast, also has very complete proxy and rewrite modules with maximum performance?
then nginx is for you!. nginx is commonly pronounced as "engine x"
Recent blog posts |
Recent comments
1 day 17 hours ago
1 week 2 hours ago
1 week 1 day ago
2 weeks 2 days ago
4 weeks 1 day ago
4 weeks 2 days ago
4 weeks 6 days ago
5 weeks 1 day ago
5 weeks 2 days ago
6 weeks 2 days ago