On Tue, Mar 13, 2018 at 06:58:25PM -0300, Kenny Meyer wrote:
> Hi Roman,
>
> > Are there any errors in error.log?
> No errors…
>
> > And what happens if you switch www.example.com and staging.example.com?
> Then I get redirected to staging.example.com and I don’t see any requests
> being logged
This is the point where I would jump to using the debug log. You need to build
you nginx binary
with —with-debug switch and change the log level to debug innginx.conf. Debug
generates a *huge*
amount of logs but it really is invaluable.
I would also want to double check what is actually happen
Hi Roman,
> Are there any errors in error.log?
No errors…
> And what happens if you switch www.example.com and staging.example.com?
Then I get redirected to staging.example.com and I don’t see any requests being
logged on example.com
> On 13 Mar, 2018, at 18:34, Roman Arutyunyan wrote:
>
>
Hi Kenny,
On Tue, Mar 13, 2018 at 05:37:52PM -0300, Kenny Meyer wrote:
> Hi,
>
> I’m having trouble using the new mirror module. I want to mirror incoming
> requests from Nginx to other upstream servers. 1) a production server 2) a
> staging server
>
> This is my config:
>
> server {
>
Hi,
I’m having trouble using the new mirror module. I want to mirror incoming
requests from Nginx to other upstream servers. 1) a production server 2) a
staging server
This is my config:
server {
listen 80 default_server;
listen [::]:80 default_server;
location / {
On Tuesday 13 March 2018 13:25:47 avpdnepr wrote:
> root@instance-1:~# cat /root/unit_json/start.json
> {
> "listeners": {
> "*:8300": {
> "application": "blogs"
> },
> "*:8301": {
> "application": "cart"
> }
> },
>
> "application
Hi,
Is there a way URL like
http://domain.com/%product_cat%/myproduct
+
to be passed as is to an Apache proxy backend.
Currently, Nginx is throwing a 400 bad request error (which is correct),
but the Apache httpd using a p
root@instance-1:~# cat /var/www/app/index.py
import sys
def application(environ, start_response):
body = sys.version.encode("utf-8")
status = "200 OK"
headers = [('Content-type','text/plain')]
start_response(status, headers)
return body
root@instance-1:~# curl -X PUT -d @/roo
root@instance-1:~# cat /root/unit_json/start.json
{
"listeners": {
"*:8300": {
"application": "blogs"
},
"*:8301": {
"application": "cart"
}
},
"applications": {
"blogs": {
"type": "php",
"processes
Hello!
On Tue, Mar 13, 2018 at 12:39:05PM +, l...@napatech.com wrote:
> IБ─≥m investing a problem where I get delays in requests that is
> proxied to an upstream service.
> By looking at the debug log it seems that one request is
> blocking the worker so it canБ─≥t complete another requests
On Tuesday 13 March 2018 12:43:10 avpdnepr wrote:
> root@instance-1:~# ls -l /var/www/app
> total 0
> root@instance-1:~#
>
So, you have no Python application in /var/www/app.
What are you trying to run then and where it is?
wbr, Valentin V. Bartenev
___
root@instance-1:~# ls -l /var/www/app
total 0
root@instance-1:~#
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,279020,279027#msg-279027
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
On Tuesday 13 March 2018 12:28:00 avpdnepr wrote:
> {
> "listeners": {
> "*:8300": {
> "application": "blogs"
> },
> "*:8301": {
> "application": "cart"
> }
> },
>
> "applications": {
> "blogs": {
> "type": "ph
{
"listeners": {
"*:8300": {
"application": "blogs"
},
"*:8301": {
"application": "cart"
}
},
"applications": {
"blogs": {
"type": "php",
"processes": 20,
"user": "www-php",
Valentin V. Bartenev Wrote:
---
> On Tuesday 13 March 2018 11:46:48 avpdnepr wrote:
> > 2018/03/13 12:10:37 [info] 2220#2220 "example_python" application
> started
> > 2018/03/13 12:10:37 [emerg] 2220#2220 Python failed to import module
> "wsgi"
>
On Tuesday 13 March 2018 11:46:48 avpdnepr wrote:
> 2018/03/13 12:10:37 [info] 2220#2220 "example_python" application started
> 2018/03/13 12:10:37 [emerg] 2220#2220 Python failed to import module "wsgi"
> 2018/03/13 12:10:37 [notice] 1625#1625 process 2220 exited with code 1
> 2018/03/13 12:10:37
2018/03/13 12:10:37 [info] 2220#2220 "example_python" application started
2018/03/13 12:10:37 [emerg] 2220#2220 Python failed to import module "wsgi"
2018/03/13 12:10:37 [notice] 1625#1625 process 2220 exited with code 1
2018/03/13 12:10:37 [warn] 1632#1632 failed to start application
"example_pyth
Maxim Dounin Wrote:
---
>
> The following patch should fix this, please test if it works for
> you:
>
> # HG changeset patch
> # User Maxim Dounin
> # Date 1520919437 -10800
> # Tue Mar 13 08:37:17 2018 +0300
> # Node ID 649427794a74c74eca
Hi,
I’m investing a problem where I get delays in requests that is proxied to
an upstream service.
By looking at the debug log it seems that one request is blocking the
worker so it can’t complete another requests.
If you look at the log below request *352 is handled by worker 18728. This
wo
Hi,
Iâm investing a problem where I get delays in requests that is proxied to an
upstream service.
By looking at the debug log it seems that one request is blocking the worker so
it canât complete another requests.
If you look at the log below request *352 is handled by worker 18728. This
Hello everyone,
I ran into a corner case with a project I'm fiddling with which requires
making upstream requests via IP restricted 3rd party proxies (no auth).
Would this, or anything similar even be possible?
___
nginx mailing list
nginx@nginx.org
http
Wiktor,
On Wed, Mar 07, 2018 at 12:38:51PM +0100, Wiktor Kwapisiewicz via nginx wrote:
> > below is the initial version of patch that creates the
> > "$ssl_preread_alpn_protocols" variable; the content is a comma-separated
> > list of protocols, sent by client in ALPN extension, if present.
> >
>
22 matches
Mail list logo