Re: WordPress Website not rendered properly via nginx reverse proxy

2024-10-15 Thread Richard Stanway via nginx
You could consider adding a CSP header to cause clients to automatically fetch those resources over HTTPS: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/upgrade-insecure-requests On Wed, 16 Oct 2024 at 00:06, Nikolaos Milas via nginx wrote: > On 16/10/2024 12

Re: WordPress Website not rendered properly via nginx reverse proxy

2024-10-15 Thread Nikolaos Milas via nginx
On 16/10/2024 12:19 π.μ., Nikolaos Milas via nginx wrote: ... I tried that but no, removing the trailing slash did not change anything. ... I found that the problem is that, as the proxied page is rendered over SSL, browsers are auto-blocking parts of the page as non-secure. This is due, I

Re: WordPress Website not rendered properly via nginx reverse proxy

2024-10-15 Thread Nikolaos Milas via nginx
On 15/10/2024 5:11 μ.μ., Kevin Weis via nginx wrote: have you tried to remove the trailing slash from the upstream url? Hi Kevin, Thanks for the hint. I tried that but no, removing the trailing slash did not change anything. Any other hints will be welcome! Thanks again, Nick smime.p7s

WordPress Website not rendered properly via nginx reverse proxy

2024-10-15 Thread Kevin Weis via nginx
Hi Nick, have you tried to remove the trailing slash from the upstream url? Turning: "proxy_pass http://example.private.noa.gr:80/;"; info: "proxy_pass http://example.private.noa.gr:80;"; If this resloves your issue, you can find the details in the docs here: https://nginx.org/en/docs/http/ngx

WordPress Website not rendered properly via nginx reverse proxy

2024-10-15 Thread Nikolaos Milas via nginx
Hello, We are using nginx on a server as a reverse proxy and it works fine serving multiple websites. Now I am trying to reverse proxy another one, a WP website, in the same way, but it won't render correctly. I can only see the main page areas and only some text at some places, but

Re: nginx/1.26.1 as a reverse proxy strips the Content-Length field from response, no matter what I do

2024-08-11 Thread Tobias Damisch via nginx
I am awfully sorry for spamming this list. I just found out nextcloud starts sending the file several times, sometimes containing "Content-Length" and sometimes not. The one time it actually serves the full download, this is the header: ---

nginx/1.26.1 as a reverse proxy strips the Content-Length field from response, no matter what I do

2024-08-11 Thread Tobias Damisch via nginx
Hi everyone, first-time poster here. I am trying to run nextcloud AIO behind a nginx/1.26.1 reverse proxy. When I download a file from the nextcloud, in the answer there is no Content-Length field coming out of nginx, while it was there when nextcloud AIO sent it (I have sniffed the traffic with

How to configure HTTP CONNECT to SSH Proxy?

2024-05-14 Thread Wladislav Artsimovich via nginx
ction as tested by `proxytunnel.exe -v` (Here the connection goes through an additional local proxy `127.0.0.1:54450`, which is not relevant to the question) ``` proxytunnel.exe -v -q -p 127.0.0.1:54450 -r example.org:21343 -d 127.0.0.1:22 Tunneling to example.org:21343 (remote proxy) Communica

Eprints (using PERL CGI)over NGINX reverse proxy

2024-05-07 Thread zen zenitram
Good day! We have Institutional Repository that is made with the use of Eprints, It has no problem uploading file up to 1 gb as default when in local access. but when we use NGINX as the reverse proxy it only accept up to 128 kb file. Does PERL CGI affects the upload limit over NGINX? we

Re: NGINX Reverse Proxy terminate TCP connection after 5 minutes of inactivity

2024-02-26 Thread Kin Seng
reviously attached pcap. > > I see, I assumed you had run tcpdump on the nginx > host. I'd reccomend doing that too then (as well as client app host) if > you have a network firewall in the mix - to see what nginx itself > truely sends/recieves. > > > Source : clie

Re: NGINX Reverse Proxy terminate TCP connection after 5 minutes of inactivity

2024-02-21 Thread J Carter
27;d reccomend doing that too then (as well as client app host) if you have a network firewall in the mix - to see what nginx itself truely sends/recieves. > Source : client app -- Dest : nginx proxy , any port to any port > > Source : public server -- Dest : nginx proxy , any port to any p

Re: NGINX Reverse Proxy terminate TCP connection after 5 minutes of inactivity

2024-02-19 Thread Kin Seng
Hi J Carter, Thank you for your reply. I am capturing the packet from firewall, and the filtering is as per below for the previously attached pcap. Source : client app -- Dest : nginx proxy , any port to any port Source : public server -- Dest : nginx proxy , any port to any port Source

Re: NGINX Reverse Proxy terminate TCP connection after 5 minutes of inactivity

2024-02-19 Thread J Carter
Hello, On Tue, 20 Feb 2024 09:40:13 +0800 Kin Seng wrote: > Hi J Carter, > > This is the only results from the whole 5 minutes session (intentionally > without any transaction to create inactivity). Is there any symptoms which > can prove that other parties are the one who Initiate the closing?

Re: NGINX Reverse Proxy terminate TCP connection after 5 minutes of inactivity

2024-02-19 Thread Kin Seng
Hi J Carter, This is the only results from the whole 5 minutes session (intentionally without any transaction to create inactivity). Is there any symptoms which can prove that other parties are the one who Initiate the closing? On Tue, Feb 20, 2024, 9:33 AM J Carter wrote: > Hello, > > On Mon,

Re: NGINX Reverse Proxy terminate TCP connection after 5 minutes of inactivity

2024-02-19 Thread Kin Seng
er 5 minutes of > > inactivity, i.e no transaction. > > [From wireshark, nginx send RST to upstream server and then send FIN,ACK > to > > downstream client] > > This could be the normal behavior if you had 'proxy_timeout 5m;' in your > config. > But since apparentl

Re: NGINX Reverse Proxy terminate TCP connection after 5 minutes of inactivity

2024-02-19 Thread J Carter
Hello, On Mon, 19 Feb 2024 16:24:48 +0800 Kin Seng wrote: [...] > Please refer to the attachments for reference. > > On Mon, Feb 19, 2024 at 4:24 PM Kin Seng wrote: > > After capturing the tcp packet and check via wireshark, I found out that > > the nginx is sending out the RST to the public s

Re: NGINX Reverse Proxy terminate TCP connection after 5 minutes of inactivity

2024-02-19 Thread Roman Arutyunyan
e the normal behavior if you had 'proxy_timeout 5m;' in your config. But since apparently you have 86400s as proxy timeout value, something else is going on. Could you provide more details like debug log for example? > I have this setup which requires TLS1.2 connection connecting f

Re: NGINX Reverse Proxy terminate TCP connection after 5 minutes of inactivity

2024-02-19 Thread Kin Seng
ion does not support TLS1.2 connection > hence the introduction of nginx proxy/reverse proxy for TLS wrapping > purpose. You may refer below : > >Internal Network > | INTERNET/Public > [Client Application] <->

NGINX Reverse Proxy terminate TCP connection after 5 minutes of inactivity

2024-02-19 Thread Kin Seng
application] to public network [server]. It only use TCP ports (not http/https) and establish with a server located at public network. The client application does not support TLS1.2 connection hence the introduction of nginx proxy/reverse proxy for TLS wrapping purpose. You may refer below

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

2024-02-03 Thread Victor Oppenheimer
"Percentage of time the processor is idle" with a PID of 0. This is typically the Web Deployment Agent Service (MsDepSvc) (this often uses PID4) or Host Network Service - both stoppable from from services.msc Let us know how you get on! On Sat, 3 Feb 2024 at 18:51, Victor Opp

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

2024-02-03 Thread Jeremy Cocks via nginx
t; with a PID of 0. This is typically the Web Deployment Agent Service (MsDepSvc) (this often uses PID4) or Host Network Service - both stoppable from from services.msc Let us know how you get on! On Sat, 3 Feb 2024 at 18:51, Victor Oppenheimer wrote: > I am trying to run nginx as a reverse pr

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
I am trying to run nginx as a reverse proxy server on my Microsoft Windows Server 2016 Standard computer. I previously have used Microsoft IIS and Apache Tomcat on this computer to serve webpages on port 80 and port 8080 respectively. However, I want to have some of my websites use SSL and be

Re: IMAP Proxy with TLS Upstream Configuration

2024-01-06 Thread Maxim Dounin
Hello! On Sat, Jan 06, 2024 at 11:03:47AM -0800, Jeff Kletsky wrote: > I believe I have properly configured nginx v1.24.0 (open source) for > IMAP proxy on FreeBSD 14.0. I am, however, unable to establish a TLS > connection to the upstream server. > > I have confirmed that I

IMAP Proxy with TLS Upstream Configuration

2024-01-06 Thread Jeff Kletsky
I believe I have properly configured nginx v1.24.0 (open source) for IMAP proxy on FreeBSD 14.0. I am, however, unable to establish a TLS connection to the upstream server. I have confirmed that I can connect to the proxy with TLS and that the auth server is called. The auth server returns

Re: Forcing incognito mode on a reverse proxy

2023-12-20 Thread Constantine A. Murenin
On 16/12/2023, Saint Michael wrote: > I have a reverse proxy but for security reasons, I need to force the > client to work the closest to an Incognito session as possible. > I tried adding the following: > > proxy_set_header Cookie ""; > add_header Set-Cookie "

Re: Forcing incognito mode on a reverse proxy

2023-12-20 Thread Francis Daly
On Sat, Dec 16, 2023 at 02:16:45PM -0500, Saint Michael wrote: Hi there, > I have a reverse proxy but for security reasons, I need to force the > client to work the closest to an Incognito session as possible. I suspect that that can only reliably be done by telling the client to

RE: Capture full request/response body logging in nginx configured in reverse proxy mode reports nginx: [emerg] unknown directive "log_by_lua_block"

2023-12-19 Thread Reinis Rozitis
> nginx: [emerg] unknown directive "log_by_lua_block" in > /etc/nginx/conf.d/microservice.conf:8 > nginx: configuration file /etc/nginx/nginx.conf test failed You need nginx lua/openresty module, but I'm not sure if Centos (community version) repository has it. You might need to build it yourse

Re: Capture full request/response body logging in nginx configured in reverse proxy mode reports nginx: [emerg] unknown directive "log_by_lua_block"

2023-12-18 Thread Kaushal Shriyan
On Mon, Dec 18, 2023 at 11:19 PM Sergey A. Osokin wrote: > Hi Kaushal, > > On Mon, Dec 18, 2023 at 10:24:14PM +0530, Kaushal Shriyan wrote: > > > > I am running nginx version: nginx/1.24.0 as reverse proxy on CentOS Linux > > release 7.9.2009 (Core). I have the below

Re: Capture full request/response body logging in nginx configured in reverse proxy mode reports nginx: [emerg] unknown directive "log_by_lua_block"

2023-12-18 Thread Sergey A. Osokin
Hi Kaushal, On Mon, Dec 18, 2023 at 10:24:14PM +0530, Kaushal Shriyan wrote: > > I am running nginx version: nginx/1.24.0 as reverse proxy on CentOS Linux > release 7.9.2009 (Core). I have the below config > file /etc/nginx/conf.d/microservice.conf > I want to capture full reques

Capture full request/response body logging in nginx configured in reverse proxy mode reports nginx: [emerg] unknown directive "log_by_lua_block"

2023-12-18 Thread Kaushal Shriyan
Hi, I am running nginx version: nginx/1.24.0 as reverse proxy on CentOS Linux release 7.9.2009 (Core). I have the below config file /etc/nginx/conf.d/microservice.conf I want to capture full request/response body logging in nginx. # cat /etc/nginx/conf.d/microservice.conf server

Forcing incognito mode on a reverse proxy

2023-12-16 Thread Saint Michael
I have a reverse proxy but for security reasons, I need to force the client to work the closest to an Incognito session as possible. I tried adding the following: proxy_set_header Cookie ""; add_header Set-Cookie "cookie_name=; Expires=Thu, 01 Jan 1970 00:00:01 GMT;"; } b

Re: Nginx as reverse proxy - proxy_ssl_x questions

2023-11-19 Thread Maxim Dounin
Hello! On Sun, Nov 19, 2023 at 12:41:11PM +0300, Mark wrote: > Hello Mr. Maxim, thank you very much for your reply. > > Things are much clearer now, thanks! > > One, last question; > > I have implemented nginx as a reverse proxy with TLS termination in my > FreeBSD h

Re: Nginx as reverse proxy - proxy_ssl_x questions

2023-11-19 Thread Mark
Hello Mr. Maxim, thank you very much for your reply. Things are much clearer now, thanks! One, last question; I have implemented nginx as a reverse proxy with TLS termination in my FreeBSD host machine, and another nginx instance running in my jail, in; 10.10.10.2. So, the host machine does

Re: Nginx as reverse proxy - proxy_ssl_x questions

2023-11-18 Thread Maxim Dounin
Hello! On Sat, Nov 18, 2023 at 01:54:21PM +0300, Mark wrote: > Hello there. > > Having a proxy directive like; > > location / { > proxy_pass http://10.10.10.4:4020; > ... > > I wonder when using proxy_pass http://... (not httpS), > are these directives e

Nginx as reverse proxy - proxy_ssl_x questions

2023-11-18 Thread Mark
Hello there. Having a proxy directive like; location / { proxy_pass http://10.10.10.4:4020; ... I wonder when using proxy_pass http://... (not httpS), are these directives effective, under the proxy_pass? proxy_ssl_name $host; proxy_ssl_server_name on

Re: Accessing electronic resources from outside the corporate network: Proxy or VPN?

2023-06-30 Thread Mauro Tridici
> On 30 Jun 2023, at 16:19, Thomas Ward wrote: > > I would not consider NGINX a proxy in the form you're looking for - it's not > designed to work as a "proxy" server in the sense of what you're looking for, > and VPN + internal proxy is the better soluti

RE: Accessing electronic resources from outside the corporate network: Proxy or VPN?

2023-06-30 Thread Thomas Ward
I would not consider NGINX a proxy in the form you're looking for - it's not designed to work as a "proxy" server in the sense of what you're looking for, and VPN + internal proxy is the better solution for access to resources subscribed to a company (but that's

Accessing electronic resources from outside the corporate network: Proxy or VPN?

2023-06-30 Thread Mauro Tridici
Dear Users, my boss asked me to implemented a proxy service in order to allow corporate users to access electronic resources, subscribed by our company, also from outside the corporate network (you know, users can work both from office and from home). Unfortunately, I’m a newbie and I’m a

RE: Reverse proxy with URLs replacement

2023-06-18 Thread Reinis Rozitis
> Is it possible to use Nginx as a proxy for another website, while also having > the ability to replace absolute paths in CSS, JS, and HTML content? One way for that is to use proxy http://nginx.org/en/docs/http/ngx_http_proxy_module.html + sub module http://nginx.org/en/doc

Reverse proxy with URLs replacement

2023-06-17 Thread Jose David Bravo A
Hello, Is it possible to use Nginx as a proxy for another website, while also having the ability to replace absolute paths in CSS, JS, and HTML content? For example, I would like to have an Nginx server running at the URL http://proxy1-server.com that proxies a web server running at the URL

Re: Reverse proxy to forward proxy to internet access

2023-05-29 Thread Miten Mehta
Hi Francis Daly, client -> reverse proxy: https://myreverseproxy.com/https://mypub/somepath reverse proxy to forward proxy: I'm not sure how https://forwardproxy.com/ https://mypub/somepath <https://myreverseproxy.com/https://mypub/somepath> I was trying to append the actual url in

Re: Reverse proxy to forward proxy to internet access

2023-05-28 Thread Francis Daly
On Sat, May 27, 2023 at 10:42:01AM -0400, Saint Michael wrote: Hi there, > Please look at the links. > All those links are a live digital tunnel to each website. Yes; it looks like you are making "normal" use of nginx's proxy_pass directive, to provide indirect access for clients, to some conten

Re: Reverse proxy to forward proxy to internet access

2023-05-27 Thread Saint Michael
> On Sat, May 27, 2023, 12:21 AM Miten Mehta wrote: > >> I consider from your reply that niginx reverse proxy cannot provide >> internet access through a forward proxy like squid, websense or alike. >> >> I understand you mentioned that nginx cannot be used as forward p

Re: Reverse proxy to forward proxy to internet access

2023-05-27 Thread David Siembab
What does the project do for you and what would you like it do for you. Share ideas On Sat, May 27, 2023, 12:21 AM Miten Mehta wrote: > I consider from your reply that niginx reverse proxy cannot provide > internet access through a forward proxy like squid, websense or alike. > >

Re: Reverse proxy to forward proxy to internet access

2023-05-27 Thread Saint Michael
AM Francis Daly wrote: > On Sat, May 27, 2023 at 12:39:05AM -0400, Saint Michael wrote: > > Hi there, > > > 100% Nginx > > That looks like an ad for a donation button; but it doesn't immediately > seem to say "here is how nginx is configured to access a remote w

Re: Reverse proxy to forward proxy to internet access

2023-05-27 Thread Francis Daly
On Sat, May 27, 2023 at 12:39:05AM -0400, Saint Michael wrote: Hi there, > 100% Nginx That looks like an ad for a donation button; but it doesn't immediately seem to say "here is how nginx is configured to access a remote web site through a proxy server". Or "here is how

Re: Reverse proxy to forward proxy to internet access

2023-05-27 Thread Francis Daly
On Sat, May 27, 2023 at 09:51:10AM +0530, Miten Mehta wrote: Hi there, > I consider from your reply that niginx reverse proxy cannot provide > internet access through a forward proxy like squid, websense or alike. "http through a proxy" uses a different form of requests from &qu

Re: Reverse proxy to forward proxy to internet access

2023-05-27 Thread Francis Daly
On Fri, May 26, 2023 at 04:18:59PM +0530, Miten Mehta wrote: Hi there, > Thanks for guidance. If i enable direct internet access from reverse proxy > then can i just use proxy_pass $request_uri and have user format his url as > https://myreverseproxy.com/https://mypub/somepa

Re: Reverse proxy to forward proxy to internet access

2023-05-26 Thread Saint Michael
Check https://1eye.us 100% Nginx On Sat, May 27, 2023 at 12:21 AM Miten Mehta wrote: > I consider from your reply that niginx reverse proxy cannot provide > internet access through a forward proxy like squid, websense or alike. > > I understand you mentioned that nginx canno

Re: Reverse proxy to forward proxy to internet access

2023-05-26 Thread Miten Mehta
I consider from your reply that niginx reverse proxy cannot provide internet access through a forward proxy like squid, websense or alike. I understand you mentioned that nginx cannot be used as forward proxy. There are many blogs on net claiming to use nginx as forward proxy and also using

Re: Reverse proxy to forward proxy to internet access

2023-05-26 Thread Miten Mehta
Hi, Thanks for guidance. If i enable direct internet access from reverse proxy then can i just use proxy_pass $request_uri and have user format his url as https://myreverseproxy.com/https://mypub/somepath. Regards, Miten On Fri 26 May, 2023, 4:39 AM Francis Daly, wrote: > On Thu, May

Re: Reverse proxy to forward proxy to internet access

2023-05-25 Thread Francis Daly
On Thu, May 25, 2023 at 05:12:26PM +0530, Miten Mehta wrote: Hi there, > Can you guide to configuration to put in reverse proxy config file to use > forward internet proxy? nginx does not talk to a proxy server. If you need to talk to a proxy server, you need something other than "s

Reverse proxy to forward proxy to internet access

2023-05-25 Thread Miten Mehta
Hi, Can you guide to configuration to put in reverse proxy config file to use forward internet proxy? I have case to use reverse proxy to access intranet urls which is usual configuration but for certain resources i guess its called tunneling or proxying i need to use internet proxy. Ex. Https

Re: How to create same location to point different proxy server

2023-05-23 Thread Sergey A. Osokin
Hi Abdul, On Tue, May 23, 2023 at 12:34:31PM +0530, abdul kadhar wrote: > Hi, At first, please do not do crossposting to several mailing list, it's a bit far from the good practices. Also, please use nginx-devel list for development purposes only. Thank you. > I need to know how to configure n

Reverse proxy for upload

2023-03-16 Thread Marcin Wanat
Hi, i am working on nginx reverse proxy for upload gateway to speed up things worldwide. Infrastructure schema looks like this: Main upload server - EU Upload proxy servers in Asia, Australia, North America etc Upload proxy servers will be connected to main upload servers via Long Fat Network

Re: Your opinion about a corporate proxy server to reach the magazine's website from everywhere

2023-03-13 Thread Mauro Tridici
Thank you Michael for your help and for the link. Kind Regards, Mauro > On 12 Mar 2023, at 22:56, Saint Michael wrote: > > Performance is poor at best. > Please check an identical arrangement at > https://1eye.us <https://1eye.us/> > And if the magazine uses Cloudf

Re: Your opinion about a corporate proxy server to reach the magazine's website from everywhere

2023-03-13 Thread Mauro Tridici
has several locations located within the same > country. The company has subscribed to an online magazine that can be > accessed after providing the public IP with which the various locations face > the public network. > > Instead of providing the various public IP addresses r

Re: Your opinion about a corporate proxy server to reach the magazine's website from everywhere

2023-03-12 Thread Saint Michael
Performance is poor at best. Please check an identical arrangement at https://1eye.us And if the magazine uses Cloudflare, your proxy will be blocked. I haven't been able to defeat Cloudflare. On Sun, Mar 12, 2023 at 5:05 PM Payam Chychi wrote: > Can’t comment on what’s best for your

Re: Your opinion about a corporate proxy server to reach the magazine's website from everywhere

2023-03-12 Thread Payam Chychi
public IP addresses related to each of > the different locations, my boss proposed to set up a proxy server at the > main work location and ask all users in the company to use that proxy to > reach the magazine's site. > In this way, even company users working from home ca

Your opinion about a corporate proxy server to reach the magazine's website from everywhere

2023-03-12 Thread Mauro Tridici
providing the public IP with which the various locations face the public network. Instead of providing the various public IP addresses related to each of the different locations, my boss proposed to set up a proxy server at the main work location and ask all users in the company to use that

Aw: Re: Reverse Proxy 502 Bad Gateway

2023-03-04 Thread Hans Müller
´t find a contact adress.   Greetings Hans     Gesendet: Freitag, 03. März 2023 um 21:45 Uhr Von: "Maxim Dounin" An: nginx@nginx.org Betreff: Re: Reverse Proxy 502 Bad Gateway Hello! On Fri, Mar 03, 2023 at 04:33:25PM +0100, Hans Müller wrote: > Hello, > I am working in a pro

Re: Reverse Proxy 502 Bad Gateway

2023-03-03 Thread Maxim Dounin
Hello! On Fri, Mar 03, 2023 at 04:33:25PM +0100, Hans Müller wrote: >Hello, >I am working in a proxmox environment, setting up a ngnix reverse proxy >(192.168.178.103) forwarding requests via https to a nginx backend >server (192.168.178.105). On the backend server sh

Reverse Proxy 502 Bad Gateway

2023-03-03 Thread Hans Müller
Hello, I am working in a proxmox environment, setting up a ngnix reverse proxy (192.168.178.103) forwarding requests via https to a nginx backend server (192.168.178.105). On the backend server shellinabox is installed. Request from the internet are secured via a Letsentcrypt certificate. For the

Reverse proxy

2023-02-26 Thread Saint Michael
In a location, ai need to use proxy_redirext to send the inbound cljent to the second leg, another htpps. But hiw do I tell nginx to follow an http_proxy? I can test from a terninal session and the proxy workds fine. ___ nginx mailing list nginx

Re: Connecting a reverse proxy to an http proxy service

2023-02-25 Thread Saint Michael
l? >> >> >> >> On Sat, Feb 25, 2023 at 3:35 PM Thomas Ward >> wrote: >> >>> As Francis said, NGINX does not speak proxy protocols. >>> >>> NGINX is the wrong tool for this job. >>> >>> >>> >>> Se

Re: Connecting a reverse proxy to an http proxy service

2023-02-25 Thread Payam Chychi
12:49 PM Saint Michael wrote: > what would it be the right tool? > > > > On Sat, Feb 25, 2023 at 3:35 PM Thomas Ward > wrote: > >> As Francis said, NGINX does not speak proxy protocols. >> >> NGINX is the wrong tool for this job. >> >> >

Re: Connecting a reverse proxy to an http proxy service

2023-02-25 Thread Saint Michael
what would it be the right tool? On Sat, Feb 25, 2023 at 3:35 PM Thomas Ward wrote: > As Francis said, NGINX does not speak proxy protocols. > > NGINX is the wrong tool for this job. > > > > Sent from my Galaxy > > > > Original message >

RE: Connecting a reverse proxy to an http proxy service

2023-02-25 Thread Thomas Ward
As Francis said, NGINX does not speak proxy protocols. NGINX is the wrong tool for this job. Sent from my Galaxy Original message From: Francis Daly Date: 2/25/23 15:31 (GMT-05:00) To: nginx@nginx.org Subject: Re: Connecting a reverse proxy to an http proxy service On

Re: Connecting a reverse proxy to an http proxy service

2023-02-25 Thread Francis Daly
On Sat, Feb 25, 2023 at 02:10:46PM -0500, Saint Michael wrote: Hi there, > that there exist private HTTP proxy services, like webshare.io > the question is how I use them from nginx, and how do I add a pool of HTTP > proxies to the configuration? Stock nginx does not use the correct pr

Connecting a reverse proxy to an http proxy service

2023-02-25 Thread Saint Michael
I have a problem reaching a news service that is protected by the evil CF. I found out that there exist private HTTP proxy services, like webshare.io the question is how I use them from nginx, and how do I add a pool of HTTP proxies to the configuration

Re: Nginx mail proxy and TLS connection to the real mail server

2023-02-22 Thread Sergey A. Osokin
On Thu, Feb 23, 2023 at 12:03:15AM +0200, Christos Chatzaras wrote: > > > Short answer is no. The proxy_ssl_* family directives are available > > for ngx_http_proxy and ngx_stream_proxy modules only. > > Thank you for the reply. Finally I did it by combining the Nginx >

Re: Nginx mail proxy and TLS connection to the real mail server

2023-02-22 Thread Christos Chatzaras
> Short answer is no. The proxy_ssl_* family directives are available > for ngx_http_proxy and ngx_stream_proxy modules only. > > -- > Sergey A. Osokin Thank you for the reply. Finally I did it by combining the Nginx mail proxy with mu

Re: Nginx mail proxy and TLS connection to the real mail server

2023-02-22 Thread Sergey A. Osokin
Hi Christos, On Wed, Feb 22, 2023 at 10:04:34PM +0200, Christos Chatzaras wrote: > > I setup a Nginx mail proxy and I would like mail clients to > connect to it without TLS and then the Nginx proxy to connect > to the real mail server using TLS. > > Is this possible? Short

Nginx mail proxy and TLS connection to the real mail server

2023-02-22 Thread Christos Chatzaras
Hello, I setup a Nginx mail proxy and I would like mail clients to connect to it without TLS and then the Nginx proxy to connect to the real mail server using TLS. Is this possible? Kind regards, Christos Chatzaras___ nginx mailing list nginx

Re: Question about proxy

2023-01-30 Thread Francis Daly
On Mon, Jan 30, 2023 at 10:39:52PM -0500, Saint Michael wrote: Hi there, > Can you please elaborate on this: > "You probably want subs_filter_types to include text/html, and you probably > want "r" on the subs_filter patterns that are regular expressions rather > than fixed strings" > one example

Re: Question about proxy

2023-01-30 Thread Saint Michael
Can you please elaborate on this: "You probably want subs_filter_types to include text/html, and you probably want "r" on the subs_filter patterns that are regular expressions rather than fixed strings" one example will suffice. On Mon, Jan 30, 2023 at 8:20 PM Francis Daly wrote: > > On Sun, Jan

Re: Question about proxy

2023-01-30 Thread Francis Daly
On Sun, Jan 29, 2023 at 03:17:15PM -0500, Saint Michael wrote: Hi there, > What causes each case, i.e., what do I need to do so always the > https://domain.com is NOT the original domain being proxied, but my > own domain (https://disney.ibm.com). You seem to be using the module at https://githu

Question about proxy

2023-01-29 Thread Saint Michael
In my website, I proxied https://perplexity.ai trough a domain of mine but when I get redirected, I see on top, on the domain line, not my own line. In other cases, I see my own domain line. What causes each case, i.e., what do I need to do so always the https://domain.com is NOT the original domai

Re: nginx serving wrong proxy content, static assets not affected

2023-01-06 Thread Eduardo Kortright
Hi Payam, I’m not doing any caching. It looks like it is indeed a DNS problem, as the Docker containers are occasionally changing their IP address as the containers are restarted, but as Ángel pointed out, nginx does not resolve the name at each request, but only when it loads the configuratio

Re: nginx serving wrong proxy content, static assets not affected

2023-01-06 Thread Eduardo Kortright
names once. If you are interested in that sort of thing, please leave an answer at https://serverfault.com/questions/1117412/nginx-serving-content-from-wrong-proxy and I’ll be happy to mark it correct. I'll bet that's it! There is nothing in my configuration that makes the IP addres

Re: nginx serving wrong proxy content, static assets not affected

2023-01-05 Thread Eduardo Kortright
ad of a restart? That's usually enough for getting nginx update the sources, and is transparent to your users. As for the actual problem, as I understand you have 4 docker containers: - aaa.com (Rails app) - bbb.com (Rails app) - ccc.com (Rails app) - proxy (nginx, with the static assets for the 3

Re: nginx serving wrong proxy content, static assets not affected

2023-01-05 Thread Ángel
com (Rails app) - ccc.com (Rails app) - proxy (nginx, with the static assets for the 3 sites) Do the ip addresses for the rails sites change over time? Mind that nginx will query the hostname only once (at startup/reload), *and use that same ip forever* If the other containers switched ips, that would

Re: nginx serving wrong proxy content, static assets not affected

2023-01-04 Thread Payam Chychi
On Wed, Jan 4, 2023 at 12:33 PM Eduardo Kortright wrote: > I have several servers hosting multiple Rails sites, using nginx as a > reverse proxy. All sites have unique host names and, at least at first, > nginx returns the content for each site correctly (dynamic content from > Rail

nginx serving wrong proxy content, static assets not affected

2023-01-04 Thread Eduardo Kortright
I have several servers hosting multiple Rails sites, using nginx as a reverse proxy. All sites have unique host names and, at least at first, nginx returns the content for each site correctly (dynamic content from Rails as well as static assets such as images, javascript and CSS). Both Rails

Re: website/admin behind my reverse proxy doesn't work

2022-12-29 Thread Maxim Dounin
Hello! On Wed, Dec 28, 2022 at 11:01:11PM +, Mik J via nginx wrote: > Hello, > I have a website hosted on a server using nginx behind a nginx > reverse proxy but things don't work properly. > https://mywebsite.org => works > https://mywebsite.org/admin => doe

website/admin behind my reverse proxy doesn't work

2022-12-28 Thread Mik J via nginx
Hello, I have a website hosted on a server using nginx behind a nginx reverse proxy but things don't work properly. https://mywebsite.org => workshttps://mywebsite.org/admin => doestn't work it redirects to https://mywebsite.org On my backend serverserver {  

Re: How can I redirect a request via Another External proxy

2022-12-01 Thread Francis Daly
On Fri, Nov 25, 2022 at 01:41:37PM +0530, Aakarshit Agarwal wrote: Hi there, > Inside a private network, I want to redirect a request via another External > proxy. "Stock" nginx does not talk to a proxy server. If you want to talk to/through a proxy server, you will want some

How can I redirect a request via Another External proxy

2022-11-25 Thread Aakarshit Agarwal
Hi Team, Inside a private network, I want to redirect a request via another External proxy. Brief -> I want my URL ( https://example1.com ) when having the path specified as ( https://example1.com/tunnel/portnumber ) it will redirect my request to another URL ( https://example2/api/portnum

Re: nginx proxy without ssl termination

2022-11-20 Thread Payam Chychi
rough HTTPS which is already set up on > the server. I was wondering whether it would be possible to configure nginx > proxy without SSL termination. > > I currently have this as a configuration > > server { > listen 6442; > location / { > proxy_

nginx proxy without ssl termination

2022-11-20 Thread masber masber
ld be possible to configure nginx proxy without SSL termination. I currently have this as a configuration server { listen 6442; location / { proxy_pass https://kubeapi-vip.local:6442$uri$is_args$args; } } This works for HTTP but I am getting the following

Re: GDPR Proxy

2022-11-04 Thread Maxim Dounin
Hello! On Fri, Nov 04, 2022 at 04:01:22PM +0100, basti wrote: > we have a website with some embedded content to YT. So the idea is to > setup a GDPR Proxy. > > Setup: > > User Client -> example.com (embedded content media.example.com) -> YT > > So YT only can s

GDPR Proxy

2022-11-04 Thread basti
Hello, we have a website with some embedded content to YT. So the idea is to setup a GDPR Proxy. Setup: User Client -> example.com (embedded content media.example.com) -> YT So YT only can see the IP of media.example.com. What's about cookies? Can YT track the 'User Cli

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: reverse proxy with mTLS does not send client certificate to upstream

2022-10-27 Thread Maxim Dounin
Hello! On Thu, Oct 27, 2022 at 01:56:25PM +0200, Andrej van der Zee wrote: > 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

reverse proxy with mTLS does not send client certificate to upstream

2022-10-27 Thread Andrej van der Zee
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_passhttps:///$1; proxy_ssl_certificate_key

nginx proxy for jdbc connection with modifying property

2022-10-25 Thread gubtiny
based, so I am thinking of sending the private key in the password field and at nginx-proxy add the property "privatekey" based on the password field. Is this possible at nginx side? I could not get much info from nginx config so checking here, I really appreciate if any suggestions

Re: Nginx as mail proxy: different domains with different certs

2022-10-02 Thread PGNet Dev
Name-based (including SNI-based) virtual servers are not supported in the mail proxy module. As such, the remaining options are: - Use multiple names in a certificate - Use IP-based (or port-based) virtual servers You can combine both options as appropriate. add'l useful option for

Re: Nginx as mail proxy: different domains with different certs

2022-10-01 Thread Maxim Dounin
Hello! On Fri, Sep 30, 2022 at 03:29:16PM -0400, achekalin wrote: > I set up nginx as mail proxy, and it works for one domain, but won't work > when I try to serve more that one domain each with different SSL > certificate. Are there any way I can archive that, since nginx as m

Nginx as mail proxy: different domains with different certs

2022-09-30 Thread achekalin
I set up nginx as mail proxy, and it works for one domain, but won't work when I try to serve more that one domain each with different SSL certificate. Are there any way I can archive that, since nginx as mail proxy it quite good and seems to be good solution. My fail is that I expected from

  1   2   3   4   5   6   7   8   9   10   >