Re: Wordpress not able to display theme properly - FastCGI sent in stderr: "Primary script unknown"

2019-12-21 Thread Francis Daly
On Sat, Dec 21, 2019 at 07:58:50AM -0500, vikask wrote: Hi there, The request getting to nginx is: > /stage/%20https://fp-academy.in/stage/wp-content/uploads/2019/11/hp_slider_bg.jpg That is almost certainly wrong. The request probably should be just /stage/wp-content/uploads/2019/11/hp_slider

Re: Nginx 1.17.6 ignores kill -HUP

2019-12-21 Thread Jochen Neumeister
Hi, you're not allone with this Problem. Other nginx user have the same Problem: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242626 Unfortunately I have no solution for the problem at the moment Cheers Jochen Am 20.12.19 um 18:31 schrieb Sergey A. Osokin: Hi Luciano, hope you're do

Re: Wordpress not able to display theme properly - FastCGI sent in stderr: "Primary script unknown"

2019-12-21 Thread vikask
Hi Francis... Here is the error log 2019/12/21 18:16:01 [error] 23708#23708: *1821 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 73.218.245.139, server: fp-academy.in, request: "GET /stage/%20https://fp-academy.in/stage/wp-content/uploads/2

Nginx converts 409 from upstream to 502

2019-12-21 Thread sachin.she...@gmail.com
Hi, Our request flow looks like this: client --> nginx --> haproxy --> tomcat Put requests with large bodies are used to upload files. Sometimes due to some application logic, tomcat may reject an upload early and return 409, tomcat does not drain the input stream, we do not want to read the inp

Re: Wordpress not able to display theme properly - FastCGI sent in stderr: "Primary script unknown"

2019-12-21 Thread Francis Daly
On Fri, Dec 20, 2019 at 06:32:58AM -0500, vikask wrote: Hi there, > I am getting the following error in the error log. I think the filename > being passed has the subdirectory name prepended, which should not happen. The http request that is logged looks strange to me. Is the "referrer" value re

Re: Multiple server_name directives in same server block?

2019-12-21 Thread Francis Daly
On Fri, Dec 20, 2019 at 05:25:05PM -0800, Roger Fischer wrote: Hi there, > is it possible to have multiple server_name directives in the same server > block? A quick test shows that "nginx -t" does not object; and that the server_name values are matched with the Host: header as expected. So: y