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 most c

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 already

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

2024-02-26 Thread Kin Seng
Hi J Carter, Thank you so much for your suggestions, I did tcpdump concurrently on both nginx and client app host as well and able to find out that F5 device in between is sending out RST to both side. Now i am able to exclude Nginx's configuration as part of the investigation. On Thu, Feb 22, 20

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

2024-02-21 Thread J Carter
Hello, On Tue, 20 Feb 2024 11:57:27 +0800 Kin Seng wrote: > 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. I see, I assumed you had run tcpdump on the nginx host. I'd reccomend doing th

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 : nginx

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
refer below : > > > >Internal Network > > | INTERNET/Public > > [Client Application] <-> [NGINX Reverse Proxy] <--- | ---> [Public > > Server] > > > > > > > > - using stream

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
TLS wrapping > purpose. You may refer below : > >Internal Network > | INTERNET/Public > [Client Application] <-> [NGINX Reverse Proxy] <--- | ---> [Public > Server] > > > > - using str

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
: Internal Network | INTERNET/Public [Client Application] <-> [NGINX Reverse Proxy] <--- | ---> [Public Server] - using stream module - no error shown in nginx error log - access log showing TCP 200 Status but the session on

Re: Is it possible to configure socket connection(not web) in Nginx reverse proxy server

2022-06-27 Thread Sergey A. Osokin
Hi there, hope you're doing well. On Mon, Jun 27, 2022 at 12:47:04AM -0400, mikecon wrote: > > stream { > server { > auth_basic off; The auth_basic directive is a part of http_auth_basic module, [2] so it's not related to a stream modules family. > proxy_ssl off; Th

Is it possible to configure socket connection(not web) in Nginx reverse proxy server

2022-06-26 Thread mikecon
Hi all, I have a CLI client and server written in Go Currently, they are communicating via a socket connection and it's a server streaming connection Now I want to have an Nginx proxy between these two Is it possible to configure the normal socket connection in Nginx? How do that, and what all cod

Re: Nginx reverse proxy gzip for json payload

2022-05-28 Thread blason
This is fine - I need a part from Nginx to client. And thanks for clarifying about nginx compressing the request which are only in responses. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,294276,294305#msg-294305 ___ nginx mailing list -- n

Re: Nginx reverse proxy gzip for json payload

2022-05-27 Thread Francis Daly
On Fri, May 27, 2022 at 05:31:10AM -0400, blason wrote: Hi there, note that you have the request from the client to nginx, the request from nginx to the upstream, the response from upstream to nginx, and the response from nginx to the client. "gzip" and friends deal with the response from nginx

Re: Nginx reverse proxy gzip for json payload

2022-05-27 Thread blason
Thanks for the reply. Let me try doing that. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,294276,294293#msg-294293 ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

Re: Nginx reverse proxy gzip for json payload

2022-05-26 Thread Sergey A. Osokin
Hi, On Wed, May 25, 2022 at 01:43:07PM -0400, blason wrote: > Hi Team, > > I currently have IIS server and I am planning to put reverse proxy server in > front of that IIS server. Since this IIS server carries a huge request in > every request that is around 40-50 Mb of data is being uploaded at

Nginx reverse proxy gzip for json payload

2022-05-25 Thread blason
Hi Team, I currently have IIS server and I am planning to put reverse proxy server in front of that IIS server. Since this IIS server carries a huge request in every request that is around 40-50 Mb of data is being uploaded at every transaction I need to enable gzip on for the server. However I se

Re: Nginx Reverse Proxy - Stale proxy_pass URL

2022-03-08 Thread Francis Daly
On Mon, Mar 07, 2022 at 07:53:04PM +, Ben Mills wrote: Hi there, > Question-1 > > Is there a directive to add to our nginx.conf server block that will force > nginx to re-resolve its proxy_pass URL upon error? If not upon error, then > perhaps at some configurable time interval? > As the

Re: Nginx Reverse Proxy - Stale proxy_pass URL

2022-03-07 Thread Sergey A. Osokin
Hi Ben, hope you're doing well. On Mon, Mar 07, 2022 at 07:53:04PM +, Ben Mills wrote: > Greetings nginx, > > nginx version: nginx/1.18.0 running an AWS EC2 instance with an Amazon Linux > 2 AMI. I'd highly recommend to update the nginx OSS to the recent stable version, 1.20.2 [1]. [...]

Nginx Reverse Proxy - Stale proxy_pass URL

2022-03-07 Thread Ben Mills
Greetings nginx, nginx version: nginx/1.18.0 running an AWS EC2 instance with an Amazon Linux 2 AMI. Using this nginx.conf for reverse proxy and mutual authentication of some specialized mobile devices. server { listen 443 ssl ; server_name serviceapi.

Re: Getting weird issue with Nginx reverse Proxy

2022-03-06 Thread blason
Thanks team for your help but I had to find an alternative and instead I hosted the site on Nginx server itself. Which currently is working fine. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,293780,293795#msg-293795 ___ nginx mailing list

Re: Getting weird issue with Nginx reverse Proxy

2022-03-04 Thread Rainer Duffner
> Am 04.03.2022 um 04:37 schrieb blason : > > Here is Apache config > > >ServerAdmin webmas...@example.com >DocumentRoot /var/www/fs/ >ServerName fs.example.com >ServerAlias fs.example.com >ErrorLog /var/log/apache2/fs/error.log >CustomLog /var/log/

Re: Getting weird issue with Nginx reverse Proxy

2022-03-03 Thread blason
user www-data; worker_processes auto; pid /run/nginx.pid; include /etc/nginx/modules-enabled/*.conf; load_module modules/ngx_http_modsecurity_module.so; events { worker_connections 768; # multi_accept on; } http { map $http_upgrade $connection_upgrade { default upgrade;

Re: Getting weird issue with Nginx reverse Proxy

2022-03-03 Thread blason
Here is Apache config ServerAdmin webmas...@example.com DocumentRoot /var/www/fs/ ServerName fs.example.com ServerAlias fs.example.com ErrorLog /var/log/apache2/fs/error.log CustomLog /var/log/apache2/fs/access.log combined LogFormat "%{X-Forwarded-For}

Re: Getting weird issue with Nginx reverse Proxy

2022-03-03 Thread Rainer Duffner
> Am 03.03.2022 um 19:26 schrieb blason : > > Hi Team, > > My portal name is lets say fs.example.com <http://fs.example.com/> and it is > configured on apache > server which is then proxied to internet using Nginx reverse proxy. However And what does

Re: Getting weird issue with Nginx reverse Proxy

2022-03-03 Thread Sergey A. Osokin via nginx
Hi there, hope you're doing well these days. On Thu, Mar 03, 2022 at 01:26:51PM -0500, blason wrote: > Hi Team, > > My portal name is lets say fs.example.com and it is configured on apache > server which is then proxied to internet using Nginx reverse proxy. However > I tr

Re: Getting weird issue with Nginx reverse Proxy

2022-03-03 Thread blason
Here are the debug logs - If that would help https://pastebin.com/K3521Cnk Posted at Nginx Forum: https://forum.nginx.org/read.php?2,293780,293781#msg-293781 ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.o

Getting weird issue with Nginx reverse Proxy

2022-03-03 Thread blason
Hi Team, My portal name is lets say fs.example.com and it is configured on apache server which is then proxied to internet using Nginx reverse proxy. However I tried everything I was aware of and I am consistently getting below error whenever this URL is accessed. I am running out of ideas about

Re: Nginx reverse proxy with Weblogic - Sticky learn

2022-02-21 Thread Sergey A. Osokin
Hi, hope you're doing well. On Mon, Feb 21, 2022 at 02:20:01PM -0500, george22 wrote: > Hi > > I've implemented sticky learn for my weblogic application running on 3 > servers using Nginx as the reverse proxy and trying to get an understanding > of how nginx sticky learn works. > > The JSESSIO

Nginx reverse proxy with Weblogic - Sticky learn

2022-02-21 Thread george22
Hi I've implemented sticky learn for my weblogic application running on 3 servers using Nginx as the reverse proxy and trying to get an understanding of how nginx sticky learn works. The JSESSIONID cookies are of the form !. I understand that nginx learns from the 'sticky create' to determine

Re: What are NGINX reverse proxy users doing to prevent HTTP Request smuggling?

2021-12-14 Thread Maxim Dounin
Hello! On Tue, Dec 14, 2021 at 02:50:19PM +, Sai Vishnu Soudri (ssoudri) wrote: > Thanks a lot for your reply. Just to clarify, by "There are no > know vulnerabilities in nginx which make request smuggling > possible" you mean after the 1.21.x release right? > I am using OpenResty and the l

Re: What are NGINX reverse proxy users doing to prevent HTTP Request smuggling?

2021-12-14 Thread Sai Vishnu Soudri (ssoudri)
i On 14/12/21, 3:48 AM, "nginx on behalf of Maxim Dounin" wrote: Hello! On Fri, Dec 10, 2021 at 11:46:48AM +, Sai Vishnu Soudri (ssoudri) wrote: > Hi everyone, > > I'm a new NGINX user and I want to understand what NGINX reverse > prox

Re: What are NGINX reverse proxy users doing to prevent HTTP Request smuggling?

2021-12-13 Thread Maxim Dounin
Hello! On Fri, Dec 10, 2021 at 11:46:48AM +, Sai Vishnu Soudri (ssoudri) wrote: > Hi everyone, > > I'm a new NGINX user and I want to understand what NGINX reverse > proxy users are doing to mitigate HTTP request smuggling > vulnerability. I understand that NGINX does

What are NGINX reverse proxy users doing to prevent HTTP Request smuggling?

2021-12-10 Thread Sai Vishnu Soudri (ssoudri)
Hi everyone, I'm a new NGINX user and I want to understand what NGINX reverse proxy users are doing to mitigate HTTP request smuggling vulnerability. I understand that NGINX does not support sending HTTP/2 requests upstream. Since the best way to prevent HTTP Request Smuggling is by se

Re: Websocket is not working with Nginx Reverse Proxy

2021-09-22 Thread Sergey A. Osokin
On Mon, Sep 20, 2021 at 11:17:55PM -0400, blason wrote: > Bummer!! I am not that pro - but would really appreciate if you can give me > certain reference links or configuration? Please Here's the new log format: log_format bummer '$remote_addr - $remote_user [$time_local] "$request" '

Re: Websocket is not working with Nginx Reverse Proxy

2021-09-20 Thread blason
Bummer!! I am not that pro - but would really appreciate if you can give me certain reference links or configuration? Please Posted at Nginx Forum: https://forum.nginx.org/read.php?2,292420,292447#msg-292447 ___ nginx mailing list nginx@nginx.org http:

Re: Websocket is not working with Nginx Reverse Proxy

2021-09-20 Thread Sergey A. Osokin
On Sun, Sep 19, 2021 at 10:30:42PM -0400, blason wrote: > Well - I tried that as well > > > location /SNX/ { > proxy_pass https://websocket; > proxy_http_version 1.1; > proxy_set_header Upgrade $http_upgrade; > proxy_set_header Connection $connection_upgrade; > pro

Re: Nginx reverse proxy regex help

2021-09-20 Thread Francis Daly
On Sun, Sep 19, 2021 at 08:44:18AM -0400, blason wrote: Hi there, > Well actually while doing a curl request site is being moved and here is I > am getting > > > curl -vk https://xx.xx.xx/TestPage/ I'm not sure if this xx.xx.xx is a hostname or an IP address; or how it compares to any of the p

Re: Websocket is not working with Nginx Reverse Proxy

2021-09-19 Thread blason
Well - I tried that as well location /SNX/ { proxy_pass https://websocket; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; proxy_set_header Connection "Upgrade";

Re: Websocket is not working with Nginx Reverse Proxy

2021-09-19 Thread Sergey A. Osokin
Hi, On Sun, Sep 19, 2021 at 01:35:02PM -0400, blason wrote: > Hi Team, > > I am trying to add nginx reverse proxy behind Check Point Mobile access > portal which is a SSL VPN portal. Somehow this not working and when I > captured and analyzed the har file I observed that the port

Re: Websocket is not working with Nginx Reverse Proxy

2021-09-19 Thread blason
My bad - Just a typo with this topic. I want to add Nginx reverse proxy in front of my checkpoint mobile access portal not behind Posted at Nginx Forum: https://forum.nginx.org/read.php?2,292420,292421#msg-292421 ___ nginx mailing list nginx

Websocket is not working with Nginx Reverse Proxy

2021-09-19 Thread blason
Hi Team, I am trying to add nginx reverse proxy behind Check Point Mobile access portal which is a SSL VPN portal. Somehow this not working and when I captured and analyzed the har file I observed that the portal is accepting websocket calls. I tried implementing the same with nginx but I am

Re: Nginx reverse proxy regex help

2021-09-19 Thread blason
Hi Team, Looks like my issue is resolved by adding this line after proxy_pass proxy_ssl_server_name on; Posted at Nginx Forum: https://forum.nginx.org/read.php?2,292405,292419#msg-292419 ___ nginx mailing list nginx@nginx.org http://mailman.n

Re: Nginx reverse proxy regex help

2021-09-19 Thread blason
Well actually while doing a curl request site is being moved and here is I am getting curl -vk https://xx.xx.xx/TestPage/ Object moved Object moved to here. * Connection #0 to host xx.xx.xx left intact Posted at Nginx Forum: https://forum.nginx.org/read.php?2,292405,292418#msg-292418 ___

Re: Nginx reverse proxy regex help

2021-09-19 Thread blason
Sure I'll note that. and I feed something is not right at remote end server. Thanks for your help. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,292405,292417#msg-292417 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailm

Re: Nginx reverse proxy regex help

2021-09-19 Thread Francis Daly
On Sat, Sep 18, 2021 at 10:53:57PM -0400, blason wrote: Hi there, > Oh my bad those xxx. and sss consider those are single url. I just typed > while creating this post randomly It Will probably be helpful in any future mails if you consistently replace any information that you want to keep secre

Re: Nginx reverse proxy regex help

2021-09-18 Thread blason
Oh my bad those xxx. and sss consider those are single url. I just typed while creating this post randomly Here are my error.log - 2021/09/17 11:23:09 [error] 9429#9429: *1814357 peer closed connection in SSL handshake (104: Connection reset by peer) while SSL handshaking to upstream, client: 10.

Re: Nginx reverse proxy regex help

2021-09-18 Thread Francis Daly
en expected to make a new request for https://backend-server/TestPage/(S(0inoxzi14rxqq1uix1tiyp1t))/index.aspx? Or it is something else? > Now I have implemented nginx reverse proxy in front this server and then I > have done the config proxy_pass as > > proxy_pass https://xxx..sss.ss/Test

Nginx reverse proxy regex help

2021-09-16 Thread blason
Hi Team, I have server whose URL is https://xx.xx.xx.xx/TestPage/ which gets generated as https://.xxx.xxx/TestPage/(S(0inoxzi14rxqq1uix1tiyp1t))/index.aspx Now I have implemented nginx reverse proxy in front this server and then I have done the config proxy_pass as proxy_pass https

Citrix server deployment behind nginx reverse proxy?

2021-09-06 Thread blason
Hi Team, Wondering if anyone has deployed Citrix server behind nginx reverse proxy server? Or if anyone has success about implementing Check Point Mobile Access VPN portal behind nginx reverse proxy? I am still wondering if such encryption technology can work with Nginx reverse proxy? TIA Blason

Re: Help: Using Nginx Reverse Proxy bypass traffic in to a application running in a container

2021-06-28 Thread Francis Daly
On Sun, Jun 06, 2021 at 02:14:33PM +0530, Amila Gunathilaka wrote: Hi there, > > The simplest-to-understand fix, assuming that this is a test system where > you are happy to start again, is probably to stop nginx, remove the > /var/lib/nginx/proxy/ directory and all of its >- contents, creat

Re: Nginx reverse proxy in front of corporate proxy

2021-06-04 Thread Maxim Dounin
Hello! On Fri, Jun 04, 2021 at 06:20:57AM -0400, Flinou wrote: > Hello! > > I did some research and couldn't find anything similar on the forum, sorry > if I'm wrong. > > I would like to setup something like : > > Client -> https://my-nginx.com -> http://corporate-proxy.com (corporate > proxy)

Nginx reverse proxy in front of corporate proxy

2021-06-04 Thread Flinou
Hello! I did some research and couldn't find anything similar on the forum, sorry if I'm wrong. I would like to setup something like : Client -> https://my-nginx.com -> http://corporate-proxy.com (corporate proxy) -> https://website.com (website to reach) Doing curl command like curl -v https:

Re: Help: Using Nginx Reverse Proxy bypass traffic in to a application running in a container

2021-06-03 Thread Fatma MAZARI
Hi, I have a question, I wanna use nginx and ffmpeg to serve chunks to clients without using or sending .m3u file to client. How can i do this lease? * ffmpeg copy streams in local ( in /home/STREAMS/channel/stream%d.ts ==> /home/STREAMS/channel/stream1.ts , /home/STREAMS/channel/stream2.ts , /h

Re: Help: Using Nginx Reverse Proxy bypass traffic in to a application running in a container

2021-06-02 Thread Francis Daly
On Tue, Jun 01, 2021 at 07:40:27PM +0530, Amila Gunathilaka wrote: Hi there, > Hope you are doing good ? Thanks for your quick responses for my emails > again. I have 02 questions for you today, I will brief it down for your > ease. You're welcome. In general, if the questions are unrelated

Re: Help: Using Nginx Reverse Proxy bypass traffic in to a application running in a container

2021-06-01 Thread Francis Daly
On Sat, May 29, 2021 at 07:46:40PM +0530, Amila Gunathilaka wrote: Hi there, > My concern is why nginx still gives 401 responses *unless *my nginx.conf > has a basic authentication user name and password file in the > location /etc/nginx/.htpasswd. > > It says still not authenticate my external

Re: Help: Using Nginx Reverse Proxy bypass traffic in to a application running in a container

2021-05-31 Thread Francis Daly
On Sat, May 29, 2021 at 07:11:38PM +0530, Amila Gunathilaka wrote: Hi there, It sounds like you have the main part solved by changing the "health check" request to be one that your port-9091 upstream is able to handle, which is good. > >As I understand it, the load balancer is making the request

Re: Help: Using Nginx Reverse Proxy bypass traffic in to a application running in a container

2021-05-29 Thread Amila Gunathilaka
Nginx > proxy | uwsgi request is too big with nginx (Rai Mohammed) >3. Unit 1.24.0 release (Valentin V. Bartenev) >4. Re: How to do a large buffer size > 64k uWSGI requests with > Nginx proxy | uwsgi request is too big with nginx (Maxim Dounin) >5. Re:

Re: Help: Using Nginx Reverse Proxy bypass traffic in to a application running in a container

2021-05-28 Thread Francis Daly
On Tue, May 25, 2021 at 09:47:47PM +0530, Amila Gunathilaka wrote: Hi there, > I'm sorry for taking time to reply to this, you were so keen about my > problem. Thank you. No worries at all -- the mailing list is not an immediate-response medium. > Actually my problem was when sending *response

Re: Help: Using Nginx Reverse Proxy bypass traffic in to a application running in a container

2021-05-19 Thread Francis Daly
t to bypass external traffic coming from external load balancer > (up-stream server) into my *nginx reverse proxy server (80 port) *and want > to bypass that http traffic into y application running in a docker > container (application host port 9091), I think you have "the client" (w

Help: Using Nginx Reverse Proxy bypass traffic in to a application running in a container

2021-05-17 Thread Amila Gunathilaka
> > Hello All ! I have nginx installed on my linux host and* listen on http port 80* and I want to bypass external traffic coming from external load balancer (up-stream server) into my *nginx reverse proxy server (80 port) *and want to bypass that http traffic into y application runnin

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

nginx reverse proxy

2021-03-31 Thread gusto1
I'm newbie to nginx I have an apache server in lxc 192.168.1.10 (3x vhost/domain) Each vhost is configured as follows and works perfectly -- DocumentRoot /var/www/www.domain1.ddns.com ServerName domain1.ddns.com ServerAlias www.domain1.ddns.com ServerAdmi

Re: Upload large files via Nginx reverse proxy

2020-09-14 Thread Navlesh
Can you please share the details? how did you make it work? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,280578,289418#msg-289418 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx reverse proxy redirect

2020-08-31 Thread Dr_tux
That's perfect. Thank you. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,289072,289230#msg-289230 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx reverse proxy redirect

2020-08-14 Thread Francis Daly
On Thu, Aug 13, 2020 at 05:50:28PM -0400, Dr_tux wrote: Hi there, > Thank you very much for this solution. but I have 3 mp3 servers. How can I > share requests equally? With 301, I can only send a request to a single ip > address. With 301, you invite the client to send a request to a single hos

Re: Nginx reverse proxy redirect

2020-08-13 Thread Dr_tux
Thank you very much for this solution. but I have 3 mp3 servers. How can I share requests equally? With 301, I can only send a request to a single ip address. Best. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,289072,289104#msg-289104 __

Re: Nginx reverse proxy redirect

2020-08-13 Thread Francis Daly
On Wed, Aug 12, 2020 at 02:16:50AM -0400, Dr_tux wrote: Hi there, > I have a Nginx reverse proxy. How can I redirect it to the real server URL > when I download mp3 files in the reverse proxy. Make a location{} that handles mp3-file requests, and "return 301" (or otherwise

Nginx reverse proxy redirect

2020-08-11 Thread Dr_tux
Hi guys, I have a Nginx reverse proxy. How can I redirect it to the real server URL when I download mp3 files in the reverse proxy. For example: normal reverse proxy request goes to backend node, but If the url contains mp3, it redirects to another server. Thanks. Posted at Nginx Forum

Nginx reverse proxy issue long request

2020-08-11 Thread izhocell
I'm stuck on a problem for a long time now with two nginxs server which the first is acting as a reverse proxy and the second as the backend server. Here is my design : Client made a GET request on HTTP address from internet Reverse Proxy Handle it and reverse it to Backend server Backend server

Re: nginx reverse proxy for ssh reverse tunnel?

2020-07-19 Thread jalil1408
fixed by issueing this command: sudo setsebool httpd_can_network_connect on -P and this [/etc/nginx/nginx.conf] ... http { ... server { ... location /tunnel/ { proxy_pass http://127.0.0.1:6033; } } } Posted at Nginx Forum: https://forum.nginx.org/read.php?2,288756,288763#msg-288763 ___

Re: nginx reverse proxy for ssh reverse tunnel?

2020-07-19 Thread Francis Daly
On Sun, Jul 19, 2020 at 02:45:46AM -0400, jalil1408 wrote: Hi there, > * 192.168.1.102 (remote machine) : Ubuntu + curl > curl http://192.168.1.100:6033/api/Users ==> works well > curl http://192.168.1.100/tunnel/api/Users ==> "the page you are > looking for is temporarily una

nginx reverse proxy for ssh reverse tunnel?

2020-07-18 Thread jalil1408
* 192.168.1.100 (reverse proxy and ssh tunnel server) : centos 8 + sshd 8 + nginx 1.14.1 + firewalld disabled * 192.168.1.101 (local web server) : windows 10 + web App (port 80) exposed to remote access with SSH reverse tunnel (port 6033) * 192.168.1.102 (remote machine) : Ubuntu + curl

nginx reverse proxy rewrite rule

2020-04-27 Thread Johan Gabriel Medina Capois
Good afternoon How to make rewrite rule for nginx as reverse proxy for IIS backend Example We have a site configured https://dell.com but we want need when someone request https://dell.com the reverse proxy return dell.com/support/logon, how can we do it? Thank for your support Regards Johan

Re: nginx reverse proxy proxy_pass weirdness

2019-12-19 Thread Francis Daly
On Wed, Dec 18, 2019 at 12:35:22PM -0500, deeztek wrote: Hi there, > server { > listen 80 default_server; > return 444; > } > > Should take care of it? Yes. (So long as every explicit-or-implicit "listen" directive is equivalent to "listen 80", which it probably is.) > How wo

Re: nginx reverse proxy proxy_pass weirdness

2019-12-18 Thread deeztek
okay that explains it. I appreciate that. So, a default config with the following: server { listen 80 default_server; return 444; } Should take care of it? How would I got about doing a default SSL config since it would complain about the certificate? Thanks Posted at Ngin

Re: nginx reverse proxy proxy_pass weirdness

2019-12-18 Thread Francis Daly
On Wed, Dec 18, 2019 at 10:33:44AM -0500, deeztek wrote: Hi there, > Sorry maybe I am confusing you. The config file that I posted, works fine. > What I request actually responds. So, if I were to request www.domain.tld, > the Apache server behind Nginx responds with the correct website for > www

Re: nginx reverse proxy proxy_pass weirdness

2019-12-18 Thread deeztek
Sorry maybe I am confusing you. The config file that I posted, works fine. What I request actually responds. So, if I were to request www.domain.tld, the Apache server behind Nginx responds with the correct website for www.domain.tld. However, if I were to delete the config file for domain.tld from

Re: nginx reverse proxy proxy_pass weirdness

2019-12-18 Thread Francis Daly
On Wed, Dec 18, 2019 at 07:18:32AM -0500, deeztek wrote: Hi there, > Here's an example config that I use: Thanks. Note that it is possible that the "include" files contain some relevant config; but we can worry about that if it looks like it is the case. What request do you make? What respons

Re: nginx reverse proxy proxy_pass weirdness

2019-12-18 Thread deeztek
Here's an example config that I use: server { server_name domain.tld www.domain.tld; add_header Strict-Transport-Security "max-age=31536000; preload"; keepalive_timeout 70; #LOGS CONFIG access_log /usr/local/nginx/logs/domain.tld/domain.tld_access.

Re: nginx reverse proxy proxy_pass weirdness

2019-12-18 Thread Francis Daly
On Wed, Dec 18, 2019 at 04:48:33AM -0500, deeztek wrote: Hi there, > I have a nginx reverse proxy to forward requests to various Apache websites > behind it. This all seems to work fine unless I remove one of the proxy_pass > configurations from nginx. Even though I remove it, ng

nginx reverse proxy proxy_pass weirdness

2019-12-18 Thread deeztek
I have a nginx reverse proxy to forward requests to various Apache websites behind it. This all seems to work fine unless I remove one of the proxy_pass configurations from nginx. Even though I remove it, nginx still fowards the requests back to Apache to a seemingly random website this time. I

Re: Nginx Reverse Proxy Lowercase URL and some exceptions to the URL

2019-10-06 Thread Francis Daly
On Sat, Oct 05, 2019 at 12:44:30PM -0400, Alex Med wrote: Hi there, Good that you have a configuration that works for you. If you want to spend more time on it, you may be able to remove some of the duplication; but that is not necessary. > I even included the proxy configuration parameters for

Re: Nginx Reverse Proxy Lowercase URL and some exceptions to the URL

2019-10-05 Thread Alex Med
Francis, I apologized. I wrote your name incorrectly in my previous message. I am not able to edit it. So, THANK YOU, FRANCIS! Alex Posted at Nginx Forum: https://forum.nginx.org/read.php?2,285780,285800#msg-285800 ___ nginx mailing list nginx@n

Re: Nginx Reverse Proxy Lowercase URL and some exceptions to the URL

2019-10-05 Thread Alex Med
Dear David: I am very grateful for your help! Below is the final configuration working optimally. I even included the proxy configuration parameters for the websocket connection to work.I noticed that the location =/ does not support OR so I had create two additional locations to catch paths w

Re: Nginx Reverse Proxy Lowercase URL and some exceptions to the URL

2019-10-04 Thread Francis Daly
On Fri, Oct 04, 2019 at 03:36:13PM -0400, Alex Med wrote: Hi there, Thanks for the extra information. There are a few different things in here, but there is one that stands out as probably being a "quick fix" that should allow the rest to be tested separately... > Your Question # 1 > - > th

Re: Nginx Reverse Proxy Lowercase URL and some exceptions to the URL

2019-10-04 Thread Alex Med
Dear Francis: Thank you again for your help! I apologize. Perhaps, I should have started with what I want to accomplish with the configuration. I want the server to lowercased every URI except the ones that begins with any of the following paths: /api/ /contentAsset/ /categoriesServlet/ /DotA

Re: Nginx Reverse Proxy Lowercase URL and some exceptions to the URL

2019-10-03 Thread Francis Daly
On Thu, Oct 03, 2019 at 01:03:01PM -0400, Alex Med wrote: Hi there, > I also would like to add that when I access: example.com/API/ it is > lowercased to example.com/api/. According to my configuration it should > not. So it means location #1 is not working properly. Why do you think that? M

Re: Nginx Reverse Proxy Lowercase URL and some exceptions to the URL

2019-10-03 Thread Francis Daly
On Thu, Oct 03, 2019 at 12:21:29PM -0400, Alex Med wrote: Hi there, > Location #1 > location ~ > ^/(api|contentAsset|categoriesServlet|DotAjaxDirector|html|dwr|dA)/ {} > > Location #2 > This location does the lowercasing > location ~ [A-Z] { return 301 $scheme://$host$my_uri_to_lowercase;} >

Re: Nginx Reverse Proxy Lowercase URL and some exceptions to the URL

2019-10-03 Thread Alex Med
I also would like to add that when I access: example.com/API/ it is lowercased to example.com/api/. According to my configuration it should not. So it means location #1 is not working properly. Alex Med Wrote: --- > Dear Francis: > > Here a

Re: Nginx Reverse Proxy Lowercase URL and some exceptions to the URL

2019-10-03 Thread Alex Med
Dear Francis: Here are the answers to your questions. Thank YOU for helping! The location block are in the following order: Location #1 location ~ ^/(api|contentAsset|categoriesServlet|DotAjaxDirector|html|dwr|dA)/ {} Location #2 > This location does the lowercasing location ~ [A-Z] { retu

Re: Nginx Reverse Proxy Lowercase URL and some exceptions to the URL

2019-10-03 Thread Francis Daly
On Thu, Oct 03, 2019 at 11:36:27AM -0400, Alex Med wrote: Hi there, > 1- this location is not respected since the configuration lowercases all > uris without respecting these locations. Please note that api, > contentAssets, categoryServlet are paths, not directories or folders. Which part of t

Nginx Reverse Proxy Lowercase URL and some exceptions to the URL

2019-10-03 Thread Alex Med
I have the following server configuration. I have two problems that I would appreciate if someone can tell me what I am doing wrong: 1- this location is not respected since the configuration lowercases all uris without respecting these locations. Please note that api, contentAssets, categoryServ

How to fix : Received RST_STREAM with error code 2 when using nginx reverse proxy

2019-09-02 Thread maximewimez
I'm currently using the dialogflow api on a raspberry. Everything works fine when calling StreamingDetectIntent method using grpc. I have to use multiples apis on my product and so, I'm trying to put a reverse proxy in front of them. Like that, I can call only one address I'm using nginx to reverse

  1   2   3   >