Re: [PATCH] http option for server identification removal

2023-10-18 Thread Aleksandar Lazic via nginx-devel
Hi Teo. On 2023-10-18 (Mi.) 20:38, Teo Tyrov wrote: # HG changeset patch # User Theodoros Tyrovouzis mailto:teoty...@gmail.com>> # Date 1697653906 -10800 #      Wed Oct 18 21:31:46 2023 +0300 # Node ID 112e223511c087fac65c7eb99dd88e66b174 # Parent  cdda286c0f1b4b10f30d4eb6a63fefb9b8708ecc

Re: Nginx Support required

2023-09-04 Thread Aleksandar Lazic via nginx
Hi Shashi Kant Sharma. On 2023-09-04 (Mo.) 10:33, Shashi Kant Sharma wrote: Hi Thomas, Thanks for your email however I know Nginx plus support there and no support for Nginx. We are stuck in one issue at client side and on prem environment as unable to upload more  than 20 mb. Have you

Re: Nginx Support required

2023-09-02 Thread Aleksandar Lazic via nginx
Hi Michael. On 2023-09-02 (Sa.) 19:01, Saint Michael wrote: Is there any paid support that would help me fix this problem: You searched for this site https://www.nginx.com/products/nginx/compare-models/ nginx offers via nginx plus a product with support and more as you can see in the page

Re: Enable two way SSL on Nginx web server

2023-08-18 Thread Aleksandar Lazic via nginx
Hi Kaushal. On 2023-08-18 (Fr.) 03:22, Kaushal Shriyan wrote: Hi, I am running nginx version: nginx/1.24.0  on CentOS Linux release 7.9.2009 (Core) # nginx -v nginx version: nginx/1.24.0 # cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) # Is there a way to enable two way SSL

Re: Upload files and folders to nginx web server from the browser

2023-08-09 Thread Aleksandar Lazic via nginx
Hi. On 2023-08-08 (Di.) 18:20, Kaushal Shriyan wrote: Hi, Is there a way to upload files to nginx web server https://software.mydomain.com from the browser ? I have the below nginx config file. I am running nginx version: nginx/1.24.0 on CentOS Linux release

Re: Nginx and PHP-FastCGI Process Manager

2022-11-27 Thread Aleksandar Lazic
Hi. On 27.11.22 09:41, Kaushal Shriyan wrote: On Sat, Nov 26, 2022 at 1:28 AM Kaushal Shriyan wrote: Hi, I am using nginx web server and php-fpm backend service to process all php files. NGINX proxies web requests and passes them on to PHP-FPM worker processes that execute the PHP

Re: Question on Instance structure.

2022-10-29 Thread Aleksandar Lazic
Thank you for your cooperation. -----Original Message- From: Aleksandar Lazic Sent: Thursday, October 27, 2022 5:02 PM To: Mcalexander, Jon J. Cc: nginx@nginx.org Subject: Re: Question on Instance structure. Hi. On 27.10.22 19:05, jonmcalexander--- via nginx wrote: I have a question regarding

Re: Question on Instance structure.

2022-10-28 Thread Aleksandar Lazic
action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. -Original Message- From: Aleksandar Lazic Sent: Thursday, October 27, 2022 5

Re: Question on Instance structure.

2022-10-27 Thread Aleksandar Lazic
Hi. On 27.10.22 19:05, jonmcalexander--- via nginx wrote: I have a question regarding structure. What is the proper configuration of NGINX instances when you want to have multiple configurations of NGINX, but only 1 set of binaries? You can use the '-c' flag to point to another nginx

Re: reverse proxy with mTLS does not send client certificate to upstream

2022-10-27 Thread Aleksandar Lazic
Hi. On 27.10.22 13:56, Andrej van der Zee wrote: Dear, I am trying to setup an TLS auth reverse proxy with proxy_ssl_certificate and proxy_ssl_certificate_key like below: http { server { listen 8080; resolver 8.8.8.8; location ~ /mimir/(.*)$ { proxy_pass

Re: Best way to handle large number of frequently updated redirects

2022-08-02 Thread Aleksandar Lazic
Hi Justin. On 02.08.22 00:29, justin_achievable wrote: Hi, I'm looking for advice on the best way to handle a fairly large and frequently updated list of redirects. Basically, I have a CSV file with source, target, and redirect type. There are several hundred entries, with updates made about

Re: Nginx performance data

2022-01-10 Thread Aleksandar Lazic
On 07.01.22 14:13, Anoop Alias wrote: https://www.nginx.com/blog/inside-nginx-how-we-designed-for-performance-scale/ In addition please also take a look into this post. https://www.nginx.com/blog/thread-pools-boost-performance-9x/ Regards Alex On Fri, Jan 7, 2022 at 6:33 PM James Read

Re: Nginx as reverse proxy in Openshift Cluster

2020-06-29 Thread Aleksandar Lazic
Hi, On 29.06.20 21:50, siva.pannier wrote: Hi, I am new to Nginx and I could validate some of the reverse proxy scenarios in Windows and Ubuntu machine successfully. However I am facing challenges on validating them on Openshift cluster platform. I am new to Docker/Kubernetes/Openshift. I am

Re: Configure nginx a reverse proxy https for IIS backend

2020-04-07 Thread Aleksandar Lazic
Hi. On 07.04.20 03:52, Johan Gabriel Medina Capois wrote: Hello everyone We are noob on nginx and we are trying to configure a site that is in Windows IIS, we could configure the site with http:// but with https:// we can’t What's in the nginx and IIS error log? IIS Backend server

Re: Block spefic URL

2019-11-04 Thread Aleksandar Lazic
Hi. Am 04.11.2019 um 12:07 schrieb Proline29: Hello, I'm trying to block such kind of URL https://mysite.com/#id=826c99368cc93a894267703e0fc2ed46 Tried if ( $request_uri = https://mysite.com/#id=826c99368cc93a894267703e0fc2ed46) { return444; } location ~*

Re: Rewriting url in nginx

2019-09-12 Thread Aleksandar Lazic
Am 12.09.2019 um 08:08 schrieb Zeeshan Opel: > I am trying to rewrite a url in nginx.  > > When i am accessing mail.parco.net.pk in browser, it > opens below link: > > http://mailsvr.parco.net.pk/mailsvr/mail/mailbox.nsf > But in actual it should open 

Re: Static resource failed to pass through cookie

2019-08-10 Thread Aleksandar Lazic
Hi. Am 09.08.2019 um 10:26 schrieb 姜伯洋: > map $cookie_test_debug $forward_to_gray { default 10.0.0.2; I would suggest to add this entry according to the doc and remove the if blocks. https://nginx.org/en/docs/http/ngx_http_map_module.html#map >     # forward to

Re: How to configure Nginx LB IP-Transparency for custom UDP application

2019-07-19 Thread Aleksandar Lazic
Am 16.07.2019 um 13:29 schrieb Jeya Murugan: > @all : Can someone help /point-out what i have missed in > proxy_protocol > here?  the proxy protocol is only designed for tcp not udp. > > I am using *NGINX 1.13.5 as a Load Balancer for one of my > >

Re: help allow post method url

2019-07-11 Thread Aleksandar Lazic
Hi. Am 11.07.2019 um 14:41 schrieb tuank19: > Hi all, > > I have a static website ( html ) with domain : abc.name.com , in html file > have form and use post method to laravel cms with domain : xyz.qwe.com. > Now i want config only domain abc.name.con post data to my cms laravel. > what can i do

Re: Does nginx use unique session identifiers

2019-07-10 Thread Aleksandar Lazic
Hi. Am 09.07.2019 um 20:40 schrieb Lemons, Terry: > Hi > > Our product uses nginx to front-end inbound web access. To enhance our > product’s > security posture, we have been examining the rules in the DISA Web Server > Security Requirements Guide >

Re: broken header without HAProxy

2019-06-04 Thread Aleksandar Lazic
Am 04.06.2019 um 10:32 schrieb arashad: > haproxy -vv > HA-Proxy version 1.5.18 2016/05/10 > Copyright 2000-2016 Willy Tarreau [snip] > ## > nginx -v > nginx version: nginx/1.16.0 > > ## > > cat $HAPROXY-CONF > produces an error seems

Re: broken header without HAProxy

2019-06-04 Thread Aleksandar Lazic
Hi. Am 04.06.2019 um 08:25 schrieb arashad: > Hello, > > I'm trying to remove HAProxy from my setup but i keep getting "broken header > while reading proxy protocol" and the website won't open at all. > If i remove the "send-proxy" from HAProxy the website won't open also. It would help a lot

Re: Google QUIC support in nginx

2019-06-01 Thread Aleksandar Lazic
Am 02.06.2019 um 00:28 schrieb Mathew Heard: > Heres probably the best confirmation I could find. > > Development has also started on support for QUIC >  and HTTP/3 >  – the next > significant update to

Re: is nginx support time-based acl?

2019-06-01 Thread Aleksandar Lazic
Hi. Am 01.06.2019 um 03:47 schrieb baalchina: > hi all, I have a Nginx server,which I want to setup a time-based acl, for > example, during 8am to 17pm, Nginx accept all connections, during 17pm to 8am > nextday, Nginx deny all connections. > Different acl may be deployed in different sites. >

Re: reverse proxy - http (80) to https (back-end) in Docker container

2019-05-27 Thread Aleksandar Lazic
Hi. Am 27.05.2019 um 19:51 schrieb Joey Côté: > Hello all, > > I am attempting to use nginx as a reverse proxy to funnel HTTP traffic to a > HTTPS back-end (both in a Docker container). I cannot enable HTTPS on my > front-end yet, so this would be a temporary solution to my issue. > > Only one

Re: Reverse proxy one domain

2019-04-27 Thread Aleksandar Lazic
Hi. Am 25.04.2019 um 15:16 schrieb mrodrigom: > Hi. > I have one URL for all my websites, applications and so. > Let's say it's system.mydomain.com. Most of my websites is Apache + PHP and > the applications is Tomcat. So far so good, no problem there. > > My nginx config that's working for

Re: source download from trac

2019-04-27 Thread Aleksandar Lazic
Ho. Am 27.04.2019 um 10:09 schrieb jung.ji...@gmail.com: > Hello Nginx.devel > > I am pleased to join this group of wonderful software. > > I am trying to build from source for my mac partially study purpose. > > Due to unfamiliarity of trac, I am still struggling to find the way to > >

Re: NGINX to Join F5

2019-03-12 Thread Aleksandar Lazic
Hi Igor. Am 11.03.2019 um 21:16 schrieb Igor Sysoev: > Today is an important day for NGINX. We signed an agreement to join to F5. > > The NGINX team and I believe this is a significant milestone for our > open source technology, community, and the company. > > F5 is committed to our open source

Re: NGINX with CGI on Alpine Linux

2018-10-22 Thread Aleksandar Lazic
Hi Postmaster (a.k.a. Bernard) I think this is a normal user user question not a development question so let's switch to nginx@nginx.org instead of nginx-de...@nginx.org. Am 22.10.2018 um 13:57 schrieb Postmaster: > Hi Team, > > I’m looking for the easiest way to allow CGI Script in my web

Re: NGINX with CGI on Alpine Linux

2018-10-22 Thread Aleksandar Lazic
Hi Postmaster (a.k.a. Bernard) I think this is a normal user user question not a development question so let's switch to ng...@nginx.org instead of nginx-devel@nginx.org. Am 22.10.2018 um 13:57 schrieb Postmaster: > Hi Team, > > I’m looking for the easiest way to allow CGI Script in my web

Re: Nginx as LB to redirect/return to upstream server instead of Proxy

2018-10-15 Thread Aleksandar Lazic
Hi. Am 15.10.2018 um 09:08 schrieb anish10dec: > We want to use Nginx as LB in a way so that Nginx can return 301 or 302 > redirect to client instead of Proxying request to backend/upstream servers. > > It is required as Server which is configured as LB is having limited > throughput of 1 Gbps

Re: nginx -> httpd -> mod_jk -> tomcat

2018-07-30 Thread Aleksandar Lazic
est regards Aleks PS: If it's OT for the list please let us know, thanks. Da: "Aleksandar Lazic" A: "nginx" Inviato: Sabato, 28 luglio 2018 18:41:59 Oggetto: Re: nginx -> httpd -> mod_jk -> tomcat Hi. On 26/07/2018 10:06, Giacomo Arru - BETA Technologies wrote:

Re: nginx -> httpd -> mod_jk -> tomcat

2018-07-28 Thread Aleksandar Lazic
Hi. On 26/07/2018 10:06, Giacomo Arru - BETA Technologies wrote: Hi everybody, I recently begun using proxy with nginx (same tests were made with haproxy). Which one do you prefer as both are very good and have similar features. My needs are to proxy for failover and balancing tomcat: I

Re: 413 Request Entity Too Large

2018-06-19 Thread Aleksandar Lazic
Hi Kaushal. On 18/06/2018 22:03, Kaushal Shriyan wrote: On Sat, Jun 16, 2018 at 1:36 PM Aleksandar Lazic wrote: Hi. On 16/06/2018 10:56, Kaushal Shriyan wrote: >Hi, > >I am encountering 413 Request Entity Too Large in the browser. I have >added upload_max_filesize = 20M.

Re: 413 Request Entity Too Large

2018-06-16 Thread Aleksandar Lazic
Hi. On 16/06/2018 10:56, Kaushal Shriyan wrote: Hi, I am encountering 413 Request Entity Too Large in the browser. I have added upload_max_filesize = 20M. I have added client_max_body_size 20M; in nginx.conf and i am still facing the issue. nginx version is 1.12. Please let me know if you need

Re: Nginx: allow access to admin ONLY if the request has a secret header. Do this without the if-evil case.

2018-05-28 Thread Aleksandar Lazic
On 28/05/2018 07:16, Quintin Par wrote: My website’s being hit hard and I am trying to see if I can limit this at the load balancer (Nginx) level by cutting off requests that don’t have a special header. I’ve seen some solutions that involve the if statement, notably

Re: PHP Pages

2018-05-23 Thread Aleksandar Lazic
Hi. On 23/05/2018 16:27, mdm100 wrote: My nginx vhost setup will serve .html files but it throws the 503 Bad Gateway error when trying to serve a .php file. This server runs Laravel vhost with not issue, it just will not run plain .php files. Server: Ubuntu 17 server { listen 80;

Re: Nginx redirection

2018-05-23 Thread Aleksandar Lazic
Hi. On 16/05/2018 02:22, Enrico wrote: Hi, I have a nginx server (called mynginxserver) and need to redirect some urls : I want to have all url with the string tso: http://www.mynginxserver.com/XXtsoX redirected to https://myserver.com/XXtsoX if the string tso is in the

Re: "This page isn't working" error

2018-05-23 Thread Aleksandar Lazic
Hi. On 23/05/2018 13:37, Friscia, Michael wrote: I wonder if anyone knows how to debug this. I have two URLs: Working https://www.yalemedicine.org/doctors/marcus_bosenberg/ not working https://www.yalemedicine.org/doctors/antonio_subtil/ Looks like your SDL Component does not exist for this

Re: POST redirection with NGINX

2018-05-22 Thread Aleksandar Lazic
Hi Pedro On 18/05/2018 16:02, pedrobrigatto wrote: > Hi guys, > > The base name of a web application has changed and now I need to implement a > redirection of POST requests so that, whenever clients already using the old > base path are not affected by this modification. So, let's say the old

Re: Block countries - Nginx

2018-05-22 Thread Aleksandar Lazic
On 21/05/2018 11:49, Sathish Kumar wrote: > Hi All, > > I have a requirement to block certain countries coming to our website. I > managed to achieved it using the ngx_http_geoip_module. I have a problem > now, if the request comes through Amazon API Gateway, how can I read the > X-forwarded-for

Re: [EXT] Re: Nginx as reverse proxy for https traffic

2018-04-11 Thread Aleksandar Lazic
gt; -Original Message- > From: Aleksandar Lazic [mailto:al-ng...@none.at] > Sent: Wednesday, April 11, 2018 1:01 PM > To: nginx@nginx.org; Ajay Sonawane <ajay_sonaw...@symantec.com> > Subject: [EXT] Re: Nginx as reverse proxy for https traffic > > Am 11.04.2018 um 07:11 sc

Re: Nginx as reverse proxy for https traffic

2018-04-11 Thread Aleksandar Lazic
Am 11.04.2018 um 07:11 schrieb Ajay Sonawane: > I am trying to use Nginx as a reverse proxy in an environment where > clients connects to my server (https://myserver:10443 > ). I am trying to use Nginx as a reverse proxy > so that client will connect to Nginx proxy and

Re: Upgradeing from stable to mainline via repo ?

2018-04-10 Thread Aleksandar Lazic
Hi. Am 08.04.2018 um 15:09 schrieb Bob Smith via nginx: > Hi, > > I've currently got stable installed via the NGINX Centos 7 repo. > > Is there a "supported", seamless way to "upgrade" from stable to > mainline via the repo ?  Or do I have to go the nuclear option via > uninstall and re-install

Re: Why are my CGI scripts not executed like PHP ?

2018-04-10 Thread Aleksandar Lazic
Hi, Am 06.04.2018 um 21:53 schrieb Ralph Seichter: > On 06.04.18 19:04, Richard Stanway wrote: > >> https://www.nginx.com/resources/wiki/start/topics/examples/fcgiwrap/ > > I altered my setup to use fcgiwrap. Since then, I keep getting "502 Bad > Gateway" errors, with log entries like this: >

Re[2]: The repository 'http://nginx.org/packages/mainline/debian xenial Release' does not have a Release file.

2017-12-26 Thread Aleksandar Lazic
-- Originalnachricht -- Von: "Konstantin Pavlov" <thr...@nginx.com> An: nginx@nginx.org; "Aleksandar Lazic" <al-ng...@none.at> Gesendet: 26.12.2017 12:15:50 Betreff: Re: The repository 'http://nginx.org/packages/mainline/debian xenial Release' doe

The repository 'http://nginx.org/packages/mainline/debian xenial Release' does not have a Release file.

2017-12-26 Thread Aleksandar Lazic
Hi. I tried today to install nginx on a ubuntu 16.04.3 LTS but `apt-cache showpkg nginx` does not show me the nginx package from nginx.org. I followed the command on this page http://nginx.org/en/linux_packages.html#mainline The `apt-get update` output apt-get update Get:1

Re: apache rewrite to nginx

2017-06-14 Thread Aleksandar Lazic
Hi frank3427. frank3427 wrote on 14.06.2017: > so far I have come up with the following but , I have been reading that > using if statements is bad. > > if ($http_host ~ "^rwa-(.*)"){ > set $rule_0 1; > set $bref_2 $2; > set $bref_7 $7; > } > if ($http_host ~ "^m2m-(.*)"){ > set $rule_0 1; > set

Re: apache rewrite to nginx

2017-06-12 Thread Aleksandar Lazic
Title: Re: apache rewrite to nginx Hi Frank Dias. Frank Dias wrote on 12.06.2017: I need some help, migrating from Apache to Nginx. The following logic is in Apache, how do I convert to Nginx Where do you stuck? Have you tried this docs to start?

Re: Proper way to convert an apache rewrite rule

2017-06-04 Thread Aleksandar Lazic
Hi ST. ST wrote on 04.06.2017: > Hello, > I'm new to nginx and try to move an old website from apache to nginx. > While getting rid of the .htaccess file I've encountered following > rewrite rule: > > RewriteCond %{QUERY_STRING} id=([^&]*) [NC,OR] > RewriteCond %{QUERY_STRING} daily=([^&]*)

Re: nginx reverser proxy tomcat with tomcat not working

2017-05-22 Thread Aleksandar Lazic
Hi AjaySawant. AjaySawant have written on Mon, 22 May 2017 08:32:13 -0400: > I am trying to proxy tomcat using nginx. I have this configuration > below. Now the problem I am facing is if I access the url by > IP(192.168.2.6) then it gets redirected to /auth_app is tomcat which > is perfectly

Re: How to restrict acces to specific friendly URL by IP in Wordpress site?

2017-05-19 Thread Aleksandar Lazic
Am Fri, 19 May 2017 03:24:43 -0400 schrieb "ohmykot" : > Hi! > I've got a server with nginx and a wordpress website running on it. what's the output of nginx -V? > On the web-site, I have a wordpress page, i.e. > domain.com/secret-page/, that I want to restrict

Re: Is it possible to analyze result and query a second server?

2017-05-10 Thread Aleksandar Lazic
Hi Jason. Am Wed, 10 May 2017 21:02:36 -0700 schrieb Jason Bronnx : > Hi, > > Tried to search on this for a couple of hours, but had no luck, > hoping you guys can help. > > I have a use case, that I need to proxy the request to server-A > first, then if returns 200,

Re: Return Specific Error Page in NGinX when all the upstream servers are marked down

2017-05-06 Thread Aleksandar Lazic
Hi shivramg94. shivramg94 written on Fri, 05 May 2017 04:59:57 -0400: > I have an upstream block as follows > > upstream sample{ > server abc1.example.com down; > server abd2.example.com down; > } > > Currently I get a error. In this special case where I receive a > 502 and all

Re: weight and balancing in upstream proxy

2017-04-14 Thread Aleksandar Lazic
Hi. Am 12-04-2017 23:50, schrieb Frank Liu: Hi, How does nginx balances traffic to upstream with different weight? If I have 3 servers in upstream, with weight 1, 2, 4, assuming all are healthy, will nginx send traffic to server 1, 2, 3, 2, 3, 3, 3 or 1, 2, 2, 3, 3, 3, 3? If I have two

Re: Configuring a subnet in an upstream server

2017-04-07 Thread Aleksandar Lazic
Am 03-04-2017 18:09, schrieb Dynastic Space: I used a poor example. The functionality I was interested in was adding a range of application servers, all part of the same domain. I think you have the following options. .) or list every app server in the upstream block

Re: Memory issue

2017-04-06 Thread Aleksandar Lazic
Am 06-04-2017 19:05, schrieb Maxim Dounin: Hello! On Thu, Apr 06, 2017 at 11:32:45AM -0400, JohnCarne wrote: [...] [...] Indeed, we are all tired to do 3 upgrades /month Note that the way you are asking others to help you is not likely to attract many volunteers. +1

Re: Memory issue

2017-04-06 Thread Aleksandar Lazic
Am 06-04-2017 07:14, schrieb JohnCarne: It looks like i don't speak english properly to be understood, others will open a thread on this issue, and may be explain better Well how about to remove the additionally modules and watch if the memory issue still exists. ###

Re: Proxy Pass

2017-04-04 Thread Aleksandar Lazic
Hi. Am 04-04-2017 17:02, schrieb Antonio Nappa: Hello, in another of my experiments I would like to redirect to a completely different website the request, I had a look at the proxy_pass directive and the corresponding module, and I see that a location handler is set, which means it will hook

Re: Valid characters in nginx configuration

2017-03-17 Thread Aleksandar Lazic
Hi. Am 15-03-2017 18:00, schrieb SW@EU via nginx: Hi, there can I find the description of the nginx configuration file syntax e.g. in a BNF like notation. There is defined which characters are allowed in "name" e.g. of an upstream definition? Only ASCII or UTF8, only alpha or alphanumeric

Re: 回复:Re:_回复:Re:_回复:Re:_Issue_about_nginx_removing_the_header_"Connection"_in_HTTP_response?

2017-03-06 Thread Aleksandar Lazic
-31585052. Thanks Liu Peng - 原始邮件 - 发件人:Aleksandar Lazic <al-ng...@none.at> 收件人:t...@sina.com 抄送人:nginx <nginx@nginx.org> 主题:Re:_回复:Re:_回复:Re:_Issue_about_nginx_removing_the_header_"Connection"_in_HTTP_response? 日期:2017年03月04日 17点22分 Hi Liu Peng. Am 04-03-2017 09:12, s

Re: 回复:Re:_回复:Re:_Issue_about_nginx_removing_the_header_"Connection"_in_HTTP_response?

2017-03-04 Thread Aleksandar Lazic
egards Aleks Thanks Liu Peng ----- 原始邮件 - 发件人:Aleksandar Lazic <al-ng...@none.at> 收件人:t...@sina.com 抄送人:nginx <nginx@nginx.org> 主题:Re:_回复:Re:_Issue_about_nginx_removing_the_header_"Connection"_in_HTTP_response? 日期:2017年03月03日 16点19分 Hi. then one directive upward. http

Re: [no subject]

2017-03-03 Thread Aleksandar Lazic
://www.nginx.com/resources/deployment-guides/load-balance-apache-tomcat/#session-persistence-basic. Btw.: what's a OHS Server? BR Aleks Regards "" Anto Telvin Mathew "" On Sat, Feb 25, 2017 at 4:29 AM, Aleksandar Lazic <al-ng...@none.at> wrote: Hi Anto. Am 24-02-2017 19:

Re: 回复:Re: Issue about nginx removing the header "Connection" in HTTP response?

2017-03-03 Thread Aleksandar Lazic
y_set_header is the "Connection" header in request. > > Thanks > Liu Peng > > ----- 原始邮件 - > 发件人:Aleksandar Lazic <al-ng...@none.at> > 收件人:nginx@nginx.org > 抄送人:t...@sina.com > 主题:Re: Issue about nginx removing the header "Connection" in HTTP response? &

Re: NGINX - Reverse Proxy With Authentication at 2 Layers

2017-03-02 Thread Aleksandar Lazic
Hi. Am 01-03-2017 09:57, schrieb zaidahmd: ** Problem Background ** I have an application, say app-A, which is running on a private network unreachable by public network. Now a new requirement needs to deliver the webpages of app-A to external users over public network. As a solution to

Re: Issue about nginx removing the header "Connection" in HTTP response?

2017-03-02 Thread Aleksandar Lazic
Hi. Am 01-03-2017 08:29, schrieb t...@sina.com: Hi, nginx guy, In our system, for some special requests, the upstream server will return a response which the header includes "Connection: Close". According to HTTP protocol, "Connection" is one-hop header. So, nginx will remove this header

Re: [no subject]

2017-02-24 Thread Aleksandar Lazic
Hi Anto. Am 24-02-2017 19:03, schrieb Anto: Hi Team , Would like to know how i can configure Ngnix LB with SSL termination ? In addition to the above would like to configure LB with multiple httpd's with single IP. Can you guide me how i can do the same with proxy pass ? Note : I have a

Re: COAP Reverse Proxy

2017-01-13 Thread Aleksandar Lazic
Hi. Am 13-01-2017 09:55, schrieb nginxsantos: Hi, Anyone has any information of using Nginx as a Reverse Proxy for COAP. Looks like Nginx does not support this. But, does any third party module support this? With COAP you mean this?

Re: Nginx Perl / Cgi Permission Problem

2016-09-19 Thread Aleksandar Lazic
Hi. Am 19-09-2016 12:41, schrieb basti: Hello, I have a perl/ gci script that creates a dir and within that an subdir with permission 0750. The owner of the dirs are www-data. nginx can't delete the dirs because this is run as user nginx. is there a way to set the user for perl/cgi to nginx?

Re: transferring site from apache....

2016-08-02 Thread Aleksandar Lazic
Hi. Am 02-08-2016 20:49, schrieb itpp2012: Sounds like this add-on: https://github.com/alibaba/nginx-http-concat Really! @OT: Why not just use one line per css file?! Posted at Nginx Forum: https://forum.nginx.org/read.php?2,268683,268699#msg-268699

Re: When nginx support tcp splicing?

2016-07-27 Thread Aleksandar Lazic
Hi. Am 27-07-2016 10:34, schrieb baidu: Do have any plan for tcp splicing? This was asked in the past http://mailman.nginx.org/pipermail/nginx/2015-December/thread.html#49398 Best regards Aleks ___ nginx-devel mailing list nginx-devel@nginx.org

Re: Segmentation fault with default init.d

2016-06-22 Thread Aleksandar Lazic
Hi J B, Am 21-06-2016 17:59, schrieb J B: I installed nginx-extras and passenger from Phusion PPA and received the following error. /etc/init.d/nginx: line 46: 32069 Segmentation fault (core dumped) start-stop-daemon --start --quiet --pidfile $PID --exec $DAEMON -- $DAEMON_OPTS 2>

Re: timeout with UWSGI?

2016-05-11 Thread Aleksandar Lazic
AM, Aleksandar Lazic <al-ng...@none.at> wrote: Hi Alex, Am 11-05-2016 09:24, schrieb Francis Daly: On Tue, May 10, 2016 at 05:09:21PM -0400, Alex Hall wrote: Hi there, We may be finding the problem... I'm not sure what you mean by 'upstream service'. Somehow, you tell nginx t

Re: timeout with UWSGI?

2016-05-11 Thread Aleksandar Lazic
Hi Alex, Am 11-05-2016 09:24, schrieb Francis Daly: On Tue, May 10, 2016 at 05:09:21PM -0400, Alex Hall wrote: Hi there, We may be finding the problem... I'm not sure what you mean by 'upstream service'. Somehow, you tell nginx to talk to "the next server". It can be with "proxy_pass" or

Re: openshift-nginx docker image running as non-root

2016-05-05 Thread Aleksandar Lazic
Hi. Am 04-05-2016 23:50, schrieb Francis Daly: On Wed, May 04, 2016 at 06:25:01PM -0300, Paulo Leal wrote: Hi there, Completely untested by me; and I've not used openshift or docker, but: I have been playing around with the https://github.com/nginxinc/openshift-nginx dockerfile and trying

Re: binary cgi script download instead of executing

2016-05-02 Thread Aleksandar Lazic
Hi. Am 02-05-2016 10:55, schrieb mayak: hi all, i have simply broken my brain trying to execute a `cgi` script that requires no interpreter -- just execute the cgi binary with the query portion of the url, and it spits out html content. no matter what i do, i always end up with ELF> GARBAGE

Re: Add support for Log ZMQ 3rd Party Module on vim syntax

2016-04-29 Thread Aleksandar Lazic
Hi Dani. Am 29-04-2016 01:43, schrieb Dani Bento: # HG changeset patch # User Daniela Bento # Date 1461886571 -3600 # Fri Apr 29 00:36:11 2016 +0100 # Node ID 6a1f953371d22ab082f05b5249d29ec72f934411 # Parent 2f98b5709d7965e7c97cb74b8380014179c7bf0d Contrib:

Re: setting up proxy peers like HAproxy?

2016-04-25 Thread Aleksandar Lazic
Hi Florin Andrei. Am 23-04-2016 02:22, schrieb Florin Andrei: With HAproxy, if you use multiple proxies you can synchronize their states: https://cbonte.github.io/haproxy-dconv/configuration-1.5.html#3.5 This allows, for example, if you're load balancing based on a header value, to make sure

Re: Advise for NTLM-Auth

2016-04-19 Thread Aleksandar Lazic
Hi. Am 18-04-2016 22:59, schrieb A. Schulze: Maxim Dounin: Just a side note: NTLM auth is broken by design and violates HTTP basic rules. Avoid using it if you can. to be clear: I don't care if it's named NTLM or ugly_voodoo The goal is a nginx accesses by a IE/edge browser. Users should

Re: nginx counterpart of haproxy's acl dst

2016-03-30 Thread Aleksandar Lazic
Hi. Am 30-03-2016 10:24, schrieb Alexey S: Hi, does nginx have a variable, that represents the destination IP address and port, like it was seen/used by the client at the connection time? Could you mean http://nginx.org/en/docs/http/ngx_http_upstream_module.html#var_upstream_addr Cheers

Re: NGINX reload memory leak

2016-03-08 Thread Aleksandar Lazic
Hi. Am 08-03-2016 14:01, schrieb ben5192: Hi, I am working on a module for NGINX and am having a problem with memory leaking when using "./nginx -s reload". Everything that is allocated is done so through ngx_palloc or ngx_pcalloc so NGINX should know to clean it up. I have also added a

RE: secure and httponly cookies

2016-03-08 Thread Aleksandar Lazic
Hi. Am 08-03-2016 08:44, schrieb Krishna Kumar K K: Thing is its failing in the vulnerability scan (nexpose tool is used) saying cookie is not secure or httponly. As Aapo said the request header is a client header. This is only changeable at client side with some javascript code. If you want

Re: secure and httponly cookies

2016-03-07 Thread Aleksandar Lazic
Hi. Am 07-03-2016 21:15, schrieb kris...@brocade.com: Here, nginx is proxy passing the requests to webseal and webseal sends the response with cookies. We are trying to rewrite this cookie headers. Please can you show us how you have tried to do this. As you can see on this pages there

Re: TCP Load Balancing with Proxy Protocol

2016-03-07 Thread Aleksandar Lazic
Hi. Am 07-03-2016 15:33, schrieb Pavlo Zhuk: Yes, it is https://www.nginx.com/resources/admin-guide/proxy-protocol/ Please pay attention that only V1 is supported! http://hg.nginx.org/nginx/file/tip/src/core/ngx_proxy_protocol.c

Re: upstream prematurely closes cnx => 502 Bad Gateway to client

2016-03-04 Thread Aleksandar Lazic
Hi. Am 04-03-2016 11:00, schrieb stefws: stefws Wrote: --- Seems I'm not alone w/TC issues ;) missed the link: http://permalink.gmane.org/gmane.comp.web.haproxy/26860 Well Maybe you have a completely different situation. Is it possible to

Re: Feature Request for access_log stdout;

2016-02-20 Thread Aleksandar Lazic
Hi. Am 19-02-2016 09:42, schrieb Konstantin Pavlov: On 19/02/2016 02:56, Aleksandar Lazic wrote: [snipp env errors] Any plans to add this possibility or have I missed something? Please check the following: https://hub.docker.com/_/nginx/, section "using environment variables in

Re: Feature Request for access_log stdout;

2016-02-18 Thread Aleksandar Lazic
Hi. Am 18-02-2016 15:02, schrieb Aleksandar Lazic: Hi Andrew. Am 18-02-2016 10:16, schrieb Andrew Hutchings: [snipp] What version of Docker are you running? If it is prior to 1.9 you are likely to hit his bug: https://github.com/docker/docker/issues/6880 docker version Client

Re: Feature Request for access_log stdout;

2016-02-18 Thread Aleksandar Lazic
Hi Andrew. Am 18-02-2016 10:16, schrieb Andrew Hutchings: On 18/02/16 08:59, Andrew Hutchings wrote: Hi Aleksandar, On 17/02/16 19:04, Aleksandar Lazic wrote: Hi. Am 17-02-2016 16:47, schrieb Valentin V. Bartenev: On Wednesday 17 February 2016 16:26:01 Aleksandar Lazic wrote: Hi. how

Re: Feature Request for access_log stdout;

2016-02-17 Thread Aleksandar Lazic
Hi. Am 17-02-2016 16:47, schrieb Valentin V. Bartenev: On Wednesday 17 February 2016 16:26:01 Aleksandar Lazic wrote: Hi. how difficult is it to be able to add "access_log stdout;" to nginx, similar like "error_log stderr;"? I ask because in some PaaS environment is i

Feature Request for access_log stdout;

2016-02-17 Thread Aleksandar Lazic
Hi. how difficult is it to be able to add "access_log stdout;" to nginx, similar like "error_log stderr;"? I ask because in some PaaS environment is it difficult to setup a dedicated user yust for nginx. It fits also a little bit better to http://12factor.net/logs BR Aleks

Re: question about client certs

2016-02-03 Thread Aleksandar Lazic
. On 2 February 2016 at 20:56, Aleksandar Lazic <al-ng...@none.at> wrote: Dear Alex. Am 02-02-2016 04:32, schrieb Alex Samad: Hi Is it possible with nginx to do this https://www.abc.com / /noclientcert/ /clientcert/ so you can get to / with no client cert, but /clientcert/ you need

Re: question about client certs

2016-02-02 Thread Aleksandar Lazic
Dear Alex. Am 02-02-2016 04:32, schrieb Alex Samad: Hi Is it possible with nginx to do this https://www.abc.com / /noclientcert/ /clientcert/ so you can get to / with no client cert, but /clientcert/ you need a cert, but for /noclientcert/ you don't need a cert. Looks like from the config

Re: load balancer on nginx : how to monitoring backend ?

2016-01-28 Thread Aleksandar Lazic
Hi. Am 28-01-2016 08:36, schrieb Alexandre: Hello, On 28/01/16 08:27, Maxim Konovalov wrote: On 1/28/16 1:32 AM, Alexandre wrote: Monitoring of backend seems to be possible with NGINX PLUS. Can you confirm ? http://nginx.org/en/docs/http/ngx_http_upstream_module.html

Re: using variables in certificate path names

2015-12-17 Thread Aleksandar Lazic
Am 15-12-2015 11:01, schrieb Maxim Konovalov: On 12/15/15 12:53 PM, Valentin V. Bartenev wrote: On Tuesday 15 December 2015 09:44:45 Aleksey Portnov wrote: Hello! Is it possible and correct something like: server { listen 1.1.1.1:443 ssl; server_name sitename.de sitename.fr

Re: NginX SSL reverse mode, client ip address problem

2015-12-06 Thread Aleksandar Lazic
Hi WANJUNE. Am 06-12-2015 07:14, schrieb WANJUNE: In NginX reverse mode, There is a problem that can't get real client's Ip address. [snipp] I don't want to use http ssl listen becase of SSL handshaking burden on NginX. I decided to use stream codec like below. stream { upstream aa34

Re: web application to call C code

2015-12-06 Thread Aleksandar Lazic
Hi. Am 05-12-2015 22:59, schrieb gideon425@mailnull.com: I am writing a web application and am interested in whether I can use nginx. For each request for the web server, I want it to call some C code I have written. The code C will generate the HTML I want to send back. Is there a simple

Re: PHP and CGI on UserDir

2015-11-30 Thread Aleksandar Lazic
Hi. Am 29-11-2015 12:02, schrieb Smart Goldman: Hi, thank you for great help, Aleksandar Lazic. I tried it. How looks now your config? PHP script shows me "File not found." and outputs the following log: 2015/11/29 05:50:15 [error] 5048#0: *6 FastCGI sent in stderr: "Primary

Re: PHP and CGI on UserDir

2015-11-29 Thread Aleksandar Lazic
Hi Smart Goldman. Am 29-11-2015 09:04, schrieb Smart Goldman: Hello. I am new here. I try to enable PHP and CGI(Perl) on UserDir (/home/user/public_html) with nginx. But on my Chrome, PHP script is downloaded and CGI script shows me "404 Not Found" page. Here's my configurations. What is wrong

Re: Complex url rewriting

2015-11-23 Thread Aleksandar Lazic
Hi. Am 23-11-2015 18:48, schrieb lmauldinpe15: I have a single Nginx installation and I am using PHP-FPM to serve multiple PHP applications in sub directories. Example: /var/www/ (this is 'root') /var/www/a/foo/index.php /var/www/a/bar/index.php /var/www/b/bar/index.php I want to setup url

Re: Nginx failing to ask for PEM SSL key password

2015-11-19 Thread Aleksandar Lazic
Hi. Am 19-11-2015 14:40, schrieb Valentin V. Bartenev: On Thursday 19 November 2015 11:56:37 B.R. wrote: Aleks: Have you even read the 1st message from lakarjail? Well a little bit. ​(s)he said he had a look at it. It seems (s)he only wants​ interactive solutions with the password being

  1   2   >