I may have found the root cause of this issue. Many thanks to Igor for the
valuable inputs
The issue had something to do with the fact that I was calling nginx -s
reload from python subprocess module
and I believe the error was coming from the fork in python
https://stackoverflow.com/questions/
Howdy,
I've a project that I need to send the error log but it only accepts
json format (I know I know), in the past I used logstash but right now
that is not an option so looking to see if anyone has done any patch
or ways to go around it.
Ideally this should either be any of:
a) Log to current
Hi Francis--
We got this working to wrap up the day. My ignorance of nginx meant that I
was interpreting the example literally--I viewed the "/mirror" as the name
for the internal route, but that actually becomes part of the URL the mirror
location proxy forwards to.
http {
server {
l
ps how do you format code in these posts? (It's not markdown)
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,279036,280833#msg-280833
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
On Thu, Aug 09, 2018 at 05:08:25PM -0400, jlangr wrote:
Hi there,
> hmm looks like the mirror kills the url. I need to understand how to do URL
> rewrites, probably, but the original request's path isn't coming across to
> the mirror location.
Does it work for you if you use the Example Configur
hmm looks like the mirror kills the url. I need to understand how to do URL
rewrites, probably, but the original request's path isn't coming across to
the mirror location.
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,279036,280829#msg-280829
_
Thanks for the posts Kenny & pbooth.
I have this problem as well. I am running nginx 1.15 under MacOS and also
experience this under Windows.
Requests successfully go to the server specified under the location but are
not received at the proxy_pass defined in the mirror location's proxy_pass.
Swi
Hello Dmitry,
I followed the guides. To build njs:
*./configure --with-compat*
*make*
To build and install NGINX:
*./auto/configure --sbin-path=/usr/local/nginx/nginx
--conf-path=/usr/local/nginx/nginx.conf
--pid-path=/usr/local/nginx/nginx.pid --with-http_ssl_module
--with-pcre=../pcre-8.41 --
On Wed, Aug 08, 2018 at 06:42:42PM -0400, fugee ohu wrote:
Hi there,
> I made a little progress What happens in a browser now is it says
> "ERR_TOO_MANY_REDIRECTS"
It's good that you have a definite error message.
> $ curl -v sitename.com
...
> < HTTP/1.1 301 Moved Permanently
> < Location: htt