Welcome! Log In Create A New Profile

Advanced

Re: VHost Not Serving

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

hope you're doing well.

On Mon, Jun 28, 2021 at 09:52:17AM -0400, BeeRich Lists wrote:
> I have a VHost that isn’t serving up. I’ve changed nothing, and it just started
> defaulting to the default_server.
>
> The VHost is included in a catch-all for all the other local domains (my workstation):
> include /opt/homebrew/etc/nginx/servers/*.conf;
>
> I’ve even hard coded the VHost in its own include and even that isn’t working.

How did you test that? Could you provide an example of a request you sent
to NGINX and response you received. Please use curl command for an URL
with `-vk' flags, i.e.

% curl -vk http://www.example.com/

> I’ve rebooted the box, same thing. nginx.conf tests pass. Not sure what to be
> looking for. The logs in the VHost directives are not even being touched.
>
> Would be nice to ask nginx what registered servers it sees, but I don’t think
> nginx has that ability.
>
> Any insight appreciated.
>
> Cheers, Bee

Also, could you provide the NGINX configuration file.

--
Sergey Osokin
_______________________________________________
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: 108
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