Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Viewing all 7229 articles
Browse latest View live

yum install nginx Transaction Check Error: (no replies)

$
0
0
trying to run 'yum install nginx*' (stable version) on centos 6 using these instructions: http://nginx.org/en/linux_packages.html#stable I get the following error

Transaction Check Error:
file /usr/lib64/nginx/modules/ngx_http_geoip_module.so conflicts between attempted installs of nginx-module-geoip-1.12.2-1.el6.ngx.x86_64 and nginx-mod-http-geoip-1.10.2-1.el6.x86_64
file /usr/lib64/nginx/modules/ngx_http_image_filter_module.so conflicts between attempted installs of nginx-mod-http-image-filter-1.10.2-1.el6.x86_64 and nginx-module-image-filter-1.12.2-1.el6.ngx.x86_64
file /usr/lib64/nginx/modules/ngx_http_xslt_filter_module.so conflicts between attempted installs of nginx-mod-http-xslt-filter-1.10.2-1.el6.x86_64 and nginx-module-xslt-1.12.2-1.el6.ngx.x86_64
file /usr/lib64/nginx/modules/ngx_http_perl_module.so conflicts between attempted installs of nginx-module-perl-1.12.2-1.el6.ngx.x86_64 and nginx-mod-http-perl-1.10.2-1.el6.x86_64
file /usr/lib64/perl5/vendor_perl/auto/nginx/nginx.so conflicts between attempted installs of nginx-module-perl-1.12.2-1.el6.ngx.x86_64 and nginx-mod-http-perl-1.10.2-1.el6.x86_64
file /usr/lib64/perl5/vendor_perl/nginx.pm conflicts between attempted installs of nginx-module-perl-1.12.2-1.el6.ngx.x86_64 and nginx-mod-http-perl-1.10.2-1.el6.x86_64

Error Summary
--------------------------------

I also tried changing nginx.repo to the mainline version but that didn't work either. is it becuase I'm running a 64 bit machine?

why hardcoded /var/log/nginx/error.log in pre-built packages? (1 reply)

$
0
0
Hello all,

can someone please explain to me why the location /var/log/nginx/error
log is hardcoded in the official prebuilt packages?

Or why nginx -t checks if this file exists even if there is another
location defined in the config file?


Thank you.

Daniel
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

thread_pool in Windows (no replies)

$
0
0
Hi,

I am running Nginx as a proxy for a single-threaded server (Shiny R) in Windows;both the proxy and the server are located on the same machine. There are delays due to timeout errors:
"upstream timed out: A connection attempt failed because the connected party did not properly respond after a period of time, request: "GET /shared/jquery.min.js HTTP/1.1""
(and similar for other js and css files).

This can probably be solved with 'location alias'. But this is tedious, since the required files are spread out in R/Lib subdirectories.

The proper fix seems to be by restricting thread_pool with
thread_pool io_pool threads=1;
and a corresponding directive under 'location'
aio threads=io_pool;
However, Nginx reports: unknown directive "thread_pool".

Is there a way to have 'thread_pool' supported in Windows?

Check the size of one of the request header in nginx conf (1 reply)

$
0
0
Dear Team,

I would like to know is it possible to check the size of one of header values in nginx conf file . I need to reset the header value if the size of this header value exceed 64 character.

Could you please provide can I able to do this condition check in ngnix conf file?


Kind regards,
Joseph

add_before_body (no replies)

$
0
0
I can't get the add_before_body feature to work. I have verified the
module is installed.

Here is what I am trying to accomplish. I want to add the following
lines to the header of every html file:
------------------------
<link rel="apple-touch-icon" sizes="180x180"
href="/apple-touch-icon.png"> <link rel="icon" type="image/png"
sizes="32x32" href="/favicon-32x32.png"> <link rel="icon"
type="image/png" sizes="16x16" href="/favicon-16x16.png"> <link
rel="manifest" href="/site.webmanifest"> <link rel="mask-icon"
href="/safari-pinned-tab.svg" color="#5bbad5"> <meta
name="msapplication-TileColor" content="#da532c"> <meta
name="theme-color" content="#ffffff">
--------------------------------------------------
This is supposed to satisfy all browser requests for favicon, tablet
icons, etc.

I have these lines in a file named "before" and that file is located in
the web root.

This is how I implemented the feature:
---------
location / {
root /usr/share/nginx/html/example.com/public_html;
add_before_body /before;
index index.html index.htm;
}
--------------------------------------------

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

newbie: nginx rtmp module (no replies)

