Welcome! Log In Create A New Profile

Advanced

Re: VHost Not Serving

June 28, 2021 08:22PM
OK, I’ve inserted that return into the conf file. BUT, there’s an error from an entry I’ve had in there before of a master error.log. It says the path provided is no such file or directory. That path is nowhere to be found in nginx.conf or alpha.conf.

Something wrong with nginx? It isn’t reading the conf file. Reported:

nginx 1.21.0

Cheers, Bee

> On Jun 28, 2021, at 7:27 PM, Sergey A. Osokin <osa@freebsd.org.ru> wrote:
>
> I can't reproduce the issue locally. Here's the config:
>
> server {
> listen 80 default_server;
> server_name hq3.local;
> return 200 "OK: hq3.local\n";
> }
>
> server {
> listen 80;
> server_name alpha.local;
> return 200 "OK: alpha.local\n";
> }
>
> And here's the requests:
>
> % curl http://alpha.local
> OK: alpha.local
> % curl http://hq3.local
> OK: hq3.local
> % curl http://vp.local
> OK: hq3.local
>
> Last site is resolvable, but there's nothing in config about that one.

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

VHost Not Serving

daBee June 28, 2021 09:54AM

Re: VHost Not Serving

Sergey A. Osokin June 28, 2021 10:22AM

Re: VHost Not Serving

VP Lists June 28, 2021 03:02PM

Re: VHost Not Serving

Sergey A. Osokin June 28, 2021 06:38PM

Re: VHost Not Serving

daBee June 28, 2021 06:56PM

Re: VHost Not Serving

Sergey A. Osokin June 28, 2021 07:10PM

Re: VHost Not Serving

daBee June 28, 2021 07:22PM

Re: VHost Not Serving

Sergey A. Osokin June 28, 2021 07:28PM

Re: VHost Not Serving

daBee June 28, 2021 08:22PM

Re: VHost Not Serving

daBee June 28, 2021 07:24PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 198
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready