Welcome! Log In Create A New Profile


nginx newbie conf direction

Posted by ncikic 
nginx newbie conf direction
October 01, 2013 12:40AM
hello to all,
I am using ubuntu 11.10 and I am nginx newbie and obviously I have issues:)

1. I wanted to update to 1.4.1 from 1.0.5 with these steps
apt-get install python-software-properties
add-apt-repository ppa:nginx/stable
apt-get update
apt-get install nginx

It seems as is it has installed (no error during install) but nginx -v is still telling me I have 1.0.5
What I missed?

2.I am confused about configuration. What is the reference link for setting configuration.
Various sources from web suggest I shall put conf files in sites-available, but then is nginx.conf needed?
Also for me it seems as conf files in sites'available are ignored and is used just nginx.conf

Many thanks for any hint

P.S. Btw I am from Croatia and looking to put my first major web project alive. I have a minor one that died prematurely.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 81
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready