Support

submit a bug report if you need technical support or have questions.

Documentation

Visit the Wiki extensive and up to date documentation at your fingertips.

Contact Me

Missing images/links, any comments, suggestions, need help? Contact me

Joomla extensions have moved!

Galaxiis (formely www.waltercedric.com) creates industry leading premium Joomla Extensions and is the longest running Joomla extensions provider since 2005.

Powerful Joomla extensions. - Excellent documentation. - Amazing support.

Visit now www.galaxiis.com

Nginx-logo

nginx (pronounced “engine-x”) is an open source Web server and a reverse proxy server for HTTP, SMTP, POP3 and IMAP protocols, with a strong focus on high concurrency, performance and low memory usage. It is licensed under a BSD-like license and it runs on Unix, Linux, BSD variants, Mac OS X, Solaris, AIX and Microsoft Windows [WikiPedia]

These are my reusable settings for any Joomla hosting, these are the most secure, and fastest settings to the best of my knowledge.

Configuration files are provided using Gist&160; and are CONSTANTLY updated for added security and speed. Gist is a simple way to share snippets and pastes with others. All gists are git repositories, so they are automatically versioned, forkable and usable as a git repository. I recommend you to starred them to stay up to date.

Joomla.conf for nginx

Create a new directory nginx/conf to be able to place reusable nginx settings:

mkdir -p /etc/nginx/conf

vi /etc/nginx/conf/joomla.conf

Edit or create joomla.conf, you can find the latest joomla.conf documented version in one of my Gist at https://gist.github.com/1620307

Adding a new Joomla Site to nginx

Create required directory anywhere on your disk, here is an example with a domain www.example.com

mkdir -p /var/www/vhosts/example.com/httpdocs
mkdir -p /var/www/vhosts/example.com/logs

Set the right permission to the user and group you have defined in nginx.conf

chown -fR www-data:www-data /var/www/vhosts/example.com/httpdocs

Copy the nginx template and adapt to your liking

cp /etc/nginx/sites-available/default /etc/nginx/sites-available/example
vi /etc/nginx/sites-available/example

Edit or create example, you can find the latest file example documented version in one of my Gist at https://gist.github.com/1620307

this file include Joomla.conf to avoid duplicating nginx settings

Activate the new domain

ln -s /etc/nginx/sites-available/example /etc/nginx/sites-enabled/example
service nginx restart
comments powered by Disqus

You might like also

No Thumbnail was found
The Joomla! Project and the Production Leadership Team are proud to announce the release of Joomla! 3.6 as the latest in the 3.x series. Joomla! 3.6 introduces more than 400 improvements, including many features which make administration of Joomla! Web sites easier and more feature-rich, as well as many UX (user experience) improvements. Joomla! 3 is the latest major release of the Joomla! CMS, with 3.6 the seventh standard-term support release in this series. Please note that going from 3.5 to 3.6 is …
467 Days ago
GitHub project joomla-packager allow rapid application development of Joomla extensions
RAD Rapid application development (RAD) is a software development methodology that uses minimal planning in favor of rapid prototyping. Something that was really slowing me a lot and making any builds or changes in my extensions a real pain to maintain was the packaging of code spread in the joomla tree. I did create numerous custom Phing builds to automate and reduce these pains (Phing is heavily derived from Apache ANT) and 2 months ago Joomla-packager was born! My Joomla-packager …
1516 Days ago
Add2Home 1.7.5 for J2.5 / J3.0 / J3.1 Released
This small plugin for Joomla! add a message inviting iPhone/iPad users to add the web application to the home screen. Add2Home has been updated to version 1.7.5 correct 1 bugs for Joomla 2.5 /3.0 / 3.1. For existing users the update will display in the Extensions Manager under Updates. If you do not have this currently installed, you can click the link below and install as normal via the Extensions Manager. New ideas/features/bugs are always welcomed either through forums or …
1516 Days ago
Schema Validation for Joomla 3.1 Extensions
Full support for Joomla 3.1 has been added to the project “Schema Validation for Joomla Extensions” (GitHub), tested with all 113 manifests of Joomla 3.1.5! (components, modules, plugins and templates) Without them, Joomla accept any entry in manifest xml and never complains about Mistyping, like a valid xml but that the Joomla installer do not understand or only partially, Wrong constructs, xml tag child misplaced, Invalid data type, like a path not being a valid path, an …
1526 Days ago
CedThumbnails 2.6.4 for Joomla 2.5/3.x available
cedThumbnails has been updated to version 2.6.4 for Joomla 2.5/3.0/3.1. For existing users the update will display in the Extensions Manager under Updates. If you do not have this currently installed, you can click the link below and install as normal via the Extensions Manager. New ideas/features/bugs are always welcomed either through forums or by using feedback …
1537 Days ago
SocialSharingLive 3.1.5 for Joomla 2.5/3.x Released
SocialSharingLive has been updated to version 3.1.5 correct increase compatibility and contains five new important feature for both Joomla 2.5 and Joomla 3.x. For existing users the update will display in the Extensions Manager under Updates. If you do not have this currently installed, you can click the link below and install as normal via the Extensions Manager. SocialSharingLive add automatically to any article a set of social icons that let your reader increase your social ranking. It support: Twitter, …
1538 Days ago
How to migrate from cedtag to joomla 3.1.x Internal Tag extension
Why you may consider migrating away from cedTag? Joomla 3.1.x has a better build in internal tags solution that differ from cedTag: Joomla com_tags support multi languages, Joomla com_tags support tags hierarchy, Joomla is build in Joomla core which mean a clear roadmap and better support. It still miss some nice features of cedTag, but the may be added by me or somebody else in the future! In order to move away from cedTag and import all …
1538 Days ago
Attention cedtag extension and Joomla 3.1 warning
Remove cedtag before updating to Joomla 3.1! My extension cedtag is now colliding with the internal component name of Joomla Tag! both are named com_tags! You wont loose any data by removing cedtag, cedtag databases tables will remains allowing to do a migration later to the internal com_tags of Joomla! A migration path is documented and will be posted shortly. …
1538 Days ago
Add2Home 1.7.3 for Joomla 3.1/3.0/2.5 Released
This small plugin for Joomla! add a message inviting iPhone/iPad users to add the web application to the home screen. Add2Home has been updated to version 1.7.3 for Joomla 2.5/3.0/3.1. For existing users the update will display in the Extensions Manager under Updates. If you do not have this currently installed, you can click the link below and install as normal via the Extensions Manager. New ideas/features/bugs are always welcomed either through forums or by using feedback What’s new? …
1559 Days ago
cedphotofeed 2.6.3 for joomla J2.5 and J3.0 released
This extension for Joomla 2.5 and Joomla 3.0 allow you to inline a set of images from your favorite online gallery: Smugmug, Flickr, Picasa, Gallery2/Gallery3 and YouTube or any RSS feed in any article. To update your extension, either download the latest extension packages from the download section of cedphotofeed or update via the Joomla Extensions Update interface. You can visit also the blog of cedPhotofeed for joomla What’s New NEW Support for RokBox 2.0, use under Rendering “RokBox 2”, …
1596 Days ago