Quantcast
Channel: Nginx Forum - How to...
Viewing all 4759 articles
Browse latest View live

Re: Known issues

$
0
0
Oh, okay, so it will work if I just leave it as server_name localhost; ?
Also, it looks like in Violet, there are nginx-org.conf and nginx-win.conf but no nginx.conf so I was wondering once I copy over nginx_basic over my current nginx.exe, which config does the new version use? (nginx.conf, nginx-org.conf or nginx-win.conf)
Thanks

Re: Known issues

$
0
0
nginx.conf always takes precedence unless you specify a different one at startup, a default named nginx.conf is not provided to prevent it from being overwritten when upgrading.

Re: Known issues

$
0
0
Oh, okay, and I can just leave server_name localhost; ?

What is meant by keepalive_timeout

$
0
0
Hello, does this setting (keepalive_timeout) close only idle connections after the set time? if I set keepalive_timeout 5; this wont close current active connections if it is still downloading/working, right? I am trying to maximize the server for 1000's of users so I may have 600 active requests at the same time so I want to free up idle connections as soon as possible so I don't hit the 1024 max connections. So am I right, that this is the time in seconds to close stale/idle connections and wont affect active ones? Thanks

how to change system date

$
0
0
what permissions do i need to set so that i can get nginx to have permission to update the server time? i have attempted to update sudoers with a www account. but, couldn't get it to go. also tried to chmod 777 /bin/date. that didn't work either.

any help would be greatly appreciated. thanks.

Can't solve this redirect :(

$
0
0
Hi, I can't solve how this .htacces rule should be rewritten :( could someone please try to help me

in .htaccess
RewriteRule ^filters$ index.php?controller=filters [L,QSA]

Have tried the following rwdirects but all gives me the "The page isn’t redirecting properly"

rewrite ^filters$ /index.php?controller=filters last;
rewrite ^/filters/$ /index.php?controller=filters last;
rewrite ^/filters$ /index.php?controller=filters last;

Non of the above works, but checked it on apache, and there the rule works perfectly

HELP: Active Directory Authentication via SSS/PAM Integration

$
0
0
Hi.

How can I get successful auth_pam authentications against Active Directory with nginx serving as a reverse proxy? I have nginx-full (1.10.3) installed on an Ubuntu 16.04 LTS EC2 instance. I've successfully joined the VM to an Active Directory domain and I'm able to successfully login to an SSH session using a domain user only defined in AD. If I use those same AD user credentials when navigating to a protected URL via webbrowser, I encounter a 401 error. However, using the credentials of a user local to the VM hosting nginx, I can authenticate and navigate to the protected URL. I've included pertinent config files below. What am I missing?

Thanks.

# /etc/pam.d/nginx
#
@include common-auth
# ###END /etc/pam.d/nginx

# /etc/pam.d/common-auth
#
# here are the per-package modules (the "Primary" block)
auth [success=2 default=ignore] pam_unix.so nullok_secure
auth [success=1 default=ignore] pam_sss.so use_first_pass
# here's the fallback if no module succeeds
auth requisite pam_deny.so
# prime the stack with a positive return value if there isn't one already;
# this avoids us returning an error just because nothing sets a success code
# since the modules above will each just jump around
auth required pam_permit.so
# ###END /etc/pam.d/common-auth

# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat sss
group: compat sss
shadow: compat sss
gshadow: files
hosts: files dns
networks: files
protocols: db files
services: db files sss
ethers: db files
rpc: db files
netgroup: nis sss
sudoers: files sss
# ###END /etc/nsswitch.conf

# /etc/sssd/sssd.conf
#
[sssd]
domains = SUBDOMAIN.TLD
config_file_version = 2
services = nss, pam

[domain/SUBDOMAIN.TLD]
ad_domain = SUBDOMAIN.TLD
krb5_realm = SUBDOMAIN.TLD
realmd_tags = manages-system joined-with-adcli
cache_credentials = True
id_provider = ad
krb5_store_password_if_offline = True
default_shell = /bin/bash
ldap_id_mapping = True
use_fully_qualified_names = True
fallback_homedir = /home/%u@%d
access_provider = ad
simple_allow_groups = Domain Admins
ad_hostname = hostname.subdomain.tld
dyndns_update = True

# ###END /etc/sssd/sssd.conf

Drupla installing issue: "sites/default/files is not writable"?

$
0
0
Hi,

I am trying to install Drupal on Gentoo/Linux with nginx web server.

However installer found an error of "Requirements problem" - "The directory sites/default/files is not writable."

Please inform how to grant permissions to web server? I am quite lost regarding web server permissions...

If any additional information is needed please let me know.

Same content, different headers

$
0
0
I'm trying to configure nginx to achieve the following:

GET / -> returns index.html with additional header (e.g. X-ROOT = true)
GET /foo -> returns index.html with additiuonal header (e.g. X-FOO = true)
GET /v1/api/whatever -> everything which starts with /v1/api is passed to an upstream
GET /everything-else -> all the rest is served from disk, handled via try_files $url $url/ /index.html;

Below is my nginx.conf. All my responses contain the X-INDEX-HTML header. I have a vague idea why this is the case,
but I don't know the solution to have /foo return the contents of index.html with the X-FOO header.
Any help is appreciated.

server {
listen 80 default_server;

location /index.html {
add_header "X-INDEX-HTML" "true";

root /var/www/test;
try_files $uri $uri/ /index.html;
}

location = /foo {
add_header "X-FOO" "true";

root /var/www/test;
index /index.html;
}

location = / {
add_header "X-ROOT" "true";

root /var/www/test;
index /index.html;
}

location / {
root /var/www/test;
try_files $uri $uri/ /index.html;
}

location /v1/api/ {
proxy_pass http://my.upstream.net;
}
}

Load Balancing VIP

$
0
0
Hi,

I want to set up load balancing with NGINX on our AWS servers currently already running NGINX as a proxy, but I just want to clarify that the single IP (VIP) of the load balancer is all that will be returned when accessing a website on any of the load balanced backend servers.

Thanks,
Jamesy

Re: How to configure Nginx for Windows

$
0
0
Hello,

How to config Nginx on windows? I have a error, my configuration arguments arent installed completely.

Re: Installation problem

$
0
0
Dear Team,
I'm unable to install nginx-plus in my system,
provide me solution as soon as possible ...???

root@admin-server:/etc/ssl/nginx# apt-get install nginx-plus
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package nginx-plus

Re: How to configure Nginx for Windows

$
0
0
I just needed to configure the Windows Firewall to allow nginx.exe through.

[Loadbalancing] error 404 but backend work fine

$
0
0
Hello all,

I try to load balance my web app using nginx but I get 404 instead my app.
All my backend (MS IIS) work fine when I try to query directely.

Can you help me please ?

Here is header when I query my IIS backend directely
See attached picture

Here is my nginx config:

upstream mywebapp {
ip_hash;
server 10.236.10.21:80;
server 10.236.10.22:80;
server 10.236.10.23:80;
server 10.236.10.24:80;
server 10.236.10.25:80;
server 10.236.10.26:80;
keepalive 16;
}
server {
listen 443 ssl;
server_name test.mywebapp.fr;
#client_max_body_size 10m;
ssl on;

location / {
proxy_pass http://mywebapp.fr;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host:443;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-Port 443;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header Connection "";
proxy_set_header Connection "";
proxy_read_timeout 60m;
proxy_pass_request_headers on;
}
}

Re: [Loadbalancing] error 404 but backend work fine

$
0
0
Orwell Wrote:
-------------------------------------------------------
> Hello all,
>
> I try to load balance my web app using nginx but I get 404 instead
> my app.
> All my backend (MS IIS) work fine when I try to query directely.
>

> upstream mywebapp {
[...]
> proxy_pass http://mywebapp.fr;

Mismatch.

Re: [Loadbalancing] error 404 but backend work fine

$
0
0
Thank you itpp2012
Sorry its copy/past/replace mismatch.
Realy my config is

upstream mywebapp {
ip_hash;
server 10.236.10.21:80;
server 10.236.10.22:80;
server 10.236.10.23:80;
server 10.236.10.24:80;
server 10.236.10.25:80;
server 10.236.10.26:80;
keepalive 16;
}
server {
listen 443 ssl;
server_name test.mywebapp.fr;
#client_max_body_size 10m;
ssl on;

location / {
proxy_pass http://mywebapp;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host:443;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-Port 443;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header Connection "";
proxy_set_header Connection "";
proxy_read_timeout 60m;
proxy_pass_request_headers on;
}
}

Re: [Loadbalancing] error 404 but backend work fine

$
0
0
Enable debug logging and check the logs.

Re: [Loadbalancing] error 404 but backend work fine

$
0
0
Here is the debug log

2018/02/17 12:21:00 [debug] 15353#15353: *15 SSL_do_handshake: -1
2018/02/17 12:21:00 [debug] 15353#15353: *15 SSL_get_error: 2
2018/02/17 12:21:00 [debug] 15353#15353: *15 reusable connection: 0
2018/02/17 12:21:00 [debug] 15353#15353: *15 SSL handshake handler: 0
2018/02/17 12:21:00 [debug] 15353#15353: *15 SSL_do_handshake: 1
2018/02/17 12:21:00 [debug] 15353#15353: *15 SSL: TLSv1.2, cipher: "ECDHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH Au=RSA Enc=AESGCM(256) Mac=AEAD"
2018/02/17 12:21:00 [debug] 15353#15353: *15 reusable connection: 1
2018/02/17 12:21:00 [debug] 15353#15353: *15 http wait request handler
2018/02/17 12:21:00 [debug] 15353#15353: *15 malloc: 0000563259704360:1024
2018/02/17 12:21:00 [debug] 15353#15353: *15 SSL_read: -1
2018/02/17 12:21:00 [debug] 15353#15353: *15 SSL_get_error: 2
2018/02/17 12:21:00 [debug] 15353#15353: *15 free: 0000563259704360
2018/02/17 12:21:00 [debug] 15353#15353: *15 http wait request handler
2018/02/17 12:21:00 [debug] 15353#15353: *15 malloc: 0000563259704360:1024
2018/02/17 12:21:00 [debug] 15353#15353: *15 SSL_read: 1003
2018/02/17 12:21:00 [debug] 15353#15353: *15 SSL_read: -1
2018/02/17 12:21:00 [debug] 15353#15353: *15 SSL_get_error: 2
2018/02/17 12:21:00 [debug] 15353#15353: *15 reusable connection: 0
2018/02/17 12:21:00 [debug] 15353#15353: *15 posix_memalign: 000056325963D9E0:4096 @16
2018/02/17 12:21:00 [debug] 15353#15353: *15 http process request line
2018/02/17 12:21:00 [debug] 15353#15353: *15 http request line: "GET / HTTP/1.1"
2018/02/17 12:21:00 [debug] 15353#15353: *15 http uri: "/"
2018/02/17 12:21:00 [debug] 15353#15353: *15 http args: ""
2018/02/17 12:21:00 [debug] 15353#15353: *15 http exten: ""
2018/02/17 12:21:00 [debug] 15353#15353: *15 http process request header line
2018/02/17 12:21:00 [debug] 15353#15353: *15 http header: "Host: test.mywebapp.fr"
2018/02/17 12:21:00 [debug] 15353#15353: *15 http header: "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0"
2018/02/17 12:21:00 [debug] 15353#15353: *15 posix_memalign: 0000563259704940:4096 @16
2018/02/17 12:21:00 [debug] 15353#15353: *15 http header: "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
2018/02/17 12:21:00 [debug] 15353#15353: *15 http header: "Accept-Language: fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3"
2018/02/17 12:21:00 [debug] 15353#15353: *15 http header: "Accept-Encoding: gzip, deflate, br"
2018/02/17 12:21:00 [debug] 15353#15353: *15 http header: "Cookie: xtvrn=$493308$543488$543487$; xtan=-; xtant=1; _ga=GA1.2.1431114141.1513789683; tc_cj_v2=%5Ecl_%5Dny%5B%5D%5D_mmZZZZZZKOKRQLRMJQRPNZZZ%5D; tc_PAGESVUES=YES; TC_PAGES_VIEWED=35; __cfduid=d9bd21443ceda85fca323a09556b5f7ca1514930765; tc_LRFAFD=YES; __qca=P0-90613381-1515584195160; cc_cookie_accept=cc_cookie_accept; __utma=261744018.1431114141.1513789683.1518788069.1518790715.4; __utmz=261744018.1515584367.1.1.utmcsr=mywebapp.fr|utmccn=(referral)|utmcmd=referral|utmcct=/RealEstate/Properties/RedirectmyWebAppNew; cto_lwid=cec2bf50-bf2e-4dad-b2a6-9c551e7fec6f; _tac=false~self|mywebapp.fr; _ta=fr~1~01e12064125804e1af8eb1380a585bc3"
2018/02/17 12:21:00 [debug] 15353#15353: *15 http header: "Connection: keep-alive"
2018/02/17 12:21:00 [debug] 15353#15353: *15 http header: "Upgrade-Insecure-Requests: 1"
2018/02/17 12:21:00 [debug] 15353#15353: *15 http header done
2018/02/17 12:21:00 [debug] 15353#15353: *15 event timer del: 3: 1518866520121
2018/02/17 12:21:00 [debug] 15353#15353: *15 generic phase: 0
2018/02/17 12:21:00 [debug] 15353#15353: *15 rewrite phase: 1
2018/02/17 12:21:00 [debug] 15353#15353: *15 test location: "/"
2018/02/17 12:21:00 [debug] 15353#15353: *15 using configuration "/"
2018/02/17 12:21:00 [debug] 15353#15353: *15 http cl:-1 max:1048576
2018/02/17 12:21:00 [debug] 15353#15353: *15 rewrite phase: 3
2018/02/17 12:21:00 [debug] 15353#15353: *15 post rewrite phase: 4
2018/02/17 12:21:00 [debug] 15353#15353: *15 generic phase: 5
2018/02/17 12:21:00 [debug] 15353#15353: *15 generic phase: 6
2018/02/17 12:21:00 [debug] 15353#15353: *15 generic phase: 7
2018/02/17 12:21:00 [debug] 15353#15353: *15 access phase: 8
2018/02/17 12:21:00 [debug] 15353#15353: *15 access phase: 9
2018/02/17 12:21:00 [debug] 15353#15353: *15 access phase: 10
2018/02/17 12:21:00 [debug] 15353#15353: *15 post access phase: 11
2018/02/17 12:21:00 [debug] 15353#15353: *15 http init upstream, client timer: 0
2018/02/17 12:21:00 [debug] 15353#15353: *15 epoll add event: fd:3 op:3 ev:80002005
2018/02/17 12:21:00 [debug] 15353#15353: *15 http script copy: "X-Forwarded-For: "
2018/02/17 12:21:00 [debug] 15353#15353: *15 http script var: "192.168.184.254"
2018/02/17 12:21:00 [debug] 15353#15353: *15 http script copy: "
"
2018/02/17 12:21:00 [debug] 15353#15353: *15 http script copy: "X-Forwarded-Host: "
2018/02/17 12:21:00 [debug] 15353#15353: *15 http script var: "test.mywebapp.fr"
2018/02/17 12:21:00 [debug] 15353#15353: *15 http script copy: ":443"
2018/02/17 12:21:00 [debug] 15353#15353: *15 http script copy: "
"
2018/02/17 12:21:00 [debug] 15353#15353: *15 http script copy: "X-Forwarded-Server: "
2018/02/17 12:21:00 [debug] 15353#15353: *15 http script var: "test.mywebapp.fr"
2018/02/17 12:21:00 [debug] 15353#15353: *15 http script copy: "
"
2018/02/17 12:21:00 [debug] 15353#15353: *15 http script copy: "X-Forwarded-Port: 443
"
2018/02/17 12:21:00 [debug] 15353#15353: *15 http script copy: "X-Forwarded-Proto: https
"
2018/02/17 12:21:00 [debug] 15353#15353: *15 http script copy: "Host: "
2018/02/17 12:21:00 [debug] 15353#15353: *15 http script var: "mywebapp"
2018/02/17 12:21:00 [debug] 15353#15353: *15 http script copy: "
"
2018/02/17 12:21:00 [debug] 15353#15353: *15 http script copy: "Connection: close

Re: [Loadbalancing] error 404 but backend work fine

$
0
0
I don't see the 404 you mentioned.
Note that you are handling ssl and are passing non-ssl, the backend(s) need to be aware when returning pages that these pages point to your LB and not where a backend wants them initially.

Re: [Loadbalancing] error 404 but backend work fine

$
0
0
sorry, here is full log

2018/02/17 12:46:28 [debug] 15406#15406: *219 SSL_do_handshake: -1
2018/02/17 12:46:28 [debug] 15406#15406: *219 SSL_get_error: 2
2018/02/17 12:46:28 [debug] 15406#15406: *219 reusable connection: 0
2018/02/17 12:46:28 [debug] 15406#15406: *219 SSL handshake handler: 0
2018/02/17 12:46:28 [debug] 15406#15406: *219 SSL_do_handshake: 1
2018/02/17 12:46:28 [debug] 15406#15406: *219 SSL: TLSv1.2, cipher: "ECDHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH Au=RSA Enc=AESGCM(256) Mac=AEAD"
2018/02/17 12:46:28 [debug] 15406#15406: *219 reusable connection: 1
2018/02/17 12:46:28 [debug] 15406#15406: *219 http wait request handler
2018/02/17 12:46:28 [debug] 15406#15406: *219 malloc: 000055F8B85EC460:1024
2018/02/17 12:46:28 [debug] 15406#15406: *219 SSL_read: -1
2018/02/17 12:46:28 [debug] 15406#15406: *219 SSL_get_error: 2
2018/02/17 12:46:28 [debug] 15406#15406: *219 free: 000055F8B85EC460
2018/02/17 12:46:28 [debug] 15406#15406: *219 http wait request handler
2018/02/17 12:46:28 [debug] 15406#15406: *219 malloc: 000055F8B85EC460:1024
2018/02/17 12:46:28 [debug] 15406#15406: *219 SSL_read: 399
2018/02/17 12:46:28 [debug] 15406#15406: *219 SSL_read: -1
2018/02/17 12:46:28 [debug] 15406#15406: *219 SSL_get_error: 2
2018/02/17 12:46:28 [debug] 15406#15406: *219 reusable connection: 0
2018/02/17 12:46:28 [debug] 15406#15406: *219 posix_memalign: 000055F8B85149E0:4096 @16
2018/02/17 12:46:28 [debug] 15406#15406: *219 http process request line
2018/02/17 12:46:28 [debug] 15406#15406: *219 http request line: "GET / HTTP/1.1"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http uri: "/"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http args: ""
2018/02/17 12:46:28 [debug] 15406#15406: *219 http exten: ""
2018/02/17 12:46:28 [debug] 15406#15406: *219 http process request header line
2018/02/17 12:46:28 [debug] 15406#15406: *219 http header: "Host: test.mywebapp.fr"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http header: "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0"
2018/02/17 12:46:28 [debug] 15406#15406: *219 posix_memalign: 000055F8B85E8550:4096 @16
2018/02/17 12:46:28 [debug] 15406#15406: *219 http header: "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http header: "Accept-Language: fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http header: "Accept-Encoding: gzip, deflate, br"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http header: "Connection: keep-alive"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http header: "Upgrade-Insecure-Requests: 1"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http header: "Pragma: no-cache"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http header: "Cache-Control: no-cache"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http header done
2018/02/17 12:46:28 [debug] 15406#15406: *219 event timer del: 3: 1518868048380
2018/02/17 12:46:28 [debug] 15406#15406: *219 generic phase: 0
2018/02/17 12:46:28 [debug] 15406#15406: *219 rewrite phase: 1
2018/02/17 12:46:28 [debug] 15406#15406: *219 test location: "/"
2018/02/17 12:46:28 [debug] 15406#15406: *219 using configuration "/"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http cl:-1 max:1048576
2018/02/17 12:46:28 [debug] 15406#15406: *219 rewrite phase: 3
2018/02/17 12:46:28 [debug] 15406#15406: *219 post rewrite phase: 4
2018/02/17 12:46:28 [debug] 15406#15406: *219 generic phase: 5
2018/02/17 12:46:28 [debug] 15406#15406: *219 generic phase: 6
2018/02/17 12:46:28 [debug] 15406#15406: *219 generic phase: 7
2018/02/17 12:46:28 [debug] 15406#15406: *219 access phase: 8
2018/02/17 12:46:28 [debug] 15406#15406: *219 access phase: 9
2018/02/17 12:46:28 [debug] 15406#15406: *219 access phase: 10
2018/02/17 12:46:28 [debug] 15406#15406: *219 post access phase: 11
2018/02/17 12:46:28 [debug] 15406#15406: *219 http init upstream, client timer: 0
2018/02/17 12:46:28 [debug] 15406#15406: *219 epoll add event: fd:3 op:3 ev:80002005
2018/02/17 12:46:28 [debug] 15406#15406: *219 http script copy: "X-Forwarded-For: "
2018/02/17 12:46:28 [debug] 15406#15406: *219 http script var: "192.168.184.254"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http script copy: "
"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http script copy: "X-Forwarded-Host: "
2018/02/17 12:46:28 [debug] 15406#15406: *219 http script var: "test.mywebapp.fr"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http script copy: ":443"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http script copy: "
"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http script copy: "X-Forwarded-Server: "
2018/02/17 12:46:28 [debug] 15406#15406: *219 http script var: "test.mywebapp.fr"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http script copy: "
"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http script copy: "X-Forwarded-Port: 443
"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http script copy: "X-Forwarded-Proto: https
"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http script copy: "Host: "
2018/02/17 12:46:28 [debug] 15406#15406: *219 http script var: "mywebapp"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http script copy: "
"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http script copy: "Connection: close
"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http script copy: ""
2018/02/17 12:46:28 [debug] 15406#15406: *219 http script copy: ""
2018/02/17 12:46:28 [debug] 15406#15406: *219 http script copy: ""
2018/02/17 12:46:28 [debug] 15406#15406: *219 http script copy: ""
2018/02/17 12:46:28 [debug] 15406#15406: *219 http proxy header: "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http proxy header: "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http proxy header: "Accept-Language: fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http proxy header: "Accept-Encoding: gzip, deflate, br"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http proxy header: "Upgrade-Insecure-Requests: 1"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http proxy header: "Pragma: no-cache"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http proxy header: "Cache-Control: no-cache"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http proxy header:
"GET / HTTP/1.1
X-Forwarded-For: 192.168.184.254
X-Forwarded-Host: test.mywebapp.fr:443
X-Forwarded-Server: test.mywebapp.fr
X-Forwarded-Port: 443
X-Forwarded-Proto: https
Host: mywebappw
Connection: close
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate, br
Upgrade-Insecure-Requests: 1
Pragma: no-cache
Cache-Control: no-cache

"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http cleanup add: 000055F8B85E8F48
2018/02/17 12:46:28 [debug] 15406#15406: *219 init keepalive peer
2018/02/17 12:46:28 [debug] 15406#15406: *219 get keepalive peer
2018/02/17 12:46:28 [debug] 15406#15406: *219 get ip hash peer, try: 6
2018/02/17 12:46:28 [debug] 15406#15406: *219 get ip hash peer, hash: 1 0002
2018/02/17 12:46:28 [debug] 15406#15406: *219 stream socket 14
2018/02/17 12:46:28 [debug] 15406#15406: *219 epoll add connection: fd:14 ev:80002005
2018/02/17 12:46:28 [debug] 15406#15406: *219 connect to 10.236.10.22:80, fd:14 #220
2018/02/17 12:46:28 [debug] 15406#15406: *219 http upstream connect: -2
2018/02/17 12:46:28 [debug] 15406#15406: *219 posix_memalign: 000055F8B85E6E40:128 @16
2018/02/17 12:46:28 [debug] 15406#15406: *219 event timer add: 14: 60000:1518868048564
2018/02/17 12:46:28 [debug] 15406#15406: *219 http finalize request: -4, "/?" a:1, c:2
2018/02/17 12:46:28 [debug] 15406#15406: *219 http request count:2 blk:0
2018/02/17 12:46:28 [debug] 15406#15406: *219 http run request: "/?"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http upstream check client, write event:1, "/"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http upstream request: "/?"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http upstream send request handler
2018/02/17 12:46:28 [debug] 15406#15406: *219 http upstream send request
2018/02/17 12:46:28 [debug] 15406#15406: *219 http upstream send request body
2018/02/17 12:46:28 [debug] 15406#15406: *219 chain writer buf fl:1 s:551
2018/02/17 12:46:28 [debug] 15406#15406: *219 chain writer in: 000055F8B85E8FE8
2018/02/17 12:46:28 [debug] 15406#15406: *219 writev: 551 of 551
2018/02/17 12:46:28 [debug] 15406#15406: *219 chain writer out: 0000000000000000
2018/02/17 12:46:28 [debug] 15406#15406: *219 event timer del: 14: 1518868048564
2018/02/17 12:46:28 [debug] 15406#15406: *219 event timer add: 14: 3600000:1518871588564
2018/02/17 12:46:28 [debug] 15406#15406: *219 http upstream request: "/?"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http upstream process header
2018/02/17 12:46:28 [debug] 15406#15406: *219 malloc: 000055F8B85E9560:4096
2018/02/17 12:46:28 [debug] 15406#15406: *219 recv: eof:0, avail:1
2018/02/17 12:46:28 [debug] 15406#15406: *219 recv: fd:14 492 of 4096
2018/02/17 12:46:28 [debug] 15406#15406: *219 http proxy status 404 "404 Not Found"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http proxy header: "Content-Type: text/html; charset=us-ascii"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http proxy header: "Server: Microsoft-HTTPAPI/2.0"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http proxy header: "Date: Sat, 17 Feb 2018 11:51:15 GMT"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http proxy header: "Connection: close"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http proxy header: "Content-Length: 315"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http proxy header done
2018/02/17 12:46:28 [debug] 15406#15406: *219 HTTP/1.1 404 Not Found
Server: nginx/1.13.1
Date: Sat, 17 Feb 2018 11:46:28 GMT
Content-Type: text/html; charset=us-ascii
Content-Length: 315
Connection: keep-alive

2018/02/17 12:46:28 [debug] 15406#15406: *219 write new buf t:1 f:0 000055F8B85E92A0, pos 000055F8B85E92A0, size: 173 file: 0, size: 0
2018/02/17 12:46:28 [debug] 15406#15406: *219 http write filter: l:0 f:0 s:173
2018/02/17 12:46:28 [debug] 15406#15406: *219 http cacheable: 0
2018/02/17 12:46:28 [debug] 15406#15406: *219 http proxy filter init s:404 h:0 c:0 l:315
2018/02/17 12:46:28 [debug] 15406#15406: *219 http upstream process upstream
2018/02/17 12:46:28 [debug] 15406#15406: *219 pipe read upstream: 0
2018/02/17 12:46:28 [debug] 15406#15406: *219 pipe preread: 315
2018/02/17 12:46:28 [debug] 15406#15406: *219 pipe buf free s:0 t:1 f:0 000055F8B85E9560, pos 000055F8B85E9611, size: 315 file: 0, size: 0
2018/02/17 12:46:28 [debug] 15406#15406: *219 pipe length: 315
2018/02/17 12:46:28 [debug] 15406#15406: *219 input buf #0
2018/02/17 12:46:28 [debug] 15406#15406: *219 pipe write downstream: 1
2018/02/17 12:46:28 [debug] 15406#15406: *219 pipe write downstream flush in
2018/02/17 12:46:28 [debug] 15406#15406: *219 http output filter "/?"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http copy filter: "/?"
2018/02/17 12:46:28 [debug] 15406#15406: *219 posix_memalign: 000055F8B85EA570:4096 @16
2018/02/17 12:46:28 [debug] 15406#15406: *219 http postpone filter "/?" 000055F8B85E9488
2018/02/17 12:46:28 [debug] 15406#15406: *219 write old buf t:1 f:0 000055F8B85E92A0, pos 000055F8B85E92A0, size: 173 file: 0, size: 0
2018/02/17 12:46:28 [debug] 15406#15406: *219 write new buf t:1 f:0 000055F8B85E9560, pos 000055F8B85E9611, size: 315 file: 0, size: 0
2018/02/17 12:46:28 [debug] 15406#15406: *219 http write filter: l:0 f:0 s:488
2018/02/17 12:46:28 [debug] 15406#15406: *219 http copy filter: 0 "/?"
2018/02/17 12:46:28 [debug] 15406#15406: *219 pipe write downstream done
2018/02/17 12:46:28 [debug] 15406#15406: *219 event timer: 14, old: 1518871588564, new: 1518871588565
2018/02/17 12:46:28 [debug] 15406#15406: *219 http upstream exit: 0000000000000000
2018/02/17 12:46:28 [debug] 15406#15406: *219 finalize http upstream request: 0
2018/02/17 12:46:28 [debug] 15406#15406: *219 finalize http proxy request
2018/02/17 12:46:28 [debug] 15406#15406: *219 free keepalive peer
2018/02/17 12:46:28 [debug] 15406#15406: *219 free rr peer 6 0
2018/02/17 12:46:28 [debug] 15406#15406: *219 close http upstream connection: 14
2018/02/17 12:46:28 [debug] 15406#15406: *219 free: 000055F8B85E6E40, unused: 48
2018/02/17 12:46:28 [debug] 15406#15406: *219 event timer del: 14: 1518871588564
2018/02/17 12:46:28 [debug] 15406#15406: *219 reusable connection: 0
2018/02/17 12:46:28 [debug] 15406#15406: *219 http upstream temp fd: -1
2018/02/17 12:46:28 [debug] 15406#15406: *219 http output filter "/?"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http copy filter: "/?"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http postpone filter "/?" 00007FFE4DE85590
2018/02/17 12:46:28 [debug] 15406#15406: *219 write old buf t:1 f:0 000055F8B85E92A0, pos 000055F8B85E92A0, size: 173 file: 0, size: 0
2018/02/17 12:46:28 [debug] 15406#15406: *219 write old buf t:1 f:0 000055F8B85E9560, pos 000055F8B85E9611, size: 315 file: 0, size: 0
2018/02/17 12:46:28 [debug] 15406#15406: *219 write new buf t:0 f:0 0000000000000000, pos 0000000000000000, size: 0 file: 0, size: 0
2018/02/17 12:46:28 [debug] 15406#15406: *219 http write filter: l:1 f:0 s:488
2018/02/17 12:46:28 [debug] 15406#15406: *219 http write filter limit 0
2018/02/17 12:46:28 [debug] 15406#15406: *219 posix_memalign: 000055F8B8563230:512 @16
2018/02/17 12:46:28 [debug] 15406#15406: *219 malloc: 000055F8B85ECAD0:16384
2018/02/17 12:46:28 [debug] 15406#15406: *219 SSL buf copy: 173
2018/02/17 12:46:28 [debug] 15406#15406: *219 SSL buf copy: 315
2018/02/17 12:46:28 [debug] 15406#15406: *219 SSL to write: 488
2018/02/17 12:46:28 [debug] 15406#15406: *219 SSL_write: 488
2018/02/17 12:46:28 [debug] 15406#15406: *219 http write filter 0000000000000000
2018/02/17 12:46:28 [debug] 15406#15406: *219 http copy filter: 0 "/?"
2018/02/17 12:46:28 [debug] 15406#15406: *219 http finalize request: 0, "/?" a:1, c:1
2018/02/17 12:46:28 [debug] 15406#15406: *219 set http keepalive handler
Viewing all 4759 articles
Browse latest View live


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