nginx web server configuration file for Suprema BioStar 2 Door Access System

2024-03-08 Thread Turritopsis Dohrnii Teo En Ming via nginx
Subject: nginx web server configuration file for Suprema BioStar 2 Door Access System Good day from Singapore, On 7 Mar 2024 Thursday, I was installing NEW self-signed SSL certificate for Suprema BioStar 2 door access system version 2.7.12.39 for a law firm in Singapore because the common

Re: ssl_reject_handshake breaks other server blocks

2024-03-02 Thread Taco de Wolff
riables > > > but recognizes that when > > ssl_reject_handshake=on it doesn't need the certificate. For HTTP/3 it > > doesn't seem to recognize that it doesn't need the certificate since it > > will reject handshakes anyways. > > I see, but

Re: ssl_reject_handshake breaks other server blocks

2024-03-02 Thread J Carter
it doesn't need the certificate. For HTTP/3 it > doesn't seem to recognize that it doesn't need the certificate since it > will reject handshakes anyways. I see, but when testing with exactly the configuration you posted, it does not appear to require them in the defaul

Re: ssl_reject_handshake breaks other server blocks

2024-03-02 Thread Taco de Wolff
eb 2024 21:45:37 -0300 > Taco de Wolff wrote: > > > Hi, > > > > I've noticed at least in 1.24.0 and 1.25.4 that adding an > > ssl_reject_handshake to the default server breaks SNI for other > > servers. Example: > > > > ``` > > server { &g

Re: ssl_reject_handshake breaks other server blocks

2024-03-01 Thread J Carter
Hello, On Wed, 28 Feb 2024 21:45:37 -0300 Taco de Wolff wrote: > Hi, > > I've noticed at least in 1.24.0 and 1.25.4 that adding an > ssl_reject_handshake to the default server breaks SNI for other > servers. Example: > > ``` > server { > server_name _

ssl_reject_handshake breaks other server blocks

2024-02-28 Thread Taco de Wolff
Hi, I've noticed at least in 1.24.0 and 1.25.4 that adding an ssl_reject_handshake to the default server breaks SNI for other servers. Example: ``` server { server_name _; listen 80 default_server; listen 443 default_server ssl; listen 443 default_server quic reus

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: How can I sync nginx.conf in two keepalived server?

2024-01-30 Thread Jason Anderson via nginx
s fine. > > But I had some new questions here: > 1st, When I edited the nginx.conf in master server, how to transfer the > conf file to backup server immediately? > 2nd, And after I edited , I should run 'nginx -s reload' in the master > server, how can backup server do the s

How can I sync nginx.conf in two keepalived server?

2024-01-30 Thread baalchina
Hi, all. I had just deploy two nginx servers and made them high-available using keepalived. I tested it, and HA works fine. But I had some new questions here: 1st, When I edited the nginx.conf in master server, how to transfer the conf file to backup server immediately? 2nd, And after I edited

RE: Uploading files to remote server running nginx 1.24 returns http status code 405 Not Allowed.

2023-12-18 Thread Reinis Rozitis
> When I am trying to upload files by hitting > https://software.example.com/upload_form.html I am encountering http status > code 405 Not Allowed. Please find inline a screenshot for your reference. Does your upload form point exactly to '/upload.php' ? as by by default Nginx doesn't allow PO

Re: Disable http_dav_module in Nginx Web server (version nginx/1.24.0)

2023-11-28 Thread Thomas Ward via nginx
, Nov 28, 2023 at 12:39:47AM +0530, Kaushal Shriyan wrote: > Hi, > > I am running nginx version: nginx/1.24.0 on Red Hat Enterprise Linux > release 8.8 (Ootpa). Is there a way to disable http_dav_module in Nginx Web > server? > > # nginx -v >

Re: Disable http_dav_module in Nginx Web server (version nginx/1.24.0)

2023-11-28 Thread Kaushal Shriyan
an wrote: > > Hi, > > > > I am running nginx version: nginx/1.24.0 on Red Hat Enterprise Linux > > release 8.8 (Ootpa). Is there a way to disable http_dav_module in Nginx > Web > > server? > > > > # nginx -v > > nginx version: nginx/1.24.0 >

Re: Disable http_dav_module in Nginx Web server (version nginx/1.24.0)

2023-11-27 Thread Sergey A. Osokin
av_module in Nginx Web > server? > > # nginx -v > nginx version: nginx/1.24.0 > # cat /etc/redhat-release > Red Hat Enterprise Linux release 8.8 (Ootpa). > # > # nginx -V 2>&1 | grep http_dav_module > configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/ngi

Re: Disable http_dav_module in Nginx Web server (version nginx/1.24.0)

2023-11-27 Thread Maxim Dounin
Hello! On Tue, Nov 28, 2023 at 12:39:47AM +0530, Kaushal Shriyan wrote: > I am running nginx version: nginx/1.24.0 on Red Hat Enterprise Linux > release 8.8 (Ootpa). Is there a way to disable http_dav_module in Nginx Web > server? The DAV module is disabled by default, unless you'

Disable http_dav_module in Nginx Web server (version nginx/1.24.0)

2023-11-27 Thread Kaushal Shriyan
Hi, I am running nginx version: nginx/1.24.0 on Red Hat Enterprise Linux release 8.8 (Ootpa). Is there a way to disable http_dav_module in Nginx Web server? # nginx -v nginx version: nginx/1.24.0 # cat /etc/redhat-release Red Hat Enterprise Linux release 8.8 (Ootpa). # # nginx -V 2>&1

Re: nginx is redirecting to wrong server context

