LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 06: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, 07:53 AM   #2
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

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, 09:22 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 16,003

Rep: Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990
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, 12: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, 12: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, 02:09 AM   #6
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

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, 08:40 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 16,003

Rep: Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990
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???
 
Old 04-22-2015, 06:26 PM   #8
kb2tfa
Member
 
Registered: Oct 2006
Location: Philadelphia PA
Distribution: Ubuntu 15 | Centos 7 | Linux Mint
Posts: 91

Rep: Reputation: 7
Quote:
Originally Posted by TB0ne View Post
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.
You can make your point without being rude. Work on it.
 
Old 04-23-2015, 07:42 AM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 16,003

Rep: Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990
Quote:
Originally Posted by kb2tfa View Post
You can make your point without being rude. Work on it.
And I'll give your advice every bit of consideration it deserves; which is none, thanks.

Also, this thread had been closed for TWO YEARS before you re-opened it. Please read the LQ Rules, specifically:
Quote:
Originally Posted by LQ Rules
  • Do not post if you do not have anything constructive to say in the post.
  • When posting in an existing thread, ensure that what you're posting is on-topic and relevant to the thread. If the content of your post will interfere with the current discussion, you should start a new thread.
How does your post address the OP's original question, or add anything to the solution/discussion?? What is the point of your post?

Last edited by TB0ne; 04-23-2015 at 12:17 PM.
 
  


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 12:07 PM
xorg.conf file missing dannyk1 Linux - Software 12 02-13-2009 07:48 AM
inetd.conf file is missing prasad_ark Linux - Newbie 1 07-02-2008 01:40 AM
Default HTTP.conf file please? richhoward Linux - General 3 09-14-2003 02:31 PM
Missing /etc/named.conf file deepika Linux - Networking 10 09-12-2003 04:58 PM


All times are GMT -5. The time now is 06:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration