Re: VHost Not Serving

2021-06-28 Thread BeeRich Lists
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 re

Re: VHost Not Serving

2021-06-28 Thread Sergey A. Osokin
On Mon, Jun 28, 2021 at 07:20:36PM -0400, BeeRich Lists wrote: > Ya that’s too many to report. I have a catch-all with *.conf. I can restrict > it down to that main nginx.conf and the extra VHost. > > Same as I posted before. Same result. This has the main two in my > nginx.conf, > and the

Re: VHost Not Serving

2021-06-28 Thread BeeRich Lists
I did notice that nginx.conf structure started to recognize trailing semicolons recently. I have updated to a new OS from an old box on several versions ago. Comments are allowed on the same line in nginx.conf still? Cheers, Bee > On Jun 28, 2021, at 7:08 PM, Sergey A. Osokin wrote: > > We

Re: VHost Not Serving

2021-06-28 Thread BeeRich Lists
Ya that’s too many to report. I have a catch-all with *.conf. I can restrict it down to that main nginx.conf and the extra VHost. Same as I posted before. Same result. This has the main two in my nginx.conf, and the included one. That last one has its own conf file: include /opt/

Re: VHost Not Serving

2021-06-28 Thread Sergey A. Osokin
On Mon, Jun 28, 2021 at 06:55:38PM -0400, BeeRich Lists wrote: > Same result. Default returned. Nothing in access log nor error log. Well, let's see how many servers are configured, could you provide an output of the following command: % nginx -T -- Sergey

Re: VHost Not Serving

2021-06-28 Thread BeeRich Lists
Same result. Default returned. Nothing in access log nor error log. Cheers, Bee > On Jun 28, 2021, at 6:35 PM, Sergey A. Osokin wrote: > > Seem like curl didn't send a valid "Host: alpha.local" header for some reason, > that's why NGINX replied with an answer for default_server. > > Could

Re: VHost Not Serving

2021-06-28 Thread Sergey A. Osokin
Hi Rich, On Mon, Jun 28, 2021 at 03:00:45PM -0400, VP Lists wrote: > Hi there. > > I used: > > curl alpha.local > > It returned hq3.local source. Seem like curl didn't send a valid "Host: alpha.local" header for some reason, that's why NGINX replied with an answer for default_server. Could

Re: VHost Not Serving

2021-06-28 Thread VP Lists
Hi there. I used: curl alpha.local It returned hq3.local source. Here’s the main nginx.conf then the included domain.conf: worker_processesauto; load_module /opt/homebrew/opt/passenger/libexec/modules/ngx_http_passenger_module.so; error_log

Re: Help: Using Nginx Reverse Proxy bypass traffic in to a application running in a container

2021-06-28 Thread Francis Daly
On Sun, Jun 06, 2021 at 02:14:33PM +0530, Amila Gunathilaka wrote: Hi there, > > The simplest-to-understand fix, assuming that this is a test system where > you are happy to start again, is probably to stop nginx, remove the > /var/lib/nginx/proxy/ directory and all of its >- contents, creat

Re: Nginx caching 500 Internal Server Error response

2021-06-28 Thread Francis Daly
On Thu, Jun 24, 2021 at 03:36:42PM -0400, TheMask wrote: Hi there, > From last 8-9months we are facing one issue in which nginx 500 response > spike obseved. And we didnt see any call to upstream. It seems like Nginx > caches the 500 response and that us served back to user. > We have to restart

Re: Dynamically resolving smtp upstream hostnames

2021-06-28 Thread Maxim Dounin
Hello! On Mon, Jun 28, 2021 at 10:34:42AM -0400, kay wrote: > Any clues on how to solve this? > Do I need to submit a feature request to resolve SMTP hostnames the same way > it is done in HTTP proxy_pass directive? There are no plans to implement something like this. The IP address is expecte

Re: Dynamically resolving smtp upstream hostnames

2021-06-28 Thread kay
Any clues on how to solve this? Do I need to submit a feature request to resolve SMTP hostnames the same way it is done in HTTP proxy_pass directive? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,291890,291927#msg-291927 ___ nginx mailing l

Re: VHost Not Serving

2021-06-28 Thread Sergey A. Osokin
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

VHost Not Serving

2021-06-28 Thread BeeRich Lists
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