$
0
0
I'm running centos 6 and installed nginx using 'yum install nginx'. Videos are not working and I don't know whether I have the rtmp module or not. Here is the text from the yum install:

Installing:
collectd-nginx x86_64 4.10.9-4.el6 epel 14 k
munin-nginx noarch 2.0.33-1.el6 epel 26 k
nginx x86_64 1.10.2-1.el6 epel 462 k
nginx-all-modules noarch 1.10.2-1.el6 epel 7.7 k
nginx-filesystem noarch 1.10.2-1.el6 epel 8.5 k
<snip>

It says 'nginx-all-modules' on the 4th line but no other clue. Is there a way to tell if I have the rtmp module? If I don't have it is there a way to install it?

extra info: I did previously install nginx using the nginx-1.13.9.tar.gz tarball and also installed the nginx rtmp module from the git clone and it worked but i couldn't get nginx to work with multiple domains using that install. Should I go back to the tarball install? or is there a way to get rtmp working with my current 'yum' install? Thanks for any help.

location blocks, and if conditions in server context (2 replies)

$
0
0
Hi guys,

I have a few hundred nginx zones, where I try to remove as much duplicate code as possible, and inherit as much as possible to prevent nginx from consuming memory (and also to keep things clean).

However I came across something today, that I don’t know how to get my head around without duplicating code, even within a single server context.

I have a set of distributed nginx servers, all these requires SSL certificates, where I use Let’s Encrypt to do this.
When doing the Let’s Encrypt validation, it uses a path such as /.well-known/acme-challenge/<hash>

For this, I made a location block such as:

location ~* /.well-known {
proxy_pass http://letsencrypt.validation.backend.com$request_uri;
}

Basically, I proxy_pass to the backend where I actually run the acme client – works great.

However, I have an option to force a redirect from http to https, and I’ve implemented that by doing an if condition on the server block level (so not within a location):

if ($sslproxy_protocol = "http") {
return 301 https://$host$request_uri;
}

This means I have something like:

1: location ~* /.well-known
2: if condition doing redirect if protocol is http
3: location /
4: location /api
5: location /test

All my templates include 1 to 3, and *might* have additional locations.
I’ve decided to not put e.g. location /api inside the location / - because there’s things I don’t want to inherit, thus keeping them at the same “level”, and not a location context inside a location context.
Things I don’t want to inherit, is stuff such as headers, max_ranges directive etc.

My issue is – because of this if condition that does the redirect to https – it also applies to my location ~* /.well-known – thus causing a redirect, and I want to prevent this, since it breaks the Let’s Encrypt validation (they do not accept 301 redirects).

A solution would be to move the if condition into each location block that I want to have redirected, but then I start repeating myself 1, 2 or even 10 times – which I don’t wanna do.

Is there a smart way without adding too much complexity, which is still super-fast (I know if is evil) ?

A config example is seen below:

server {
listen 80;
listen 443 ssl http2;

server_name secure.domain.com;

access_log /var/log/nginx/secure.domain.com main;

location ~* /.well-known {
proxy_pass http://letsencrypt.validation.backend.com$request_uri;
}

if ($sslproxy_protocol = "http") {
return 301 https://$host$request_uri;
}

location / {

expires 10m;
etag off;

proxy_ignore_client_abort on;
proxy_intercept_errors on;
proxy_next_upstream error timeout invalid_header;
proxy_ignore_headers Set-Cookie Vary X-Accel-Expires Expires Cache-Control;
more_clear_headers Set-Cookie Cookie Upgrade;

proxy_cache one;
proxy_cache_min_uses 1;
proxy_cache_lock off;
proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504;

proxy_cache_valid 200 10m;
proxy_cache_valid any 1m;

proxy_cache_revalidate on;
proxy_ssl_server_name on;

include /etc/nginx/server.conf;

proxy_set_header Host backend-host.com;

proxy_cache_key "http://backend-host.com-1-$request_uri";
proxy_pass http://backend-host.com$request_uri;

proxy_redirect off;
}
}

Thank you in advance!

Best Regards,
Lucas Rolff
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Make nginx ignore unresolvable upstream server host names during reload or boot up (no replies)

$
0
0
Hi,

I have multiple upstream servers configured in an upstream block in my nginx configuration.

upstream example2 {
server example2.service.example.com:8001;
server example1.service.example.com:8002;
}

server {
listen 80;
server_name example2.com;
location / {
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://example2/;
}
}

When i try to reload Nginx and at that time if one of my upstream servers (say example2.service.example.com) is not DNS resolvable, then the reload fails with an error "host not found in upstream".

Is there any way we can ask nginx to ignore such unresolvable host names or rather configure Nginx to resolve these upstream server host names at run time instead of resolving it during the boot up or reload process?

Make nginx ignore unresolvable upstream server host names during reload or boot up (no replies)

$
0
0
Hi,

I have multiple upstream servers configured in an upstream block in my nginx configuration.

upstream example2 {
server example2.service.example.com:8001;
server example1.service.example.com:8002;
}

server {
listen 80;
server_name example2.com;
location / {
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://example2/;
}
}

When i try to reload Nginx and at that time if one of my upstream servers (say example2.service.example.com) is not DNS resolvable, then the reload fails with an error "host not found in upstream".

Is there any way we can ask nginx to ignore such unresolvable host names or rather configure Nginx to resolve these upstream server host names at run time instead of resolving it during the boot up or reload process?

ERR_SSL_BAD_RECORD_MAC_ALERT when trying to reuse SSL session (no replies)

$
0
0
Using NGINX 1.12.2 on MIPS (haven't tested on x86), if I set:

ssl_session_cache shared:SSL:1m; # it also fails with 10m


And the client reestablishes the connection, it
gets: net::ERR_SSL_BAD_RECORD_MAC_ALERT when trying to reuse SSL session.

Has anyone seen anything like this?


More detail:

This was tested on 1.12.2, on a MIPS CPU, using OpenSSL 1.0.2j, and built
by gcc 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r47070).

Interesting portion of my configuration file:

server {
listen 443 ssl;

ssl_certificate /etc/ssl/certs/bridge.cert.pem;
ssl_certificate_key /etc/ssl/private/bridge.key.pem;

ssl_protocols TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256;
ssl_ecdh_curve prime256v1;

ssl_session_timeout 24h;
ssl_session_tickets on;
ssl_session_cache shared:SSL:1m; # set to 10m, still fails, remove, the
problem seems to disappear

keepalive_timeout 1s; # reduced during troubleshooting to make it
trigger easily
keepalive_requests 1; # reduced during troubleshooting to make it
trigger easily

include apiv1.conf; # where all the location rules are
}
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

nginx + php-fpm: REQUEST_URI disappears for files that end with .php (no replies)

$
0
0
Hello,

I have following nginx + php-fpm configuration but for some reasons
files that end with .php miss REQUEST_URI when they arrive to php-fpm.

For instance:

https://n.example.com/audio/radio/ -> array(1)
{ ["REQUEST_URI"]=> string(15) "/audio/radio/" }
https://n.example.com/rus_example.html -> array(1)
{ ["REQUEST_URI"]=> string(15) "rus_example.html" }
https://n.example.com/rus_example.php -> array(0) { }


What is wrong?
Thank you!

Here is my configuration:

location / {
try_files $uri $uri/ @netcat-rewrite;
}

location @netcat-rewrite {
rewrite ^/(.*)$ /netcat/require/e404.php?REQUEST_URI=$1 last;
}

error_page 404 = /netcat/require/e404.php;

location ~ \.php$ {
if ($args ~ "netcat_files/") {
expires 7d;
add_header Cache-Control "public";
}

fastcgi_split_path_info ^(.+\.php)(/.+)$;
try_files $uri =404;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root
$fastcgi_script_name;
fastcgi_param DOCUMENT_URI $document_uri;
include fastcgi_params;
}


PHP-FPM log:

no .php file:

08/Мар/2018:13:44:13 +0200
"GET /netcat/require/e404.php?REQUEST_URI=audio/radio/" 200

.php file:

08/Мар/2018:13:44:14 +0200 "GET /netcat/require/e404.php" 404

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

proxy_pass and trailing / decode uri (no replies)

$
0
0
Hi,

Sorry if it was already asked but I'd like to know if the only way to
prevent Nginx from decoding uri while using proxy_pass is:
https://stackoverflow.com/a/37584656/3515745

Here is my (simplified) conf:

server {
server_name domain1.com;

location / {
proxy_pass http://127.0.0.1:81;

}

location /api {
proxy_pass http://127.0.0.1:82/;

}
}

Location "/" is perfectly working. My problem is that "/api" location will
decode special character.
To illustrate my problem:

http://domain1.com/image1.png
=> HTTP 200
http://domain1.com/*api*/resource1.png
=> HTTP 200

http://domain1.com/image1+2.png
=> HTTP 200
http://domain1.com/*api*/resource1+2.png
=> HTTP 404

http://domain1.com/image1 2.png
=> HTTP 200
http://domain1.com/*api*/resource1 2.png
=> HTTP 404

I would like to know how to make my "/api" location respond like "/"
without decoding %?
This solution https://stackoverflow.com/a/37584656/3515745 seems to be
just a workaround.

Thanks for any hints !

Max
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

How to stop nginx from adding a trailing slash (no replies)

$
0
0
Hello,

somesite.com/blog is 301 redirected to somesite.com/blog/ by nginx.

this is not the behaviour i want.

is there any way to stop it from doing so?


Thank you.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Planned Features for gRPC Proxy (no replies)

$
0
0
Hi all,

I am new to the nginx community so my apologies if this is not the correct place for this kind of question.

I see gRPC proxy is in progress for 1.13: https://trac.nginx.org/nginx/roadmap

Does anyone know if the proxy will support host/path based routing for gRPC calls? I have a use case in Kubernetes where I am trying to expose many gRPC microservices through a single nginx ingress controller. I’m trying to find out if context based routing will be supported so I can setup rules to be able to proxy to different services.

Thanks for the help,
-Ian_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

How can i configure proxy multiple hosts for a domain? (no replies)

$
0
0
It's not load balancing like round robin, least conn, ip bash.
I want to know how to proxy simultaneously to the registered proxy host for one domain.

I searched for this method, but all documents were about load balancing.
Please help me if you are aware of this problem.

Thank you in advance.

1.13.9 compile errors (no replies)

$
0
0
i'm building custom nginx binary on debian 9 using latest zlib and openssl sources.

./configure \
--prefix=/nginx \
--sbin-path=/nginx/sbin/nginx-https \
--conf-path=/nginx/conf/https \
--pid-path=/run/nginx-https.pid \
--error-log-path=/log/nginx-https_error.log \
--http-log-path=/log/nginx-https_access.log \
--http-client-body-temp-path=/nginx/tmp/https_client-body \
--http-proxy-temp-path=/nginx/tmp/https_proxy \
--http-fastcgi-temp-path=/nginx/tmp/http_fastcgi \
--user=www \
--group=www \
--without-select_module \
--without-poll_module \
--without-http_ssi_module \
--without-http_userid_module \
--without-http_geo_module \
--without-http_map_module \
--without-http_split_clients_module \
--without-http_referer_module \
--without-http_uwsgi_module \
--without-http_scgi_module \
--without-http_memcached_module \
--without-http_limit_conn_module \
--without-http_limit_req_module \
--without-http_empty_gif_module \
--without-http_browser_module \
--without-http_upstream_hash_module \
--without-http_upstream_ip_hash_module \
--without-http_upstream_least_conn_module \
--without-http_upstream_keepalive_module \
--without-http_upstream_zone_module \
--with-threads \
--with-file-aio \
--with-zlib=/install/zlib-1.2.11 \
--with-openssl=/install/openssl-1.1.1-pre2 \
--with-http_ssl_module

in the end of "make" i got this:

objs/ngx_modules.o \
-ldl -lpthread -lpthread -lcrypt -lpcre /install/openssl-1.1.1-pre2/.openssl/lib/libssl.a /install/openssl-1.1.1-pre2/.openssl/lib/libcrypto.a -ldl /install/zlib-1.2.11/libz.a \
-Wl,-E
/install/openssl-1.1.1-pre2/.openssl/lib/libcrypto.a(threads_pthread.o): In function `fork_once_func':
threads_pthread.c:(.text+0x16): undefined reference to `pthread_atfork'
collect2: error: ld returned 1 exit status
objs/Makefile:223: recipe for target 'objs/nginx' failed
make[1]: *** [objs/nginx] Error 1
make[1]: Leaving directory '/install/nginx-1.13.9'
Makefile:8: recipe for target 'build' failed
make: *** [build] Error 2

previous version 1.13.8 and all before was build successfully with the same configure parameters.

also, i've found this post: https://www.coldawn.com/compile-nginx-on-centos-7-to-enable-tls13/
as suggested, after "configure" i've modified objs/Makefile: removed the first -lpthread and the second -lpthread moved to the end of the line. in my case it was the line #331:

before:
-ldl -lpthread -lpthread -lcrypt -lpcre /install/openssl-1.1.1-pre2/.openssl/lib/libssl.a /install/openssl-1.1.1-pre2/.openssl/lib/libcrypto.a -ldl /install/zlib-1.2.11/libz.a \

after:
-ldl -lcrypt -lpcre /install/openssl-1.1.1-pre2/.openssl/lib/libssl.a /install/openssl-1.1.1-pre2/.openssl/lib/libcrypto.a -ldl /install/zlib-1.2.11/libz.a -lpthread \

and then it builds successfully.
and also success when i'm using openssl-1.0.2n in configure parameters.

so the problem only occurs in combination nginx-1.13.9 + openssl-1.1.1-pre2

and my question is: someone would fix bug this in the next 1.13.10 or should we now always edit the makefile before compiling?
or this is not a bug and i'm just missing something?

Upstream requests via proxies (no replies)

$
0
0
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://mailman.nginx.org/mailman/listinfo/nginx

One upstream connection blocks another upstream connection (no replies)

$
0
0
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

One upstream connection blocks another upstream connection (no replies)

$
0
0
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
worker then starts to process request *360 but for reason it is blocked at
13:53:53 until 13:54:03. How can that happen ?



The upstream service for request *360 doesn’t send any data in the time
interval 13:53:53-15:54:03.

But the upstream service for request *352 responses nearly immediately.

(I have examined the communication between nginx and the upstream in
wireshark)



Another observation, in the time interval 13:53:53-15:54:03 the worker
process seems to be in state D (uninterruptible sleep)



So my question is: What can block worker 18728 so it doesn’t complete
request *352



OS: Redhat 7.4

Nginx: 1.12.2



Hopefully I have provided enough details.



Thanks in advance

Lars









---------------- nginx debug error log
---------------------------------------------------------------------



2018/03/09 13:53:40 [debug] 18726#0: *249 input buf #95517

2018/03/09 13:53:32 [debug] 18728#0: *189 pipe temp offset: 588029952

2018/03/09 13:53:40 [debug] 18726#0: *249 input buf #95518

2018/03/09 13:53:32 [debug] 18728#0: *189 readv: eof:0, avail:1

2018/03/09 13:53:40 [debug] 18726#0: *249 pipe offset: 368738304

2018/03/09 13:53:32 [debug] 18728#0: *189 readv: 2, last:4096

2018/03/09 13:53:40 [debug] 18726#0: *249 pipe buf ls:1 0000556CF522BAF0,
pos 0000556CF522BAF0, size: 4096

2018/03/09 13:53:40 [debug] 18726#0: *249 pipe buf ls:1 0000556CF5233250,
pos 0000556CF5233250, size: 4096

2018/03/09 13:53:32 [debug] 18728#0: *189 pipe recv chain: 8192

2018/03/09 13:53:40 [debug] 18726#0: *249 pipe buf ls:1 0000556CF522EB20,
pos 0000556CF522EB20, size: 4096

2018/03/09 13:53:32 [debug] 18728#0: *189 input buf #144060

2018/03/09 13:53:40 [debug] 18726#0: *249 size: 8192

2018/03/09 13:53:32 [debug] 18728#0: *189 input buf #144061

2018/03/09 13:53:40 [debug] 18726#0: *249 writev: 22, 8192, 368738304

2018/03/09 13:53:32 [debug] 18728#0: *189 pipe offset: 588029952

2018/03/09 13:53:32 [debug] 18728#0: *189 pipe buf ls:1 0000556CF5220480,
pos 0000556CF5220480, size: 4096

2018/03/09 13:53:32 [debug] 18728#0: *189 pipe buf ls:1 0000556CF5233250,
pos 0000556CF5233250, size: 4096

2018/03/09 13:53:40 [debug] 18726#0: *249 pipe temp offset: 368746496

2018/03/09 13:53:32 [debug] 18728#0: *189 pipe buf ls:1 0000556CF522CAF0,
pos 0000556CF522CAF0, size: 4096

2018/03/09 13:53:53 [debug] 18729#0: *352 writev: 418 of 418

2018/03/09 13:53:40 [debug] 18726#0: *249 readv: eof:0, avail:1

2018/03/09 13:53:32 [debug] 18728#0: *189 size: 8192

2018/03/09 13:53:53 [debug] 18729#0: *352 chain writer out: 0000000000000000

2018/03/09 13:53:40 [debug] 18726#0: *249 readv: 2, last:4096

2018/03/09 13:53:53 [debug] 18729#0: *352 event timer del: 14: 1520603638051

2018/03/09 13:53:32 [debug] 18728#0: *189 writev: 18, 8192, 588029952

2018/03/09 13:53:53 [debug] 18729#0: *352 event timer add: 14:
86400000:1520690033051



----------- lines removed ------------------------------------------



2018/03/09 13:53:53 [debug] 18729#0: *360 pipe buf in s:1 t:1 f:0
0000556CF5232240, pos 0000556CF5232240, size: 4096 file: 0, size: 0

2018/03/09 13:53:53 [debug] 18729#0: *360 pipe buf free s:0 t:1 f:0
0000556CF5236280, pos 0000556CF5236280, size: 75 file: 0, size: 0

2018/03/09 13:53:53 [debug] 18729#0: *360 pipe length: -1

2018/03/09 13:53:53 [debug] 18729#0: *360 event timer: 18, old:
1520690033267, new: 1520690033348

2018/03/09 13:53:53 [debug] 18729#0: *360 event timer add: 16:
86400000:1520690033348

2018/03/09 13:53:53 [debug] 18729#0: *360 http upstream request:
"/download_stream/http://127.0.0.1:46766/5ad8c4fe-c9a5-4d3e-ad57-18ad8

18bc29f.pcap?"

2018/03/09 13:53:53 [debug] 18729#0: *360 http upstream dummy handler

2018/03/09 13:54:03 [debug] 18729#0: *360 http upstream request:
"/download_stream/http://127.0.0.1:46766/5ad8c4fe-c9a5-4d3e-ad57-18ad8

18bc29f.pcap?"

2018/03/09 13:54:03 [debug] 18729#0: *360 http upstream process upstream

2018/03/09 13:54:03 [debug] 18729#0: *360 pipe read upstream: 1

2018/03/09 13:54:03 [debug] 18729#0: *360 readv: eof:1, avail:1



----------- lines removed ------------------------------------------



2018/03/09 13:54:03 [debug] 18729#0: *360 SSL_write: -1

2018/03/09 13:54:03 [debug] 18729#0: *360 SSL_get_error: 3

2018/03/09 13:54:03 [debug] 18729#0: *360 http write filter 0000556CF5235600

2018/03/09 13:54:03 [debug] 18729#0: *360 http copy filter: -2
"/download_stream/http://127.0.0.1:46766/5ad8c4fe-c9a5-4d3e-ad57-18ad818

bc29f.pcap?"

2018/03/09 13:54:03 [debug] 18729#0: *360 http writer output filter: -2,
"/download_stream/http://127.0.0.1:46766/5ad8c4fe-c9a5-4d3e-ad

57-18ad818bc29f.pcap?"

2018/03/09 13:54:03 [debug] 18729#0: *360 event timer: 16, old:
1520690043209, new: 1520690043209

2018/03/09 13:54:03 [debug] 18729#0: *352 http upstream request:
"/1/search/74dc9b3c-dd89-11e6-9b3b-0894ef39879c/99fbbec6-a6f5-4f42-82f

6-5cc2f9651f45?"

2018/03/09 13:54:03 [debug] 18729#0: *352 http upstream process header

2018/03/09 13:54:03 [debug] 18729#0: *352 malloc: 0000556CF524C2D0:4096

2018/03/09 13:54:03 [debug] 18729#0: *352 recv: eof:1, avail:1

2018/03/09 13:54:03 [debug] 18729#0: *352 recv: fd:14 278 of 4096

2018/03/09 13:54:03 [debug] 18729#0: *352 http proxy status 200 "200 OK"

2018/03/09 13:54:03 [debug] 18729#0: *352 http proxy header: "Syncuuid:
5304cf38-1cd8-11e6-bddc-0894ef1af70f"

2018/03/09 13:54:03 [debug] 18729#0: *352 http proxy header:
"Content-Length: 78"

2018/03/09 13:54:03 [debug] 18729#0: *352 http proxy header: "Syncmagic: 3"

2018/03/09 13:54:03 [debug] 18729#0: *352 http proxy header: "Content-Type:
application/json"

2018/03/09 13:54:03 [debug] 18729#0: *352 http proxy header: "Server:
Pandion/7.3.3-3933"

2018/03/09 13:54:03 [debug] 18729#0: *352 http proxy header:
"Transfer-Encoding: chunked"

2018/03/09 13:54:03 [debug] 18729#0: *352 http proxy header done

2018/03/09 13:54:03 [debug] 18729#0: *352 HTTP/1.1 200 OK

Date: Fri, 09 Mar 2018 13:54:03 GMT

Content-Type: application/json
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

I can not configure the python module through the official Nginx Unit documentation? (9 replies)

$
0
0
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_python"
Viewing all 7229 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>