LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Nginx - default.conf file missing (https://www.linuxquestions.org/questions/linux-newbie-8/nginx-default-conf-file-missing-4175462211/)

yashfire007 05-16-2013 06:15 AM

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..

Satyaveer Arya 05-16-2013 07:53 AM

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.

TB0ne 05-16-2013 09:22 AM

Quote:

Originally Posted by yashfire007 (Post 4952345)
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.

yashfire007 05-17-2013 12:08 AM

Quote:

Originally Posted by Satyaveer Arya (Post 4952396)
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

yashfire007 05-17-2013 12:10 AM

Quote:

Originally Posted by TB0ne (Post 4952468)

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..

Satyaveer Arya 05-17-2013 02:09 AM

You can checkout this link also for installing and configuring nginx.
Link :)
You may configure in nginx.conf file itself.

TB0ne 05-17-2013 08:40 AM

Quote:

Originally Posted by yashfire007 (Post 4952887)
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???

kb2tfa 04-22-2015 06:26 PM

Quote:

Originally Posted by TB0ne (Post 4952468)
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.

TB0ne 04-23-2015 07:42 AM

Quote:

Originally Posted by kb2tfa (Post 5351571)
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?

Ebenezer_S 03-07-2017 03:22 PM

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.


All times are GMT -5. The time now is 08:23 AM.