LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 05-16-2013, 07:15 AM   #1
yashfire007
Member
 
Registered: Jan 2013
Distribution: CentOS, RHEL 6.4
Posts: 79

Rep: Reputation: Disabled
Nginx - default.conf file missing


Hai to all,

I have installed Nginx , i am not able to see /etc/nginx/conf.d/default.conf but i can see /etc/nginx/nginx.conf..

Note : There was no error came during installation..
 
Old 05-16-2013, 08:53 AM   #2
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Dehradun, Uttarakhand, India
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,413

Rep: Reputation: 303Reputation: 303Reputation: 303Reputation: 303
Which OS you are using? And if you find the nginx.conf file under /etc/nginx then go ahead with configuring. But remember to take the backup of configuration file.
 
Old 05-16-2013, 10:22 AM   #3
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,570

Rep: Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822
Quote:
Originally Posted by yashfire007 View Post
Hai to all,
I have installed Nginx , i am not able to see /etc/nginx/conf.d/default.conf but i can see /etc/nginx/nginx.conf..
Note : There was no error came during installation..
And is there something preventing you from looking at the nginx website, and reading the documentation???
http://wiki.nginx.org/Configuration#Start_Here

What leads you to believe that you WOULD have a default.conf file, when it's not mentioned anywhere in the nginx documentation? And again, as in several of your other threads, you don't bother telling anyone about your version/distro of Linux, nginx, how you installed nginx, etc.
 
Old 05-17-2013, 01:08 AM   #4
yashfire007
Member
 
Registered: Jan 2013
Distribution: CentOS, RHEL 6.4
Posts: 79

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Satyaveer Arya View Post
Which OS you are using? And if you find the nginx.conf file under /etc/nginx then go ahead with configuring. But remember to take the backup of configuration file.
My Distro is CentOS 5.9..

Then you are saying there is no need for default.conf file, nginx.conf itself okay..

i have referred the below link

https://www.digitalocean.com/communi...ck-on-centos-6
 
Old 05-17-2013, 01:10 AM   #5
yashfire007
Member
 
Registered: Jan 2013
Distribution: CentOS, RHEL 6.4
Posts: 79

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post

What leads you to believe that you WOULD have a default.conf file, when it's not mentioned anywhere in the nginx documentation? And again, as in several of your other threads, you don't bother telling anyone about your version/distro of Linux, nginx, how you installed nginx, etc.

Sorry my distro is CentOS 5.9

i have referred the below link
https://www.digitalocean.com/communi...ck-on-centos-6

i have installed nginx in redhat6.4 and CentOS 5.9.
But in RedHat6.4 default.conf file is available, but in CentOS5.9 it is not available. Is default.conf file is necessary..
 
Old 05-17-2013, 03:09 AM   #6
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Dehradun, Uttarakhand, India
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,413

Rep: Reputation: 303Reputation: 303Reputation: 303Reputation: 303
You can checkout this link also for installing and configuring nginx.
Link
You may configure in nginx.conf file itself.
 
Old 05-17-2013, 09:40 AM   #7
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,570

Rep: Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822
Quote:
Originally Posted by yashfire007 View Post
Sorry my distro is CentOS 5.9
i have referred the below link
https://www.digitalocean.com/communi...ck-on-centos-6

i have installed nginx in redhat6.4 and CentOS 5.9. But in RedHat6.4 default.conf file is available, but in CentOS5.9 it is not available. Is default.conf file is necessary..
Did you bother to read the documentation???? Did you read/understand my last post, where you were told it was NOT???
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing /etc/lilo.conf File Ani Slackware 1 04-03-2012 01:07 PM
xorg.conf file missing dannyk1 Linux - Software 12 02-13-2009 08:48 AM
inetd.conf file is missing prasad_ark Linux - Newbie 1 07-02-2008 02:40 AM
Default HTTP.conf file please? richhoward Linux - General 3 09-14-2003 03:31 PM
Missing /etc/named.conf file deepika Linux - Networking 10 09-12-2003 05:58 PM


All times are GMT -5. The time now is 09:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration