Demo Joomla! 1.5

Visit the Joomla! 1.5 demo site to see my extensions live running

Demo Joomla! 2.5

Visit the Joomla! 2.5 demo site to see my extensions live running

Support

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

Forums

Post your suggestions ask for help in the community forums

Contact Me

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

Skype

Need desperately help?
Skype Me™! But dont abuse of it!

Best nginx configuration for Joomla

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  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
You might also like:
Download the Free Joomla! 2.5 - Beginner's Guide – 250 pag
9 days ago
Download the Free Joomla! 2.5 - Beginner's Guide – 250 pag
  Dear Joomla! Community - Thank you very much for all your feedback, your comments, e
You can now prioritize next Joomla extensions ideas/features
15 days ago
You can now prioritize next Joomla extensions ideas/features
I did setup an account at UserVoice, thanks to this new tool, you’ll have the possibility to sub
Speed up your web pages by embedding images in CSS.
24 days ago
Speed up your web pages by embedding images in CSS.
Data URI scheme is a URI scheme that provides a way to include data in line in web pages as if the
CedSmugmug 2.5.0 for Joomla 1.6/1.7/2.5 available
24 days ago
CedSmugmug 2.5.0 for Joomla 1.6/1.7/2.5 available
In order to regain control of development, avoid code duplications, easing installations, I have d
blog comments powered by Disqus
Category: Joomla

Donations

Thank You for supporting my work

Follow Me

Follow cedricwalter on Twitter Subscribe via RSS Subscribe via RSS Follow us on Facebook Follow us on Google+

Latest Articles

  • The CBR1000RR is already the essential Superbike, offering a perfectly integrated combination of power, handling, and ov... ...
  • The Suzuki GSR750 is ideal for cruising the streets or weekend blasts, as it combines a powerful engine and quality comp... ...
  • Based on the 1940 Chief, the 2012 Indian Chief Vintage picks up right where its predecessor left off. All the way from i... ...
  • Faster evolution is a hallmark of the GSX-R1000’s engine. And 2012 brings another quick step ahead. Reaffirming the... ...
  •   Dear Joomla! Community - Thank you very much for all your feedback, your comments, emails, tweets, Faceb... ...

Latest Comments

Popular Posts

rockettheme advertisement

dropbox logo

Help Us & Leave Feedback!

  • Do you have an excellent article idea you would like to read about here? Share it!
  • Do you have some interesting tips how we could improve our site?
  • Something missing here? Help us make this blog a better place, leave feedback!
We would love to hear from you! Be active! Write us now!

Blogs

Didier Beck Tech Head Brothers

google+ badge