LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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


Closed Thread
  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,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
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: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
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,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
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: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
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: New Jersey
Distribution: CentOS
Posts: 175

Rep: Reputation: 18
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: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
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.
 
Old 03-07-2017, 03:22 PM   #10
Ebenezer_S
LQ Newbie
 
Registered: Mar 2017
Posts: 1

Rep: Reputation: Disabled
Quote:
this thread had been closed for TWO YEARS before you re-opened it.
I'm afraid you've invoked the curse of the Great and Eternal Internet D-Bag. Every two years for the rest of your life, this thread will be discovered by someone who thinks you're a jerk.

Quote:
How does your post address the OP's original question, or add anything to the solution/discussion??
I was hoping it'd encourage some civility, which would add a great deal to the discussion. Admittedly, I've probably failed at that.
 
  


Closed Thread



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:28 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
Open Source Consulting | Domain Registration