w.b
March 01, 2013 08:56AM
> > Dump question, but why did you put the vhost-files into "conf.d"?
> > Normally
> > they are stored in "sites-available" and symlinked in "sites-enabled".

> > nginx
> > (as apache) uses this directory to read all information about the
vhosts.
> > Are there any templates in "sites-enabled"? How do they look like?
>
> To be honest I don' know. When I've setup this configuration (more than
1
> year ago I think) I've probably take 2 or 3 days on #nginx IRC channel
and
> when it was working I've never modified the configuration.

If your install is anything like, mine there was no sites-available and
sites-enabled directories. I used the directions on the download page to
install the stable version. (
http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm
followed by "yum install nginx") /etc/nginx.conf had an include for
conf.d and in that directory, they had a sample

From the context, I take it the sites-available directory had the various
site definition files, and for those that you want to use, you create the
link in sites-enabled, much like rc3.d links to init.d?





Confidentiality Notice:
This electronic message and any attachments may contain confidential or
privileged information, and is intended only for the individual or entity
identified above as the addressee. If you are not the addressee (or the
employee or agent responsible to deliver it to the addressee), or if this
message has been addressed to you in error, you are hereby notified that
you may not copy, forward, disclose or use any part of this message or any
attachments. Please notify the sender immediately by return e-mail or
telephone and delete this message from your system.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

502 bad gateway error with php5-fpm on Debian 7

GASPARD Kévin February 20, 2013 05:30PM

Re: 502 bad gateway error with php5-fpm on Debian 7

Francis Daly February 20, 2013 05:42PM

Re: 502 bad gateway error with php5-fpm on Debian 7

GASPARD Kévin February 20, 2013 05:56PM

Re: 502 bad gateway error with php5-fpm on Debian 7

Francis Daly February 20, 2013 06:14PM

Re: 502 bad gateway error with php5-fpm on Debian 7

GASPARD Kévin February 20, 2013 06:38PM

Re: 502 bad gateway error with php5-fpm on Debian 7

Francis Daly February 20, 2013 06:56PM

Re: 502 bad gateway error with php5-fpm on Debian 7

GASPARD Kévin February 21, 2013 04:26AM

Re: 502 bad gateway error with php5-fpm on Debian 7

Wolfsrudel February 21, 2013 05:17AM

Re: 502 bad gateway error with php5-fpm on Debian 7

Wolfsrudel February 21, 2013 05:26AM

Re: 502 bad gateway error with php5-fpm on Debian 7

GASPARD Kévin February 21, 2013 06:10AM

Re: 502 bad gateway error with php5-fpm on Debian 7

Mark Alan February 21, 2013 07:48AM

Re: 502 bad gateway error with php5-fpm on Debian 7

GASPARD Kévin February 21, 2013 08:10AM

Re: nginx + php5-fpm on Debian

Mark Alan February 21, 2013 03:08PM

Re: 502 bad gateway error with php5-fpm on Debian 7

w.b March 01, 2013 08:56AM

Re: 502 bad gateway error with php5-fpm on Debian 7

GASPARD Kévin February 21, 2013 06:14AM

Re: 502 bad gateway error with php5-fpm on Debian 7

Francis Daly February 21, 2013 08:52AM

Re: 502 bad gateway error with php5-fpm on Debian 7

GASPARD kévin March 02, 2013 02:02PM

Re: 502 bad gateway error with php5-fpm on Debian 7

GASPARD kévin March 02, 2013 02:16PM

Re: 502 bad gateway error with php5-fpm on Debian 7

GASPARD kévin March 03, 2013 07:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 167
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready