Re: Problem using nginx as reverse proxy server on Windows Server 2016

2024-02-03 Thread Victor Oppenheimer
listening directives on the Windows Server computer to listen on port 90 rather than port 80.  After this change on the MS Windows Server 2016 nginx succeeded in starting and performed reverse proxying successfully. This seems to indicate that the problem is with a conflict in the

Re: Problem using nginx as reverse proxy server on Windows Server 2016

2024-02-03 Thread Jeremy Cocks via nginx
d doing reverse proxying as I desired. For comparison > sake, I looked at the > tasks using port 80 as I had on my windows server. On the desktop, the > only task using port > 80 is nginx. > > I then changed the nginx listening directives on the Windows Server > computer to liste

Re: Problem using nginx as reverse proxy server on Windows Server 2016

2024-02-03 Thread Sam Hobbs
insecure HTML and secure HTTPS webpage requests Did you mean to say insecure HTTP and secure HTTPS webpage requests? process secure HTMLS requests as well Did you mean to say process secure HTTPS requests as well? ___ nginx mailing list nginx@nginx.

Problem using nginx as reverse proxy server on Windows Server 2016

2024-02-03 Thread Victor Oppenheimer
d the nginx listening directives on the Windows Server computer to listen on port 90 rather than port 80.  After this change on the MS Windows Server 2016 nginx succeeded in starting and performed reverse proxying successfully. This seems to indicate that the problem is with a conflict in the use of

Re: Problem with basic auth on nuxtjs frontend with wordpress backend

2022-07-22 Thread Francis Daly
On Wed, Jul 20, 2022 at 10:19:28AM -0400, strtwtsn wrote: Hi there, > I'm trying to add basic authentication to a nginx reverse proxy which is in > front of a nuxtjs app. > But if hangs. I've also tried it in the location section, but this hangs > too, what am I missing? What does "it hangs" me

Problem with basic auth on nuxtjs frontend with wordpress backend

2022-07-20 Thread strtwtsn
I'm trying to add basic authentication to a nginx reverse proxy which is in front of a nuxtjs app. I've configured nginx as such server { server_name ; auth_basic "Restricted Content"; auth_basic_user_file /etc/nginx/.htpasswd; gzipon; gzip_types text/plain ap

Proxy problem is killing me

2022-06-18 Thread Saint Michael
I am writing code to proxy a news website and it works but the top line shows the original site, not my own site. the code is attached: The idea is that the person who needs to go to https://novosti.dn.ua goes instead to https://novosti.oneye.us What am I doing wrong? many thanks Philip server { d

Re: map problem : how to debug it ?

2022-04-13 Thread gperrot
Hello Igor, Thanks a lot for your complete answer. So if I well understood, no way to make a nginx redirection based on #anchor passed in URL ? No workaround possible ? We have a code including help link which contains anchors, code we can change easily since many users have it. Thanks in advan

Re: map problem : how to debug it ?

2022-04-13 Thread Igor Ippolitov
in so called single page applications. This link may help: https://en.wikipedia.org/wiki/Single-page_application#Browser_history (note that it also uses an anchor ;) To sum it up: there is no solution to the problem you are asking about. But most likely this is an XY problem: https://en.wiki

Re: map problem : how to debug it ?

2022-04-13 Thread gperrot
Thanks a lot for all your answers ! Since I have the case below with anchor (fragment-ID in URL to map to one specific action in my doc.map : /Doc.html#case1 https://domain2.com/action1; /Doc.html#case2 https://domain2.com/action2; /Doc.html https://domain2.com/action3; How can I do this kind of

Re: map problem : how to debug it ?

2022-04-12 Thread Igor Ippolitov
Hello Gilles, A browser won't send URL postion after the '#' mark to a web server. So your maps won't work as expected and there is nothing to do in Nginx about it. Regards, Igor. On 12.04.2022 10:16, gperrot wrote: Hello, I am using nginx/1.16.1 on CentOS Linux 7. I am using map directive

Re: map problem : how to debug it ?

2022-04-12 Thread Sergey A. Osokin
Hi, hope you're doing well these days. The best way to debug such situations is to enable a debugging log [1]. Hope that helps. While I'm here I'd recommend to upgrade nginx instance to the more recent stable version, i.e. 1.20.2. References: [1] https://nginx.org/en/docs/debugging_log.html --

map problem : how to debug it ?

2022-04-12 Thread gperrot
Hello, I am using nginx/1.16.1 on CentOS Linux 7. I am using map directive for managing a large number of redirects from one server to another server : map $request_uri $new_uri { include /etc/nginx/conf/redirect.map; include /etc/nginx/conf/documentation.map; } In /etc/nginx/conf/docum

Re: Strange problem with expires?

2022-03-01 Thread Grzegorz Kulewski
W dniu 01.03.2022 o 21:49, Grzegorz Kulewski pisze: > W dniu 01.03.2022 o 21:43, David Hu pisze: >> On 1 March 2022 20:40:48 UTC, Grzegorz Kulewski wrote: >>> Hello, >>> >>> I am using nginx 1.21.0 to serve static files for one domain and when I >>> have: >>> >>>location = / { >>>

Re: Strange problem with expires?

2022-03-01 Thread Grzegorz Kulewski
W dniu 01.03.2022 o 21:43, David Hu pisze: > On 1 March 2022 20:40:48 UTC, Grzegorz Kulewski wrote: >> Hello, >> >> I am using nginx 1.21.0 to serve static files for one domain and when I have: >> >>location = / { >>expires epoch; >>} >> >> e

Re: Strange problem with expires?

2022-03-01 Thread Lucas Rolff
:48 AM To: nginx@nginx.org Subject: Strange problem with expires? Hello, I am using nginx 1.21.0 to serve static files for one domain and when I have: location = / { expires epoch; } expire headers are not added for / but when I remove &#

Re: Strange problem with expires?

2022-03-01 Thread David Hu via nginx
On 1 March 2022 20:40:48 UTC, Grzegorz Kulewski wrote: >Hello, > >I am using nginx 1.21.0 to serve static files for one domain and when I have: > >location = / { >expires epoch; >} > >expire headers are not added for / but when I remove '=' t

Strange problem with expires?

2022-03-01 Thread Grzegorz Kulewski
Hello, I am using nginx 1.21.0 to serve static files for one domain and when I have: location = / { expires epoch; } expire headers are not added for / but when I remove '=' they are. Is this some bug or just me doing something stupid? Ca

Re: Problem running nginx in a container

2022-02-13 Thread marioja2
It took a while and it was starting at me in the face but I did figure it out. The script that starts the container would make changes to some php-fpm7 (fastcgi process manager) after it got started. Obviously, this did not take effect until the restart of the container. This explains the differ

Re: Problem running nginx in a container

2022-02-08 Thread Francis Daly
On Tue, Feb 08, 2022 at 12:31:55AM -0500, marioja2 wrote: Hi there, > error.log.2: https://1drv.ms/u/s!ApcymW6zCVpnuxyYecXcaIlqrVWu?e=WmgaVO > error.log.1: https://1drv.ms/u/s!ApcymW6zCVpnuxt2oIE3eLklkND0?e=ZlJNGH > access.log.2: https://1drv.ms/u/s!ApcymW6zCVpnuxgl1jCmHH8O-Pmi?e=GJGQgI > access.

Re: Problem running nginx in a container

2022-02-08 Thread marioja2
It just dawned on me that the difference between the case where result is attachment and the case with result is error code is most likely related to the application reacting to a difference in the environment. Maybe a file or folder permission. I did check both directory tree and could not see a d

Re: Problem running nginx in a container

2022-02-07 Thread marioja2
See below for more questions (I snipped repetitive stuff that was not necessary for understanding): Francis Daly Wrote: --- > On Sun, Feb 06, 2022 at 10:08:49PM -0500, marioja2 wrote: > (snip) > The request that you care about is a POST to a url

Re: Problem running nginx in a container

2022-02-07 Thread marioja2
Hi, I ran another case with error_log debug. Here are 4 files: error.log.2: https://1drv.ms/u/s!ApcymW6zCVpnuxyYecXcaIlqrVWu?e=WmgaVO error.log.1: https://1drv.ms/u/s!ApcymW6zCVpnuxt2oIE3eLklkND0?e=ZlJNGH access.log.2: https://1drv.ms/u/s!ApcymW6zCVpnuxgl1jCmHH8O-Pmi?e=GJGQgI access.log.1: https:

Re: Problem running nginx in a container

2022-02-07 Thread Francis Daly
On Sun, Feb 06, 2022 at 10:08:49PM -0500, marioja2 wrote: Hi there, > I checked and the output when starting from docker-compose up -d or > docker-compose restart is identical. I include it here: > https://1drv.ms/u/s!ApcymW6zCVpnuwKQOFFbSCLiZhn9?e=bvrpJU Thanks; that is useful to see what nginx

Re: Problem running nginx in a container

2022-02-06 Thread marioja2
Francis, see my response inline: Hi there, There's lots of information here, and I'm not sure what specific parts relate to an nginx issue. I don't have a full answer, but there are some suggestions below that might help point at where the problem and fix might be. > I am

Re: Problem running nginx in a container

2022-02-06 Thread OTH
full answer, but there are some suggestions below that > might help point at where the problem and fix might be. > > > I am running nginx in a container created with a docker-compose yaml > file. > > Here is a sample docker-compose.yml and environment file: > > > >

Re: Problem running nginx in a container

2022-02-06 Thread Francis Daly
On Fri, Feb 04, 2022 at 06:33:08PM -0500, marioja2 wrote: Hi there, There's lots of information here, and I'm not sure what specific parts relate to an nginx issue. I don't have a full answer, but there are some suggestions below that might help point at where the problem and fix

Problem running nginx in a container

2022-02-04 Thread marioja2
://github.com/marioja/Mailu/blob/test-mailu/webmails/rainloop/Dockerfile The really interesting problem (I have been working on it for 3 days just so you know I am not asking for help without having tried a lot of things before) is that the configuration entries in the /etc/nginx/http.d

Re: curious .conf problem

2022-01-11 Thread David27
>> 2. The proximate cause for all these problems: Certbot did not generate an >> SSL certificate for a server block with a 'dot' prefix name even when it was >> listening to 443. It didn't complain, it just didn't expand the >> certificate. > > That seems like a curious thing to do. > > Maybe certb

Re: curious .conf problem

2022-01-10 Thread Francis Daly
On Sat, Jan 08, 2022 at 06:49:39PM -0500, David27 wrote: Hi there, > Hello Francis, thanks for the hints. It is working now. Good to hear you have something that works for you :-) > I will endeavor to provide a description that a reader can follow here. And thank you for this; it is very har

Re: curious .conf problem

2022-01-08 Thread David27
Hello Francis, thanks for the hints. It is working now. >> 2) Gosh I am also hesitant to put >> the entire sites .conf file in a public email list where for evermore they >> are viewable by people who might notice exploits, even those unrelated to >> the issue at hand. > >That is a valid concern

Re: curious .conf problem

2022-01-07 Thread Francis Daly
ynch.com, charset, and utf-8. (The missing semi-colon is not a syntax error when the directive takes any number of arguments; it's also not a problem that affects this specific issue.) None of those four are names or patterns that match "www.thomas-walker-lynch.com". > Nginx just ch

Re: curious .conf problem

2022-01-07 Thread David27
entire sites .conf file in a public email list where for evermore they are viewable by people who might notice exploits, even those unrelated to the issue at hand. Well in any case, find the entire .conf file for the second virtual host below. Also Here is a detailed description of the problem: tho

Re: curious .conf problem

2022-01-06 Thread Francis Daly
On Thu, Jan 06, 2022 at 08:37:46AM -0500, David27 wrote: Hi there, It's better for future readers if you include the full details in the email; but in this case it seems straightforward based on the url content I see. > "https://www.thomas-walker-lynch.com"; is picked up by a server block with a

curious .conf problem

2022-01-06 Thread David27
"https://www.thomas-walker-lynch.com"; is picked up by a server block with a different virtual host name. A bit of a head scratcher so perhaps the experts here can tell me what rookie mistake I have made? Detailed information and .txt file versions of the conf files at this link. thomaswlynch.co

RE: Port restore problem of reverse proxy after login.

2021-11-06 Thread Reinis Rozitis
e any way to continue using port to solve this problem? Depending on what the application does in the background you can try to disable the port change on redirect with port_in_redirect off; http://nginx.org/en/docs/http/ngx_http_core_module.html#port_in_redirect Though if the application incl

Port restore problem of reverse proxy after login.

2021-11-06 Thread Hongyi Zhao
e and password. After I open http://my.domain.xyz: and then do the login, the URL always changes to the following form: http://my.domain.xyz:2021 This will cause subsequent operations to fail. Is there any way to continue using port to solve this problem? Regard

Re: Problem with aliases

2021-07-04 Thread Francis Daly
On Sat, Jul 03, 2021 at 05:15:56PM -0400, yosef wrote: Hi there, > Hi again, now is working thanks a lot! Thanks for confirming, and it's good to hear that you have a working system! Cheers, f -- Francis Dalyfran...@daoine.org ___ ng

Re: Problem with aliases

2021-07-03 Thread yosef
Hi again, now is working thanks a lot! Posted at Nginx Forum: https://forum.nginx.org/read.php?2,291964,291977#msg-291977 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Problem with aliases

2021-07-02 Thread Francis Daly
On Thu, Jul 01, 2021 at 04:37:56PM -0400, yosef wrote: Hi there, > unfortunately I still cant get this working, now the browser is not > downloading the file, instead is showing me this message "No input file > specified" let me show you what my code looks like now: * what request do you make?

Re: Problem with aliases

2021-07-01 Thread yosef
Hi Francis, First of all, thank you very much for your help :) I took your advice, unfortunately I still cant get this working, now the browser is not downloading the file, instead is showing me this message "No input file specified" let me show you what my code looks like now: server { listen

Re: Problem with aliases

2021-06-30 Thread Francis Daly
On Wed, Jun 30, 2021 at 07:31:43PM -0400, yosef wrote: Hi there, > Im trying to use several blocks in my server using the server IP as server > name (no domain yet), each block points to a folder containing Wordpress. I > dont know what Im doing wrong because instead of running index.php nginx is

Problem with aliases

2021-06-30 Thread yosef
Hello, Im trying to use several blocks in my server using the server IP as server name (no domain yet), each block points to a folder containing Wordpress. I dont know what Im doing wrong because instead of running index.php nginx is download the file. Here is my configuration file: server { l

Re: What's the problem with this nginx configuration?

2021-06-10 Thread raphy
Thank you!!! Posted at Nginx Forum: https://forum.nginx.org/read.php?2,291599,291827#msg-291827 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: What's the problem with this nginx configuration?

2021-05-22 Thread Thomas Ward
for Android ​ Original Message From: raphy Sent: Sat May 22 10:10:01 EDT 2021 To: nginx@nginx.org Subject: What's the problem with this nginx configuration? Hi!! Due to some issues in packages installed which caused the freezing of the system, I had to re-install Ubuntu

What's the problem with this nginx configuration?

2021-05-22 Thread raphy
pass http://golang-webserver; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; #proxy_set_header Host $host; } } What's the problem with this nginx configuration? Posted a

powerbi report server with nginx reverse proxy (authentication problem)

2021-04-23 Thread Rejaine Silveira Monteiro
is there any way to make the AD authentication used by the PowerBI Report Server behind Nginx work? According to this article: https://community.powerbi.com/t5/Report-Server/PBIRS-behind-nginx/m-p/1021522 Nginx does not support forwarding authentication in the free version, due to incompatibility w

Re: nginx-quic http3 reverse proxy problem

2021-01-24 Thread dahekik
hey maybe this " what is a reverse proxy guide " may help https://www.namecheap.com/guru-guides/what-is-reverse-proxy-server/ but you can try to build NGINX with HTTP/3 support enabled: % ./configure \ --prefix=$PWD \ --wit

Problem while replacing a certificate by a new one, nains sees the old one.

2020-11-25 Thread Laurent Bois
Hi, I have a problem on a Windows 2012 server, with SSL certificate on nginx. We’ve replaced an old self signed certificate with a new one ready for production and we encounter a problem: even after restart, nains sees the old certificate. I think this problem is similar to renewing

Re: nginx-quic http3 reverse proxy problem

2020-11-18 Thread Sergey Kandaurov
> On 18 Nov 2020, at 06:37, lujiangbin wrote: > > hi, i am trying nginx-quic,i use it as a http3 reverse proxy, it will send a > http request to upstream. when i send http3 request to reverser proxy to > retrieve a large file(1g), it does not work fine, just download some part of > the data, i

nginx-quic http3 reverse proxy problem

2020-11-17 Thread lujiangbin
hi, i am trying nginx-quic,i use it as a http3 reverse proxy, it will send a http request to upstream. when i send http3 request to reverser proxy to retrieve a large file(1g), it does not work fine, just download some part of the data, i think there are some bugs in it, could you please check it o

upstream problem

2020-11-03 Thread Rejaine Silveira Monteiro
Hi, I'm trying to set up a balance as follows (example): upstream loadbalance { server server:9091; server server:9092; server server:9093; } location / { proxy_set_headerHost $server_name; proxy_request_buffering off; proxy_buffering off; proxy_re

problem ajax with nginx

2020-09-09 Thread doudootiana
Hy Ladies and gentlemen :) I have migrated my project from Apache2 and php7 to nginx with php-php, version 7 too. With Apache2, everything worked. With Nginx, only ajax fails. With Ajax, i try to execute a php script. Trying to determine where is the problem, i have : -tested php code(echo

Ingress whitelist configuration problem in kubernetes

2020-07-15 Thread oriano
in it: ngx_http_access_module, so I was left with the doubt if this may be the cause of the problem. The installation of the income is done through helm v2.16.1 stable version like this: helm install stable / nginx-ingress --name ingress --values ​​ingress-config.yml --namespace kube-system Any recommendation? P

Re: Problem with nginx rate limiting not working when using white listing

2020-06-29 Thread J.R.
One place you have $mylimit and another is $my_limit (with the underscore). ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Problem with nginx rate limiting not working when using white listing

2020-06-29 Thread stu_cambridge
I have nginx rate-limiting working when using the following limit_req_zone $binary_remote_addr zone=mylimit:20m rate=50r/m; I now want to apply it to certain IPs so i've changed it to geo $limit { default 1; 1.2.3.4/32 0; } map $limit $mylimit { 0 ""; 1 $binary_remote_

Curious problem with nginx, NFS and Chrome; Edge, Firefox & Safari are all fine.

2020-06-18 Thread Jay Caines-Gooby
I wrote it up in some detail here: https://serverfault.com/questions/1021932/why-does-setting-nfs-sync-option-for-aws-efs-cause-nginx-chrome-to-chunk-or-brea Intrigued if anyone can help me understand why -- Jay Caines-Gooby http://jay.gooby.org j...@gooby.org +44 (0)7956 182625 twitter, skype &

Re: http_request_failed - cURL error 60: SSL certificate problem: unable to get local issuer certificate.

2020-05-21 Thread finalturismo
I know the correct way as you are saying but i have an extremely secure wordpress setup and most files are not in the public_html folder, there is a specific reason me and my friend did this. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,288085,288090#msg-288090 _

Re: http_request_failed - cURL error 60: SSL certificate problem: unable to get local issuer certificate.

2020-05-21 Thread finalturismo
How do i go about doing this? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,288085,288089#msg-288089 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: http_request_failed - cURL error 60: SSL certificate problem: unable to get local issuer certificate.

2020-05-21 Thread J.R.
> location / { > rewrite .* https://www.dfwelectronicsrecycling.com/$1; > } Don't do that... The correct way when you want to redirect http to https would be: server { listen 80; server_name dfwelectronicsrecycling.com www.dfwelectronicsrecycling.com; access_log off; return 301

Re: http_request_failed - cURL error 60: SSL certificate problem: unable to get local issuer certificate.

2020-05-21 Thread J.R.
Your certificate chain is incomplete, and curl is complaining... https://www.ssllabs.com/ssltest/analyze.html?d=www.dfwelectronicsrecycling.com&hideResults=on You should add the Sectigo RSA Domain Validation Secure Server CA to your cert file, then it will probably be happy... ___

Re: http_request_failed - cURL error 60: SSL certificate problem: unable to get local issuer certificate.

2020-05-21 Thread Thomas Ward
nt to Curl.  If it's from a legitimate SSL provider then you aren't serving the certificate chain too. Thomas On 5/21/20 1:27 PM, finalturismo wrote: > So i have a few sites setup on my nginx web server and my ssl has been > working fine. > > Problem is iam getting a curl ssl

http_request_failed - cURL error 60: SSL certificate problem: unable to get local issuer certificate.

2020-05-21 Thread finalturismo
So i have a few sites setup on my nginx web server and my ssl has been working fine. Problem is iam getting a curl ssl error and iam not sure why? The error is as follows http_request_failed - cURL error 60: SSL certificate problem: unable to get local issuer certificate. I never gotten any ssl

Re: Problem installing in custom folder when Perl is enabled

2020-03-15 Thread Martin Grigorov
Thank you for the answer, Maxim! Regards, Martin On Fri, Mar 13, 2020 at 4:22 PM Maxim Dounin wrote: > Hello! > > On Fri, Mar 13, 2020 at 03:12:35PM +0200, Martin Grigorov wrote: > > > I'm facing the following problem when I try to install Nginx in a custom > > f

Re: Problem installing in custom folder when Perl is enabled

2020-03-13 Thread Maxim Dounin
Hello! On Fri, Mar 13, 2020 at 03:12:35PM +0200, Martin Grigorov wrote: > I'm facing the following problem when I try to install Nginx in a custom > folder: [...] > make[1]: Entering directory '/home/ubuntu/hg/nginx/nginx' > cd objs/src/http/modules/perl &&am

Problem installing in custom folder when Perl is enabled

2020-03-13 Thread Martin Grigorov
Hello Nginx team, I'm facing the following problem when I try to install Nginx in a custom folder: ... objs/ngx_modules.o \ -ldl -lpthread -lcrypt -lpcre -lssl -lcrypto -ldl -lpthread -lz -lxml2 -lxslt -lexslt -lgd -lGeoIP \ -Wl,-E -fstack-protector-strong -L/usr/local/lib -L/usr/lib/aa

RE: problem with proxy pass

2020-03-04 Thread Reinis Rozitis
> Hi. > Here the result from tcpdump: > from inside my network > 192.168.1.10.60221 > 192.168.1.3.fujitsu-dtcns: UDP, length 107 > 192.168.1.3.fujitsu-dtcns > 192.168.1.10.60221: UDP, length 85 > > From all agenst fro outside my network: > any.public.ip.address.56916 > 151.1.210.45.fujitsu-dtcns:

Re: problem with proxy pass

2020-03-04 Thread Stefano Serano
Hope this help Da: nginx per conto di Reinis Rozitis Inviato: lunedì 2 marzo 2020 19:07:39 A: nginx@nginx.org Oggetto: RE: problem with proxy pass > but my agents are still unable to send logs over port 1514 UDP Well at least the nginx setup seems in working order. Now

RE: problem with proxy pass

2020-03-02 Thread Reinis Rozitis
> but my agents are still unable to send logs over port 1514 UDP Well at least the nginx setup seems in working order. Now do you see any more detailed messages on the agents (like extended ip/port info / connection error)? Also you could inspect the network traffic to see if the centos box re

Re: problem with proxy pass

2020-03-02 Thread Stefano Serano
but my agents are still unable to send logs over port 1514 UDP Da: nginx per conto di Reinis Rozitis Inviato: lunedì 2 marzo 2020 00:09:53 A: nginx@nginx.org Oggetto: RE: problem with proxy pass > The agents in my local network(192.x.x.x)) instead, are

RE: problem with proxy pass

2020-03-01 Thread Reinis Rozitis
> The agents in my local network(192.x.x.x)) instead, are able to authenticate > over port 1515 TCP, but not to send logs over 1514 UDP. The agents log said > that they are unable to connect over that port. > > If I temporally change the port 1514 UDP to 1514 TCP in my HIDS nodes, and > make the s

R: problem with proxy pass

2020-03-01 Thread Stefano Serano
Hi. You're right, i think i've to better explain. Here my situation: 1. I've two HIDS nodes that use port 1515 TCP for agents authentication, and 1514 UDP to receive logs from agents. If I point agents from outside and inside my network directly to the nodes, no problem arises

RE: problem with proxy pass

2020-02-27 Thread Reinis Rozitis
> From the hosts outside i've no connection problem, but from inside they are > unable to connect to the port. No firewall are enable on Nginx LB( Centos 7 > machine by the way) and Selinux is disabled. By "from inside" you mean other hosts in LAN or the same centos mac

R: problem with proxy pass

2020-02-27 Thread Stefano Serano
Hi all. I'm trying to use nginx as load balacer form my HIDS system (Wazuh). I've hosts that send logs from outside of my network and from inside throught port udp 1514. >From the hosts outside i've no connection problem, but from inside they are >unable to co

Re: Nginx php reverse proxy problem

2020-02-20 Thread Francis Daly
On Thu, Feb 20, 2020 at 08:10:14AM -0500, adrian.hilt wrote: Hi there, > Thanks, I just tried and it didn't work. What config do you use? What request do you make? What response do you get? What response do you want instead? > If I use the ip to access I don't have any probl

Re: Nginx php reverse proxy problem

2020-02-20 Thread adrian.hilt
Thanks, I just tried and it didn't work. If I use the ip to access I don't have any problem, when it goes throw nginx is the problem. Maybe are there some parameters in the php config of my server that I need to change? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,287003,

Re: Nginx php reverse proxy problem

2020-02-18 Thread Francis Daly
On Wed, Feb 12, 2020 at 07:43:11AM -0500, adrian.hilt wrote: Hi there, > I'm running a reverse proxy with nginx and using certbot for ssl. It's been > working great but recently with an php server installation it's been giving > me problems. > I get access to the index but any other page I get a

Re: Problem creating CRL

2020-02-18 Thread trstringer
Thanks again for the information! So that's typical for a cert to not include the distribution point URIs in the certificate itself? Seems strange to have to contact a certificate authority to find out the CRL distribution point, no? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,28704

Re: Problem creating CRL

2020-02-18 Thread Maxim Dounin
Hello! On Tue, Feb 18, 2020 at 01:50:36PM -0500, trstringer wrote: > Thanks for the quick response! How am I supposed to get the CRL for the > other 2 certs in the chain if there is no CRL URI? Contact CA administrators. -- Maxim Dounin http://mdounin.ru/ __

Re: Problem creating CRL

2020-02-18 Thread trstringer
Thanks for the quick response! How am I supposed to get the CRL for the other 2 certs in the chain if there is no CRL URI? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,287045,287047#msg-287047 ___ nginx mailing list nginx@nginx.org http://

Re: Problem creating CRL

2020-02-18 Thread Maxim Dounin
Hello! On Tue, Feb 18, 2020 at 12:58:26PM -0500, trstringer wrote: > I am attempting to add CRL support to my nginx proxy, and it seems to not be > working due to the following error: > > client SSL certificate verify error: (3:unable to get certificate CRL) while > reading client request header

Problem creating CRL

2020-02-18 Thread trstringer
I am attempting to add CRL support to my nginx proxy, and it seems to not be working due to the following error: client SSL certificate verify error: (3:unable to get certificate CRL) while reading client request headers >From my research, this is because nginx senses a missing CRL. But here is t

Nginx php reverse proxy problem

2020-02-12 Thread adrian.hilt
Hi, I'm running a reverse proxy with nginx and using certbot for ssl. It's been working great but recently with an php server installation it's been giving me problems. I get access to the index but any other page I get a 404 error from nginx. 404 Not Found nginx/1.14.0 (Ubuntu) This is my conf

Problem loading ssl engine

2019-06-19 Thread Quintero Sebastian
Hi All. I am trying to load an ssl engine in windows but for some reason it looks like it is trying to load it from some weird path. I don't even have a Z drive. My engine lib is in C:\cygwin\usr\local\ssl\lib\engines-1_1\gem.dll When I execute nginx I get: C:\nginx>nginx.exe nginx: [emerg] EN

Re: Nginx ssl_trusted_certificate directive problem

2019-06-17 Thread Maxim Dounin
Hello! On Fri, Jun 14, 2019 at 06:09:22AM -0400, niegus wrote: > Hi, > > I have my nginx configured with client_certificate authentication: > > ssl_client_certificate /etc/nginx/ssl/cas.pem; > ssl_verify_client optional; > ssl_verify_depth 2; > And is working fine, but I need to NOT send the

Nginx ssl_trusted_certificate directive problem

2019-06-14 Thread niegus
Hi, I have my nginx configured with client_certificate authentication: ssl_client_certificate /etc/nginx/ssl/cas.pem; ssl_verify_client optional; ssl_verify_depth 2; And is working fine, but I need to NOT send the CAs to the client during the handshake. I've seen http://nginx.org/en/docs/http/

Re: Weird problem cannot standup nginx on 443 ipv4

2019-04-26 Thread Julian Brown
> anyone to write. > > For example: a week ago, you would have liked if someone had previously > come up with a reliable and obviously-documented way that this specific > problem could be auto-avoided or -alerted. Today, you probably don't > need that work done, because you will

Re: Weird problem cannot standup nginx on 443 ipv4

2019-04-26 Thread Francis Daly
hat it was trying to do. I suspect that this won't be "fixed", because the amount of special-casing required in the code to handle it is probably not worth the effort to anyone to write. For example: a week ago, you would have liked if someone had previously come up with a reliable

Re: Weird problem cannot standup nginx on 443 ipv4

2019-04-25 Thread Julian Brown
I finally figured it out, and I cannot believe it passed a syntax checker. This is what I had: server { server_name learngigs.com www.learngigs.com listen 443; listen [::]:443; I did not have a semi colon after the server name directive. The syntax checker said it was fine, so I d

Re: Weird problem cannot standup nginx on 443 ipv4

2019-04-25 Thread OiledAmoeba
25. April 2019 21:27, "Julian Brown" schrieb: > listen 443; > listen [::]:443; I'm lazy, so I used "listen [::]:443 ssl http2 ipv6only=off" instead of two listen-directives. Maybe you want to try this, so nginx must use IPv4 and IPv6 because of the ipv6only=off directive. If I try learngigs.com

Re: Weird problem cannot standup nginx on 443 ipv4

2019-04-25 Thread Julian Brown
listen 443; > listen [::]:443; > > > > > You most certainly want > > > listen 443 ssl > or > listen 443 ssl http2 > > > > Not sure if it solves your problem. > > > ___ > nginx mailing

Re: Weird problem cannot standup nginx on 443 ipv4

2019-04-25 Thread Rainer Duffner
> Am 25.04.2019 um 21:27 schrieb Julian Brown : > > listen 443; > listen [::]:443; You most certainly want listen 443 ssl or listen 443 ssl http2 Not sure if it solves your problem. ___ nginx mailing list nginx@ng

Weird problem cannot standup nginx on 443 ipv4

2019-04-25 Thread Julian Brown
Sorry this is a bit long: On Debian Stretch 9.8, fresh install. I want to setup nginx as a load balancer to just one node at this time just to play with it and understand it. I installed the apt package nginx-full, which I assume will have all there. So I slightly modified nginx.conf, where I

Re: nginx has problem sending request body to upstream

2019-04-18 Thread allenhe
I see. so in this case the request was completely sent in single write without blocking that there is no need to schedule a write timer anymore, otherwise it is necessary. Thanks for the explanations! b.t.w, have you ever seen the work process is listening on the socket? Posted at Nginx Forum:

Re: nginx has problem sending request body to upstream

2019-04-18 Thread Roman Arutyunyan
On Fri, Apr 12, 2019 at 09:21:07PM -0400, allenhe wrote: > I understand the connection establish timer, write timer and read timer > should be setup and removed in order, but where is the write timer? It's not that simple. Writing and reading are done in parallel. In fact if nginx receives the r

Re: nginx has problem sending request body to upstream

2019-04-12 Thread allenhe
I understand the connection establish timer, write timer and read timer should be setup and removed in order, but where is the write timer? are there lines in the logs saying I'm going to send the bytes, the sending is on-going, and the bytes has been sent out? Posted at Nginx Forum: https://foru

Re: nginx has problem sending request body to upstream

2019-04-12 Thread Roman Arutyunyan
On Fri, Apr 12, 2019 at 08:51:05AM -0400, allenhe wrote: > but it looks to me the timer was set for the write not the read, If the request is sent and the response is not yet received, nginx schedules a timer for proxy_read_timeout. > also the > subsequent message isn't telling the nginx was int

Re: nginx has problem sending request body to upstream

2019-04-12 Thread allenhe
but it looks to me the timer was set for the write not the read, also the subsequent message isn't telling the nginx was interrupted while sending the request? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,283735,283739#msg-283739 ___ nginx

Re: nginx has problem sending request body to upstream

2019-04-12 Thread Roman Arutyunyan
Hello Allen, On Fri, Apr 12, 2019 at 06:01:14AM -0400, allenhe wrote: > Hi, > > The Nginx hangs at proxying request body to the upstream server but with no > error indicating what's happening until the client close the font-end > connection. can somebody here help give me any clue? following is t

nginx has problem sending request body to upstream

2019-04-12 Thread allenhe
Hi, The Nginx hangs at proxying request body to the upstream server but with no error indicating what's happening until the client close the font-end connection. can somebody here help give me any clue? following is the debug log snippet: 2019/04/12 14:49:38 [debug] 92#92: *405 epoll add connecti

  1   2   3   4   5   6   >