2023-11-15 Thread Jeremy Cocks via nginx
Hello > and found that it is always redirecting to the first server configured in the nginx.conf file. This is expected behaviour when you have not defined a default_server or you are not sending the appropriate host header in your request (you are not confirming how things are set in the h

nginx is redirecting to wrong server context

2023-11-15 Thread Raman Meenakshisundaram via nginx
Hi I am trying to download a docker image through nginx, and found that it is always redirecting to the first server configured in the nginx.conf file. I am doing a podman pull "podman pull --tls-verify=false mcr.itt.aws.orpd.com.au/devcontainers/python:dev-3.9-buster" but it is wron

Re: Enable two way SSL on Nginx web server

2023-08-18 Thread Kaushal Shriyan
gt; > nginx version: nginx/1.24.0 > > # cat /etc/redhat-release > > CentOS Linux release 7.9.2009 (Core) > > # > > > > Is there a way to enable two way SSL on Nginx web server? > > > > Please guide me. Thanks in Advance. > > Haven't you asked a sim

Re: Enable two way SSL on Nginx web server

2023-08-18 Thread Aleksandar Lazic via nginx
on Nginx web server? Please guide me. Thanks in Advance. Haven't you asked a similar question on the tomcat-user list? https://marc.info/?t=16914615081&r=1&w=3 There was some questions send to you which haven't received any answers, the questions here are similar. * cou

Enable two way SSL on Nginx web server

2023-08-17 Thread Kaushal Shriyan
Hi, I am running nginx version: nginx/1.24.0 on CentOS Linux release 7.9.2009 (Core) # nginx -v nginx version: nginx/1.24.0 # cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) # Is there a way to enable two way SSL on Nginx web server? Please guide me. Thanks in Advance. Best

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

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

Upload files and folders to nginx web server from the browser

2023-08-08 Thread Kaushal Shriyan
Hi, Is there a way to upload files to nginx web server https://software.mydomain.com from the browser ? I have the below nginx config file. I am running nginx version: nginx/1.24.0 on CentOS Linux release 7.9.2009 (Core) # nginx -v nginx version: nginx/1.24.0 # cat /etc/redhat-release CentOS

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

2023-05-23 Thread Sergey A. Osokin
o configure nginx for below scenario. > > I have configured the Load Balancer(Nginx) for ignition. I have created two > upstream(ignapp & ignProdapp) server. For ignapp upstream it is working > fine. I need to configure the below code for upstream server(ignProdapp) in > the sam

Re: QUIC Stream and Server Push support

2023-05-19 Thread Dustin Marquess
On May 19, 2023 at 8:01 PM -0500, Maxim Dounin , wrote: > Hello! > > On Fri, May 19, 2023 at 06:57:04PM -0500, Dustin Marquess wrote: > > > I noticed that QUIC Stream and QUIC Server Push support were > > removed in > > > > https://hg.nginx.org/nginx-quic/rev/11

Re: QUIC Stream and Server Push support

2023-05-19 Thread Maxim Dounin
Hello! On Fri, May 19, 2023 at 06:57:04PM -0500, Dustin Marquess wrote: > I noticed that QUIC Stream and QUIC Server Push support were > removed in > > https://hg.nginx.org/nginx-quic/rev/113e2438dbd4 > > And > > https://hg.nginx.org/nginx-quic/rev/f742b1b46901 >

QUIC Stream and Server Push support

2023-05-19 Thread Dustin Marquess
I noticed that QUIC Stream and QUIC Server Push support were removed in https://hg.nginx.org/nginx-quic/rev/113e2438dbd4 And https://hg.nginx.org/nginx-quic/rev/f742b1b46901 I'm curious on what the reasoning was, given that none was given in the commit messages? -D

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

2023-03-13 Thread Mauro Tridici
roblem. > The company at which I work 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

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
ons >> 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 proxy to >>

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

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 > mail proxy with multiple

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 multiple Stunnels. _

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: [quic] can't define more than one server

2023-02-20 Thread Roman Arutyunyan
Hi Jonas, > On 15 Feb 2023, at 21:50, Jonas Hünig via nginx-devel > wrote: > > Hi, > > I installed the new prebuild nginx package with http/3 support. This works > very well for one server block, but when I add the listen directives to a > second server block I get

AW: AW: nginx-1.23.3 on Win Server wth HTTPS

2023-01-19 Thread Kappes, Michael
ttwoch, 18. Januar 2023 20:31 An: nginx@nginx.org Betreff: Re: AW: nginx-1.23.3 on Win Server wth HTTPS Hello! On Wed, Jan 18, 2023 at 12:41:32PM +, Kappes, Michael wrote: > My "correct certificate information" is the Problem. Nginx tells me: > > invalid number of arguments in &

Re: AW: nginx-1.23.3 on Win Server wth HTTPS

2023-01-18 Thread Maxim Dounin
Hello! On Wed, Jan 18, 2023 at 12:41:32PM +, Kappes, Michael wrote: > My "correct certificate information" is the Problem. Nginx tells me: > > invalid number of arguments in "ssl_certificate" directive in > C:\nginx\nginx-1.23.3/conf/nginx.conf:102 > (please note: "\" and "/" in the same pa

AW: nginx-1.23.3 on Win Server wth HTTPS

2023-01-18 Thread Kappes, Michael
mp\1-Servername.cert.key; Also here, i change "\" to "/" without that it makes a difference Strange Michael -Ursprüngliche Nachricht- Von: nginx Im Auftrag von Francis Daly Gesendet: Mittwoch, 18. Januar 2023 12:02 An: nginx@nginx.org Betreff: Re: nginx-1.23.3 on Win S

Re: nginx-1.23.3 on Win Server wth HTTPS

2023-01-18 Thread Francis Daly
On Wed, Jan 18, 2023 at 08:51:18AM +, Kappes, Michael wrote: Hi there, > After unpacking the ZIP file I have a "nginx.conf" file which I edit, from > line 98, the HTTPS server block starts there. > C:\nginx\nginx-1.23.3>nginx -s reload > nginx: [emerg] unknown

nginx-1.23.3 on Win Server wth HTTPS

2023-01-18 Thread Kappes, Michael
Hello, i will use nginx-1.23.3 on a Win Server, inclusiv HTTPS After unpacking the ZIP file I have a "nginx.conf" file which I edit, from line 98, the HTTPS server block starts there. I enter the absolute path to the CA and KEY file (Windows like path) but NGINX refuses to accept

Re: Upstream service php-fpm is up and running but reports {"errors": {"status_code": 502,"status": "php-fpm server is down"}}

2023-01-09 Thread Francis Daly
On Sat, Jan 07, 2023 at 08:28:17AM +0530, Kaushal Shriyan wrote: Hi there, > Thanks Francis for the detailed explanation. Is there a way to configure > Nginx for the below conditions? I think, indirectly, yes. If you want your nginx to react to some external status (e.g., the up-or-down state o

Re: Upstream service php-fpm is up and running but reports {"errors": {"status_code": 502,"status": "php-fpm server is down"}}

2023-01-07 Thread Dan Swaney
To query your MySql database, I propose you use a REST interface to decouple it from your Front End. The REST interface should be a HTTP Web Service either self hosted or hosted by another Web Server locally on the NGINX Server. (This allows NGINX to handle authentication and HTTPS encryption

Re: Upstream service php-fpm is up and running but reports {"errors": {"status_code": 502,"status": "php-fpm server is down"}}

2023-01-06 Thread Kaushal Shriyan
gt; > > > {"errors": "MySQL DB Server is down"} > > > > When I hit http://mydomain.com/apis for conditions when MySQL DB is up > and > > running fine, I get the below output in spite of MySQL DB server being > > fine. > > > > {&qu

Re: Upstream service php-fpm is up and running but reports {"errors": {"status_code": 502,"status": "php-fpm server is down"}}

2023-01-06 Thread Francis Daly
On Thu, Jan 05, 2023 at 10:15:34PM +0530, Kaushal Shriyan wrote: Hi there, > When I hit http://mydomain.com/apis for conditions when MySQL DB is down. I > get the below output and it works as expected. > > {"errors": "MySQL DB Server is down"} > > W

Re: Upstream service php-fpm is up and running but reports {"errors": {"status_code": 502,"status": "php-fpm server is down"}}

2023-01-05 Thread Dan Swaney
al Shriyan wrote: > Hi, > > I am running the nginx version: nginx/1.22 as a reverse proxy server on > CentOS Linux release 7.9.2009 (Core). When I hit http://mydomain.com/apis I > see the below message on the browser even if the upstream server php-fpm > server is up and running. &

Re: Upstream service php-fpm is up and running but reports {"errors": {"status_code": 502,"status": "php-fpm server is down"}}

2023-01-05 Thread Kaushal Shriyan
. fastcgi_intercept_errors off; add_header "X-Debug-JSON-APIS" $upstream_http_content_type"abc" always; default_type application/json; return 500 '{"errors": "MySQL DB Server is down"}'; # if ($isdatatypejson =

Re: Upstream service php-fpm is up and running but reports {"errors": {"status_code": 502,"status": "php-fpm server is down"}}

2023-01-04 Thread Kaushal Shriyan
Hi Maxim, I have tested using the attached nginx.conf file for your reference. I tested using both scenarios. When MySQL DB is down it works as expected. {"errors": "MySQL DB Server is down"} MySQL DB is up and running It reports {"errors": "MySQL DB Se

Re: Upstream service php-fpm is up and running but reports {"errors": {"status_code": 502,"status": "php-fpm server is down"}}

2022-12-21 Thread Maxim Dounin
nginx.conf > > > where the php-fpm upstream server is processing all php files for Drupal > > > CMS. > > > > > > fastcgi_intercept_errors off > > > proxy_intercept_errors off > > > > > > User -> Nginx -> php-fpm -> MySQL DB. &g

Re: Upstream service php-fpm is up and running but reports {"errors": {"status_code": 502,"status": "php-fpm server is down"}}

2022-12-16 Thread Maxim Dounin
Hello! On Fri, Dec 16, 2022 at 11:53:40PM +0530, Kaushal Shriyan wrote: > I have a follow up question regarding the settings below in nginx.conf > where the php-fpm upstream server is processing all php files for Drupal > CMS. > > fastcgi_intercept_errors off > proxy_in

Re: Upstream service php-fpm is up and running but reports {"errors": {"status_code": 502,"status": "php-fpm server is down"}}

2022-12-16 Thread Kaushal Shriyan
Hi Maxim, I have a follow up question regarding the settings below in nginx.conf where the php-fpm upstream server is processing all php files for Drupal CMS. fastcgi_intercept_errors off proxy_intercept_errors off User -> Nginx -> php-fpm -> MySQL DB. For example if the php-fpm

Re: Upstream service php-fpm is up and running but reports {"errors": {"status_code": 502,"status": "php-fpm server is down"}}

2022-12-15 Thread Kaushal Shriyan
On Fri, Dec 16, 2022 at 1:38 AM Maxim Dounin wrote: > Hello! > > On Thu, Dec 15, 2022 at 09:53:11PM +0530, Kaushal Shriyan wrote: > > > > > I am running the nginx version: nginx/1.22 as a reverse proxy server on > > CentOS Linux release 7.9.2009 (Core). When I hi

Re: Upstream service php-fpm is up and running but reports {"errors": {"status_code": 502,"status": "php-fpm server is down"}}

2022-12-15 Thread Maxim Dounin
Hello! On Thu, Dec 15, 2022 at 09:53:11PM +0530, Kaushal Shriyan wrote: > > I am running the nginx version: nginx/1.22 as a reverse proxy server on > CentOS Linux release 7.9.2009 (Core). When I hit http://mydomain.com/apis I > see the below message on the browser even if the ups

Re: Upstream service php-fpm is up and running but reports {"errors": {"status_code": 502,"status": "php-fpm server is down"}}

2022-12-15 Thread Kaushal Shriyan
On Thu, Dec 15, 2022 at 9:53 PM Kaushal Shriyan wrote: > Hi, > > I am running the nginx version: nginx/1.22 as a reverse proxy server on > CentOS Linux release 7.9.2009 (Core). When I hit http://mydomain.com/apis I > see the below message on the browser even if the upstream

Upstream service php-fpm is up and running but reports {"errors": {"status_code": 502,"status": "php-fpm server is down"}}

2022-12-15 Thread Kaushal Shriyan
Hi, I am running the nginx version: nginx/1.22 as a reverse proxy server on CentOS Linux release 7.9.2009 (Core). When I hit http://mydomain.com/apis I see the below message on the browser even if the upstream server php-fpm server is up and running. *{"errors": {"status_cod

Re: Nginx sends syslog messages with the name of the server - I would like the ip

2022-12-11 Thread Mik J via nginx
Thannk you Jeffrey for your help Le dimanche 11 décembre 2022 à 09:31:10 UTC+1, Jeffrey 'jf' Lim a écrit : On Sun, Dec 11, 2022 at 8:03 AM Mik J via nginx wrote: > > Hello, > > My Nginx server sends syslogs to my remote syslog server with a host = > myserver

Re: Nginx sends syslog messages with the name of the server - I would like the ip

2022-12-11 Thread Jeffrey 'jf' Lim
On Sun, Dec 11, 2022 at 8:03 AM Mik J via nginx wrote: > > Hello, > > My Nginx server sends syslogs to my remote syslog server with a host = > myserver.mydomain.org > However I would like that the host to be the IP a specific IP of the server > (which exists) > >

Nginx sends syslog messages with the name of the server - I would like the ip

2022-12-10 Thread Mik J via nginx
Hello, My Nginx server sends syslogs to my remote syslog server with a host = myserver.mydomain.org However I would like that the host to be the IP a specific IP of the server (which exists) On my Nginx server server { ... access_log syslog:server=1.2.3.4; error_log syslog:server=1.2.3.4; Is

Can someone guide me about building a CSP Server on Nginx?

2022-11-28 Thread blason
Hi Guys, I am about to implement a CSP policy for my servers on my nginx reverse proxy server. Since those are production websites as per guidelines I need to put the policy in report only mode and send a report to another webserver which would accept the POST response. However I tried building a

Re: How to hide/restrict log/error message in browser from nginx server

2022-11-22 Thread ashishbijwe
Thanks for this !!! It works in my case Posted at Nginx Forum: https://forum.nginx.org/read.php?2,295843,295864#msg-295864 ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

Re: How to hide/restrict log/error message in browser from nginx server

2022-11-21 Thread Sergey A. Osokin
dfdsf/security.js:128:17 > at Layer.handle [as handle_request] (/fdsfsdfdfdsfr/layer.js:95:5) > > So my question is is there any way i can hide/restrict this with nginx.conf > file modification or server configuration files modification It seems like the issue is related to a backend a

How to hide/restrict log/error message in browser from nginx server

2022-11-21 Thread ashishbijwe
Hi All, I am new to nginx thing, currently we have primary nginx.conf file under /etc/nginx/ and serval tenant specific server configuration file present in /etc/nginx/conf.d/ folder. So any http request was made it provides verbose nature of error message in browser , it shows some source code

Re: Nginx to tcp/tls enabed syslog server

2022-09-30 Thread Maxim Dounin
Hello! On Fri, Sep 30, 2022 at 05:58:43PM +0530, Vishwas Bm wrote: > Current syslog directive sends logs to an udp syslog server. > Is there a plan to enhance it to support sending logs to tcp and tls+tcp > based syslog server ? There are no such plans. If you want to send logs to

Nginx to tcp/tls enabed syslog server

2022-09-30 Thread Vishwas Bm
Hi, Current syslog directive sends logs to an udp syslog server. Is there a plan to enhance it to support sending logs to tcp and tls+tcp based syslog server ? Regards, Vishwas ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to

Re: Real client IP in the error logs when a server is behind a reverse proxy

2022-06-30 Thread Mik J via nginx
, You need to set the reverse proxy ip in the www server: https://nginx.org/r/set_real_ip_from Also note this will replace $remote_addr with the value from X-Real-IP header (the original value is in $realip_remote_addr). On Thu, Jun 30, 2022, at 21:56, Mik J via nginx wrote: > Hello, >

Re: Real client IP in the error logs when a server is behind a reverse proxy

2022-06-30 Thread nanaya
Hello, You need to set the reverse proxy ip in the www server: https://nginx.org/r/set_real_ip_from Also note this will replace $remote_addr with the value from X-Real-IP header (the original value is in $realip_remote_addr). On Thu, Jun 30, 2022, at 21:56, Mik J via nginx wrote: > He

Re: Real client IP in the error logs when a server is behind a reverse proxy

2022-06-30 Thread Matthew J Black
Email in error, please notify the author and delete this message immediately. On 30/06/2022 22:56, Mik J via nginx wrote: Hello, I have a real server placed behing my reverse proxy www server 192.168.1.10 <---> 192.168.1.20 reverse proxy <---> NAT Firewall <---> Interrnet <---&

Real client IP in the error logs when a server is behind a reverse proxy

2022-06-30 Thread Mik J via nginx
Hello, I have a real server placed behing my reverse proxywww server 192.168.1.10 <---> 192.168.1.20 reverse proxy <---> NAT Firewall <---> Interrnet <---> Client on Internet My configuration on my reverse proxy (192.168.1.20) looks like that location ^

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. &

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 wha

Re: Make relative paths in proxy go to the right server

2022-05-28 Thread AussieSusan
Thank you Francis. Adding the '/' at the end of the 'location' entry seems to have done the trick. (And sorry for the delay in responding - what is that saying about life happening when you try to make plans) Susan Posted at Nginx Forum: https://forum.nginx.org/read.php?2,294234,294309#msg-294

Re: Make relative paths in proxy go to the right server

2022-05-25 Thread Francis Daly
s://myserver.com/weather"; needs to be handled locally, but > "https://myserver.com/whatever"; needs to go to a different server on the > network. To do this I have: > >location /whatever { > proxy_pass http://10.12.45.12:1234/; > }

Make relative paths in proxy go to the right server

2022-05-23 Thread AussieSusan
I am a total newbie to this and I don't even know if what I want to do is possible. I have a web server that locally serves some of the files but in one case needs to pass the web requests on to another server. For example: "https://myserver.com/weather"; needs to be handled loca

Re: Change customer Server Header without compiling it?

2022-03-13 Thread blason
Right - And that helped a lot. Thanks for the quick help Posted at Nginx Forum: https://forum.nginx.org/read.php?2,293801,293829#msg-293829 ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

Re: different ssl_cerficate/ssl_cerficate_key pair for different $host in same server directive

2022-03-09 Thread huiming via nginx
    I hope a server directive includes all sites of user. The benefit of such configuration is that the limit_rate/limit_conn can take effect for the user's all sites.      Is there any other configuration to implement this requirement? -- Ori

Re: different ssl_cerficate/ssl_cerficate_key pair for different $host in same server directive

2022-03-09 Thread Rainer Duffner
3.conf:16" > > I hope different ssl_cerficate/ssl_cerficate_key pair for different $host > in same server , it is possible? > No. Why not create two vhosts? ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

different ssl_cerficate/ssl_cerficate_key pair for different $host in same server directive

2022-03-09 Thread huiming via nginx
hi Hello,       Is below configuration valid? nginx report      "nginx: [emerg] "ssl_certificate" directive is not allowed here in /usr/local/nginx/clientcfg/www.waf.soptest.com.443.conf:16"     I hope different ssl_cerficate/ssl_cerficate_key pair for different $host in

Re: Change customer Server Header without compiling it?

2022-03-07 Thread Sergey A. Osokin
Hi Blason, On Mon, Mar 07, 2022 at 10:39:53PM -0500, blason wrote: > Hi Team, > > I have Ubuntu 20.04 and Nginx 1.20.1 installed from Official Nginx > repository. I already have made the server_tokens to off however wondering > if customer header can be added without recompiling it? With any modu

Change customer Server Header without compiling it?

2022-03-07 Thread blason
Hi Team, I have Ubuntu 20.04 and Nginx 1.20.1 installed from Official Nginx repository. I already have made the server_tokens to off however wondering if customer header can be added without recompiling it? With any modules or packages on ubuntu 20.04? TIA Blason R Posted at Nginx Forum: https:

Re: Upstream certificate validation - Servers in a server group

2022-03-01 Thread Maxim Dounin
Hello! On Tue, Mar 01, 2022 at 09:26:23AM +, Nitsan Matsliah via nginx wrote: > Assuming I have 2 servers in an upstream server group: > > 1. Test1.server.local > 2. Test2.server.local > Each one of these servers holds their own FQDN in their > respective cer

Upstream certificate validation - Servers in a server group

2022-03-01 Thread Nitsan Matsliah via nginx
Assuming I have 2 servers in an upstream server group: 1. Test1.server.local 2. Test2.server.local Each one of these servers holds their own FQDN in their respective certificates. Test1.server.local will have test1.server.local as its subject and subject alternative name in the certificate

RE: how to create session persistence or hash_ip within server context for an if statement

2022-01-24 Thread Reinis Rozitis
> I got it working! I am not sure of the performance hit, maybe someone know how to make this more effective? Without going deeper on what are your actual requirements and what is the expected result, the suggestion I could give is instead of the multiple if statements to look at the map directiv

Re: how to create session persistence or hash_ip within server context for an if statement

2022-01-24 Thread Jelle de Jong
On 1/24/22 11:15, Reinis Rozitis wrote: I want to be able to do an redirect, but only one time, the hit it should not redirect. If a client visits an web-store it will get redirected to the region specific store, but if then then manually select an other store there it should not redirect bac

RE: how to create session persistence or hash_ip within server context for an if statement

2022-01-24 Thread Reinis Rozitis
> I want to be able to do an redirect, but only one time, the hit it should not redirect. > > If a client visits an web-store it will get redirected to the region specific store, but if then then manually select an other store there it should not redirect back again. I don't know if a nginx sessio

Re: how to create session persistence or hash_ip within server context for an if statement

2022-01-24 Thread Jelle de Jong
Thank you for taking a look! On 1/24/22 00:45, Francis Daly wrote: On Fri, Jan 21, 2022 at 12:45:16PM +0100, Jelle de Jong wrote: Hi there, How can I use an nginx session or hash_ip in the server context to only do the following if statement code once and not a second time an client visits

Re: how to create session persistence or hash_ip within server context for an if statement

2022-01-23 Thread Francis Daly
On Fri, Jan 21, 2022 at 12:45:16PM +0100, Jelle de Jong wrote: Hi there, > How can I use an nginx session or hash_ip in the server context to only do > the following if statement code once and not a second time an client visits > the website: > > server { > if ($geoip2_dat

how to create session persistence or hash_ip within server context for an if statement

2022-01-21 Thread Jelle de Jong
Hello everybody, How can I use an nginx session or hash_ip in the server context to only do the following if statement code once and not a second time an client visits the website: server { if ($geoip2_data_country_iso_code != GB) { return 302 https://test01.example.nl

Re: Setting up a webDAV server

2022-01-06 Thread BonVonKnobloch
Thanks Francis, Maxim, I think that the docs are fine. Coming from an OS/network world and not steeped in HTTP, I had mentally reversed the concepts of location and root. All is (almost) clear now. Bob Posted at Nginx Forum: https://forum.nginx.org/read.php?2,293215,293273#msg-293273 __

Re: django app static files on the different server not get loaded

2022-01-05 Thread ningja
Thank you. Francis. I did just as you said. location /static_app2/ { proxy_pass https://test2.com:444; } Posted at Nginx Forum: https://forum.nginx.org/read.php?2,293219,293265#msg-293265 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/

Re: django app static files on the different server not get loaded

2022-01-05 Thread Francis Daly
m. Good stuff; thanks for sharing the result. You probably already have this in place, but just in case not: If all of your app2-static files are below the url prefix "/static_app2/", you can add one location to proxy_pass them all to the test2 server, like location /static_app2/ { prox

Re: django app static files on the different server not get loaded

2022-01-03 Thread ningja
After I modified my app2 and put all my static files to static_app2 and with Francis' suggestion location = /static_app2/img/logo-2.jpg { proxy_pass https://test2.com:444; } . I was able to solve my problem. Thank you Francis and Paul. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,29

Re: django app static files on the different server not get loaded

2022-01-03 Thread ningja
Hi Francis, I tried your suggestion. location = /static2/img/logo-2.jpg { proxy_pass https://test2.com:444; } and I can access the img from http://test1/static2/img/logo-2.jpg. I'll try to edit my app2 django to use static2 instead static. Thank you for your suggestion, Sue Posted at Nginx For

Re: django app static files on the different server not get loaded

2022-01-03 Thread ningja
p.s. If I do curl from my local without connect vpn. curl https://test1.com and I got the landing page of the app1. curl https://test2.com I got 301. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,293219,293235#msg-293235 ___ nginx mailing

Re: django app static files on the different server not get loaded

2022-01-03 Thread ningja
Hi Francis, Thank you. "Yes" both apps have static directory. From the error message that seems nginx IS looking under different path "app1/static" for app1 and "app2/static" for app2 . Does it means "static" did not confuse nginx? (I am not 100% sure ) another thing I should mention : I added a

Re: Setting up a webDAV server

2022-01-03 Thread Francis Daly
On Sun, Jan 02, 2022 at 08:51:40AM -0500, BonVonKnobloch wrote: Hi there, > I had one part of the pathname double and could not see it. > Seemingly I have PUT & GET functionality - now for further testing and > tightening permissions. Good stuff -- it sounds like you have a thing that works well

Re: django app static files on the different server not get loaded

2022-01-03 Thread Francis Daly
On Sun, Jan 02, 2022 at 04:26:40PM -0500, ningja wrote: Hi there, > The issue is I need to configure nginx1 to allow people to access app2 from > the public internet. The config file I post here is from test1 server. > With this config I can access app2 html pages from the internet (

Re: django app static files on the different server not get loaded

2022-01-02 Thread ningja
on the test1 from my original post. Both server has their own IP. I have two separate instances of nginx on separate servers. I can access https://test1.com/app1 from wan. I can access https://test2.com/app2 from lan. I can not load static files https://test2.com/app2 from wan. What do you mean

  1   2   3   4   5   6   7   8   9   10   >