Re: Compiling Nginx with BoringSSL results in an error

2025-05-14 Thread JINZE YANG via nginx
- Best regards, JINZE YANG > 2025年5月14日 19:31,Sergey A. Osokin 写道: > > On Wed, May 14, 2025 at 05:45:42PM +0800, JINZE YANG via nginx wrote: >> Hello, >> Today, I pulled the latest branch from GitHub. Below >> are the corresponding commits: >> boringssl: 899738

Re: Compiling Nginx with BoringSSL results in an error

2025-05-14 Thread JINZE YANG via nginx
Hello, Today, I pulled the latest branch from GitHub. Below are the corresponding commits: boringssl: 89973806bc2ef652189e157f2736a7d32229c404 nginx: f3542500b6d74e3e88fc84b88144afe67882d1fa Someone mentioned that this might be related to the GCC version. It seems GCC 13 does not have issues, but

Re: Compiling Nginx with BoringSSL results in an error

2025-05-14 Thread JINZE YANG via nginx
ow > are the corresponding commits: > boringssl: 89973806bc2ef652189e157f2736a7d32229c404 > nginx: f3542500b6d74e3e88fc84b88144afe67882d1fa > Someone mentioned that this might be related to the GCC version. It > seems GCC 13 does not have issues, but I have not yet had the chan

Re: Update nginx on the fly with a change of prefix

2025-05-04 Thread Sébastien Rebecchi via nginx
t; > On Sat, May 03, 2025 at 06:14:19PM +0200, Sébastien Rebecchi via nginx > wrote: > > > > Is there a way to update Nginx on the fly while new nginx was configured > > with a different --prefix than was the old one? > > You may want following the "Upgrading Ex

Update nginx on the fly with a change of prefix

2025-05-03 Thread Sébastien Rebecchi via nginx
Hello, Is there a way to update Nginx on the fly while new nginx was configured with a different --prefix than was the old one? Thanks, Sébastien. ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

Re: use a secondary upstream as backup

2025-04-23 Thread Sébastien Rebecchi via nginx
Hi Sergey, Liam! Thank you for your answers, they are really helpful! I did not think of such kinds of solutions, they should both work fine for my use case. Have a great day Sébastien Le mer. 23 avr. 2025 à 15:44, Liam Crilly via nginx a écrit : > Alternative approach would be to

Re: use a secondary upstream as backup

2025-04-23 Thread Liam Crilly via nginx
; error_page 502 @try_secondary; } location @try_secondary { proxy_pass https://secondary_upstream; } From: nginx on behalf of Sergey A. Osokin Sent: 23 April 2025 14:26 To: Sébastien Rebecchi Cc: nginx mailing list Subject: Re: use a secondary

use a secondary upstream as backup

2025-04-23 Thread Sébastien Rebecchi via nginx
Hello, I understand that within an upstream block, some servers can be marked as backup, meaning NGINX will only use them if all primary servers fail. In my case, I have some servers running over HTTP and would like to configure HTTPS servers as backups. However, since an upstream can only use

Re: Is if statement valid for cert client verification ?

2025-03-13 Thread Mik J via nginx
ns the certificate *must* be issued by that CA certificate.  However, that alone is not enough.  By giving NGINX the **trusted CA certificate** in `ssl_client_certificate`, we are explicitly telling it what certificate to use for verification of the signature and issuing line to validate against. Ther

Re: Is if statement valid for cert client verification ?

2025-03-12 Thread Mik J via nginx
.crt" because I wanted that client verification would work for myuser1, myuser2not juste for one user. Basicly for all my users in my company, and the website would be exposed on the internet. Thank you for clarifying the attack scenario, I didn't think about it at all. My ssl confi

Is if statement valid for cert client verification ?

2025-03-11 Thread Mik J via nginx
Hello, I remember from Nginx that "if" can be evil. I would like to validate that if can be used in the a context where I would like to authenticate my clients with a certificate. if ($ssl_client_s_dn !~ "O=MyCorp") { return 403; } Do you have any recomme

RE: nginx with gitlab self host and cookie/session expired problems

2025-01-25 Thread Reinis Rozitis via nginx
> Now, I’m wondering if the frequent logouts (session expiration) might be > related to this cookie issue, and if there are any suggestions for addressing > it via Nginx. Nginx can't do much about it If the application behind deletes all the cookies. So check what version of

Re: nginx and python script

2024-12-28 Thread Ralf Figge via nginx
ve it tested with a manual call. / / /Am 27.12.2024 um 22:36 schrieb Jeff Dyke: Pass {serial} to your proxy from a normal nginx args variable. location /another_script {     proxy_pass http://server/cgi-bin/another_script.py? <http://server/cgi-bin/another_script.py?%7Bserial%7D>$args }

nginx and python script

2024-12-27 Thread Ralf Figge via nginx
Hello, i am a newbee from nginx. I need to run a python script via cgi-bin. I search for information about python and nginx, and found fcgiwrap und uwsig. I test uwsig (as cgi-bin), but there i become only error 502 Gateway error. fcgiwrap looks like better, But i have 1 problem with it

Nginx on Fedora with SELinux

2024-11-18 Thread 201904-nginx
https://www.mankier.com/8/semanage-fcontext ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

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/2

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
inx.org/en/docs/http/ngx_http_proxy_module.html#proxy_pass -- Best regards Kevin Weis Pronouns: he / him https://compilenix.org ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

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

Nginx behavior still working as is today ?

2024-09-28 Thread Mik J via nginx
after try_files. That was 11 years ago, is it still true ? I use Nginx 1.24 Also, I have something like this server {     listen 80; ...     location / {   try_files $uri $uri/ /index.php$is_args$args; ... In that location bloc I have   location ~ ^(.+\.php

Re: Compilation of brotli for nginx fails since version 1.27.0 on Rocky Linux 8

2024-09-03 Thread Nikolaos Milas via nginx
On 3/9/2024 9:57 μ.μ., Kevin Weis via nginx wrote: ... I was able to reproduce your exact error and find a solution that should meet your needs, using the current Rocky Linux 8 container image from https://hub.docker.com/_/rockylinux with the image id of c79048e50f5f. My solution in short

Compilation of brotli for nginx fails since version 1.27.0 on Rocky Linux 8

2024-09-03 Thread Kevin Weis via nginx
p; git submodule update --init && cd / wget https://nginx.org/download/nginx-1.27.1.tar.gz && tar zxvf nginx-1.27.1.tar.gz cd nginx-1.27.1 ./configure --with-compat --add-dynamic-module=../ngx_brotli make modules Hope this helps :) K

Compilation of brotli for nginx fails since version 1.27.0 on Rocky Linux 8

2024-09-03 Thread Nikolaos Milas via nginx
Hello, I have been regularly upgrading nginx with brotli for a long time without issues, compiling brotli from source with the process you can see below. Now, since version 1.27.0, brotli compilation fails with the error: /usr/bin/ld: cannot find -lbrotlienc /usr/bin/ld: cannot find

Re: Questions regarding upstream

2024-08-16 Thread Benedikt Heine via nginx
ound robin. It also suggests PEWMA, but nginx doesn't have this sort of balancing method. 2. Is there a way to be notified when a server is marked as down (max_fails reached during fail_timeout)? I can't see anything as such in error logs You can read out the status of the upstream v

RE: nginx.org/packages: File has unexpected size (1244887 != 1246820)

2024-08-12 Thread FERRON, BENJAMIN via nginx
Hi Konstantin, That was it :) The internal build process was version locked on 1.27.0~1bookworm, with 1.27.0~2bookworm the issue is solved. Thanks for you help! Kind regards, Benjamin De : Konstantin Pavlov Envoyé : lundi 12 août 2024 19:25 À : nginx@nginx.org Cc : FERRON, BENJAMIN (IT IPS

nginx.org/packages: File has unexpected size (1244887 != 1246820)

2024-08-12 Thread FERRON, BENJAMIN via nginx
Hi, I've been experiencing issues fetching the sources of nginx 1.27.0 (deb) from the nginx.org mainline package repository. We have a job that collect sources for clearing and the latest nginx runs have been blocked with the following error: E: Failed to fetch http://nginx.org/pac

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
rame-Options: SAMEORIGIN^M X-Permitted-Cross-Domain-Policies: none^M X-Request-Id: ^M X-Robots-Tag: noindex, nofollow^M X-Xss-Protection: 1; mode=block^M Connection: close^M Transfer-Encoding: chunked^M - So I am back to the prob

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

Re: [ANN] OpenResty 1.25.3.2 released

2024-07-22 Thread Jiahao Wang via nginx
it fully > understood? > > On Mon, 22 Jul 2024 at 17:46, Jiahao Wang via nginx > wrote: > > > > Hi folks, > > > > I am happy to announce the new formal release, 1.25.3.2, of our > OpenResty web platform based on NGINX and LuaJIT. > > > > OpenResty 1.

[ANN] OpenResty 1.25.3.2 released

2024-07-22 Thread Jiahao Wang via nginx
Hi folks, I am happy to announce the new formal release, 1.25.3.2, of our OpenResty web platform based on NGINX and LuaJIT. OpenResty 1.25.3.2 is a security update addressing a performance issue in our OpenResty branch of LuaJIT related to hash computation optimization. This update disables a

proxy_bind/splitting with nginx mail module for IMAP

2024-07-10 Thread Malte Schmidt via nginx
I am currently working on a setup using nginx mail module with several backends. Due to port exhaustion, I would like to do splitting of outgoing connections across several IPs. For http this is well documented, but for the mail module I could not find anything. Simply trying "proxy_bin

nginx pgp key nginx_signing.key

2024-07-07 Thread Ivan Strelnikov via nginx
is exist or outdated? Maybe we should update it or please explain me if i wrong. P.S. Sorry, if this is wrong place for this kind of questions, i can't find more proper one. -- Ivan ___ nginx mailing list nginx@nginx.org https://mailman.ngin

Custom HTTP protocol response?

2024-06-10 Thread Martin Kjær Jørgensen via nginx
Hi, I'm experimenting with nginx to have it respond in an incompatible wait to a HTTP client. A normal response would be like the usual: HTTP/1.1 200 OK Content-Type: text/plain ... I would like to modify the HTTP response to this instead, using nginx and perhaps some lua scripting if n

Cache purge & preload solution on wordpress

2024-06-09 Thread Hasan ÇALIŞIR via nginx
Hi Nginx Community, I wanted to share a free plugin I developed after struggling with cache purge and preload actions on WordPress. It's a tool that simplifies cache management directly from the wordpress admin dashboard, trying to automate cache preloading and purging with different d

How to configure HTTP CONNECT to SSH Proxy?

2024-05-14 Thread Wladislav Artsimovich via nginx
Dear NGINX Mailing list,   I'm a user of https://github.com/proxytunnel/proxytunnel to connect to SSH over HTTPS. This requires the HTTP server to redirect the traffic to a local SSH server.   Following http://dag.wiee.rs/howto/ssh-http-tunneling/ I implemented this on my server using A

nginx.org repo now on GitHub

2024-05-13 Thread Liam Crilly via nginx
A small announcement to say that the sources for the nginx.org website are now maintained on GitHub: https://github.com/nginx/nginx.org Issues and PRs are open so please feel free to make suggestions and/or propose changes. Cheers, Liam. ___ nginx

Leaky NGINX Plugin Advice

2024-04-23 Thread Alex Hussein-Kershaw (HE/HIM) via nginx
Hi Folks, I've inherited an nginx plugin, written against 0.7.69 that has recently been moved to use nginx 1.24.0 to resolve the need to ship old versions of openssl. I've found during performance testing that it's leaking file descriptors. After a few hours running and l

RE: I need help with our NGINX set up

2024-04-19 Thread Reinis Rozitis via nginx
end application or server which handles the POST request (as an example - PHP has its own post_max_size / upload_max_filesize settings). p.s. while it's unlikely (as you specify the settings in particular location blocks) since you use wildcard includes it is always good to check wit

Nginx-1.25.3 Proxy_temp Creating Files root partition

2024-04-17 Thread Mayiani, Martin Martine - mayianmm via nginx
Hi, So for some odd reason Nginx creating temp files in the root partition and filling up disk and deleting at a slow rate. Aren't this files supposed to be in /var/cache/nginx/proxy_temp . ?? currently they're locate at /etc/nginx/proxy_temp. How do I change that and how

RE: nginx-1.25.5

2024-04-17 Thread Reinis Rozitis via nginx
socket"? wbr rr _______ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

Re: nginx-1.25.5

2024-04-17 Thread juef via nginx
Hi, (Tue, 16 Apr 20:40) Roman Arutyunyan: > Changes with nginx 1.25.516 Apr 2024 > > *) Feature: virtual servers in the stream module. > > *) Feature: the ngx_stream_pass_module. > > *) Feature: the "deferred"

RE: No SNI support on multisite installation

2024-03-15 Thread Thomas Ward via nginx
--- Original message From: Jeffrey Walton Date: 3/15/24 14:24 (GMT-05:00) To: nginx@nginx.org Cc: Thomas Ward Subject: Re: No SNI support on multisite installation On Fri, Mar 15, 2024 at 2:05 PM Thomas Ward via nginx wrote: > > If you only have one IP, then you cannot fix thi

RE: No SNI support on multisite installation

2024-03-15 Thread Thomas Ward via nginx
From: Saint Michael Date: 3/11/24 02:34 (GMT-05:00) To: nginx@nginx.org Subject: No SNI support on multisite installation I have an openresty server, latest, compiled with http_ssl. So I have 5 websites on the same IP, each one with a server block, a listen statement :443 SSL; and its

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 issue

2024-02-11 Thread Thomas Ward via nginx
Rereading from  my computer, and sorry for the partial snippet/quote, your entire path is being prepended with `C:\nginx/conf/` so your setting that triggers this of `conf/ssl/...` is not proper.  Your configuration root is `C:\nginx\conf` already, so either change your configuration lines to

RE: SSL issue

2024-02-11 Thread Thomas Ward via nginx
I misread. NGINX doesnt see the certs exist meaning whatever user is running it doesnt have permissions. Make sure your user running NGINX has access down the whole folder chain. Sent from my Galaxy Original message From: Victor Oppenheimer Date: 2/11/24 17:17 (GMT-05

RE: SSL issue

2024-02-11 Thread Thomas Ward via nginx
your SSL listen commands are commented out and so are your cert declarations. Uncomment them and restart your nginx and see if that fixes it Sent from my Galaxy Original message From: Victor Oppenheimer Date: 2/11/24 17:17 (GMT-05:00) To: Jeremy Cocks via nginx Subject

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

2024-01-30 Thread Jason Anderson via nginx
This may help: https://docs.nginx.com/nginx/admin-guide/high-availability/configuration-sharing/ Regards, Jason On Tue, Jan 30, 2024, 9:04 AM baalchina wrote: > Hi, all. I had just deploy two nginx servers and made them high-available > using keepalived. I tested it, and HA work

Re: Configuration adjustment for GRPC service

2024-01-25 Thread Jason Anderson via nginx
Have you tried configuring grpc timeouts on NGINX? This combined with an upstream healthcheck should prevent any client connections that aren't possible for NGINX to service. https://nginx.org/en/docs/http/ngx_http_grpc_module.html#grpc_connect_timeout https://docs.nginx.com/nginx/admin-

proxy_protocol mixed address family

2024-01-15 Thread nginx . list
not touch anything at all so that proxy_protocol stuff can traverse multiple layers with changing IP versions? I have the following Setup: IPv4: User --> 4to6 Proxy (Alpine Linux / nginx 1.24.x) --> SNI Proxy (Debian Bookworm / nginx 1.22.x) --> Mixed Downstream with Traefik or nginx

[ANN] OpenResty 1.25.3.1 released

2024-01-09 Thread Jiahao Wang via nginx
Hi folks, I am happy to announce the new formal release, 1.25.3.1, of our OpenResty web platform based on NGINX and LuaJIT. It is the first OpenResty version based on Nginx core 1.25.3. The full announcement, download links, and change logs can be found below: https://openresty.org/en/ann

Re: Question

2024-01-04 Thread Vucomir Ianculov via nginx
use curl, for an API > ___ > nginx mailing list > nginx@nginx.org > https://mailman.nginx.org/mailman/listinfo/nginx > _______ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

Re: Calculating requests per second, per IP address

2024-01-01 Thread jeremy ardley via nginx
On 1/1/24 18:57, J Carter wrote: Other than log aggregators, writing a script (python, perl, bash) is likely the fastest approach. Consider sharing it if you do, I'm sure others will find it useful. -- An alternative option is to put haproxy as a front end to nginx. haproxy has

NIC deletes all listeners when rejecting new listener on reserved port

2023-12-07 Thread Brad Bishop via nginx
Hi Folks, We're using NGINX Ingress Controller 3.0.2 (NGINX 1.23.3) in AKS on a couple AKSUbuntu-2204gen2containerd-202309.06.0 nodes. We do regular helm release installs of a single-tenanted TCP & HTTP service for law firms. Today we had a P1 issue when we added a listener for a new

Re: nginx 1.20.0 coverity errors

2023-12-07 Thread Richard Stanway via nginx
f you want them to be taken seriously. On Thu, 7 Dec 2023 at 02:35, BILL wrote: > Hi, > > We have a coverity testing on nginx 1.20.0 and we got some errors. > Have any plan to resolve these errors? > > > Checker Number > ARRAY_VS_SINGLETON 3 > BAD_FREE 3 >

Error: nginx: [emerg] unknown directive "stream" in /etc/nginx/nginx.conf:11

2023-12-07 Thread Gandla, Kesavardhana via nginx
Dear NGINX community, I am Kesavardhana Gandla from Medtronic R&D, Bangalore. I am trying to evaluate the nginx on YOCTO Linux based embedded product. My Linux version: 5.15.71 aarch64 GNU/Linux. While using the stream option on target the below error is coming. Error: nginx: [emerg] unk

Re: nginx 1.20.0 coverity errors

2023-12-06 Thread Xavier Beaudouin via nginx
Hello Bill, > We have a coverity testing on nginx 1.20.0 and we got some errors. > Have any plan to resolve these errors? Maybe you should try same thing on 1.24.0 ? Because AFAIK 1.20.0 has been released on 20 Apr 2021 and there is more than 2 years of development in between. So you

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

2023-11-28 Thread Thomas Ward via nginx
Kaushal, The answer from Sergey is actaully accurate.  You'd have to modify the build scripts to exclude the webdav module and then recompile the NGINX packaging for your environment.  This is not *hard* but requires more knowledge than just NGINX to provide a solution that fits

control proxy_buffering with variables

2023-11-16 Thread public1020 via nginx
I'm trying to control buffering with variables, but nginx complains about it, nginx: [emerg] invalid value "$val" in "proxy_request_buffering" directive, it must be "on" or "off" in /etc/nginx/sites-enabled/test.conf:9 Is there any way to resolve

Re: nginx is redirecting to wrong server context

2023-11-15 Thread Jeremy Cocks via nginx
ttp client you are using). The default behaviour is defined here: https://nginx.org/en/docs/http/request_processing.html > In this configuration nginx tests only the request’s header field “Host” to determine which server the request should be routed to. If its value does not match any server na

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: trying to disable gzip

2023-10-18 Thread alienmega via nginx
there is anyway to turn it off. Sent with Proton Mail secure email. --- Original Message --- On Wednesday, October 18th, 2023 at 12:46 PM, Maxim Dounin wrote: > Hello! > > On Wed, Oct 18, 2023 at 04:13:39PM +, alienmega via nginx wrote: > > > Hello, > >

trying to disable gzip

2023-10-18 Thread alienmega via nginx
Hello, I am trying to disable gzip to mitigate the breach attack( I use a service to check for vulnerabilities and it came up with that). I added gzip off to nginx.conf file and then check the configuration with nginx -t, and then reloaded with systemctl reload nginx. When I visit the site, I

Re: Run PHP on NGINX

2023-10-17 Thread Laura Smith via nginx
--- Original Message --- On Tuesday, October 17th, 2023 at 16:50, Jeff wrote: > Can PHP code be run using NGINX? > > Yes of course. There are surely thousands of how-to's on Google already ? Its not difficult, only about 5 lines in t

Compatibility of X25519Kyber768 ClientHello

2023-10-09 Thread Gentry Deng via nginx
ve gotten the whole message on a given read and need to keep on reading. www.paypal.cn will need to fix their server to correctly handle this case. So the Chromium team isn't considering making a change, so I'm wondering how compatible nginx is with this? Or what version is neede

Re: logrotate (?) screws it badly

2023-10-06 Thread Ralph Seichter via nginx
* lejeczek via nginx: > For after logs got rotated Nginx logs into: > access.log.1 & error.log.1 > and now as it should, you know > access.log & error.log You may want to try logrotate's "copytruncate" option. -Ralph _____

logrotate (?) screws it badly

2023-10-05 Thread lejeczek via nginx
Hi guys. I run off distro's vanilla-default logrotate, like so: ``` /var/log/nginx/*log {     daily     rotate 10     missingok     notifempty     compress     delaycompress     sharedscripts     postrotate     /bin/kill -USR1 `cat /run/nginx.pid 2>/dev/null` 2>/dev/n

Re: Requesting a Nginx Variable - "client_time_taken" (similar to request_time & upstream_response_time)

2023-10-02 Thread Devarajan D via nginx
;set" directive, or via a map when sending the response headers. This provides mostly arbitrary time measurements if you need it. 2. How do we get control in nginx configuration when the last byte of request body is received from the client > For detailed investigation on what

Requesting a Nginx Variable - "client_time_taken" (similar to request_time & upstream_response_time)

2023-10-01 Thread Devarajan D via nginx
Dear Team, We're using Nginx 1.22.1 open source version as Load Balancer and tomcat servers as upstream. We got a complaint from one of our clients stating the request time is too long (~30 minutes for ~10MB uploads) from our server for few MBs of Request Upload. On checking, we foun

nginx error_log as JSON

2023-09-25 Thread Benedikt Heine via nginx
Hi all, would it be feasible to have the nginx error log in JSON format? I personally wouldn't mind, if the message emitted by ngx.debug("msg") is still a big string. If the meta-information would be in JSON, it would save writing a custom parser for the messages. I'

Re: module which handles POST request help (Maxim Dounin)

2023-09-19 Thread Ben Mesander via nginx
est_body I think in this case I definitely want to use a content handler. I will point out one item I found confusing is the example cited doesn't show how to hook up the phase handler to nginx - it will never be called. I am looking at other modules in order to understand how thi

module which handles POST request help

2023-09-18 Thread Ben Mesander via nginx
I'm working on an nginx module which will handle POST requests. I've never written an nginx module before, but I have worked on apache modules. My goal is to have it do unbuffered reads and process the data being posted as it arrives. Initially, I'm doing just a simple blocking r

Re: Help

2023-09-18 Thread Revvy via nginx
After compiling nginx 1.24.0 from the source tarball, using identical configure arguments, it just works. $ /sbin/nginx -V nginx version: nginx/1.24.0 built by gcc 12.2.0 (Debian 12.2.0-14) built with OpenSSL 3.0.9 30 May 2023 TLS SNI support enabled configure arguments: --prefix=/etc/nginx

Help

2023-09-17 Thread Revvy via nginx
I use nginx for my DNS over HTTPS and DNS over TLS. Here is my nginx.conf: user www-data; worker_processes auto; pid /run/nginx.pid; load_module /etc/nginx/modules/ngx_http_js_module.so; load_module /etc/nginx/modules/ngx_stream_js_module.so; events {     worker_connections 768; } # DNS

Re: Nginx Support required

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

Re: Nginx Support required

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

About X25519Kyber768Draft00

2023-08-20 Thread Gentry Deng via nginx
starting in Chrome 116, and available behind a flag in Chrome 115. Cloudflare <https://blog.cloudflare.com/post-quantum-for-all/>, the world's leading CDN provider, has been supporting Hybrid Kyber KEM since last year. I would like to know if nginx with BoringSSL <https://

Re: Enable two way SSL on Nginx web server

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

Re: Can I rewrite https to http?

2023-08-15 Thread Ralph Seichter via nginx
for an encrypted connection. Obtaining a certificate from Let's Encryt or similar seems a more suitable approach to me. -Ralph _______ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

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

master process

2023-08-04 Thread Yuval Abadi via nginx
Hi I am writing plugin code that read the configuration, nginx.conf, and do some periodic continues processing. In the configuration CBs, the process PID is not the MASTER, after NGINX start run he MASTER pid is other process. It seems that temporary process read the nginx.conf. and then

wordpress - Primary script unknown

2023-08-03 Thread lejeczek via nginx
p-fpm;   } # upstream upstream php-fpm {     server unix:/run/php-fpm/www.sock; } when I go to web root, Nginx logs: ... 2023/08/03 13:50:24 [debug] 1112963#1112963: *27 http script copy: "SERVER_PORT" 2023/08/03 13:50:24 [debug] 1112963#1112963: *27 http script var: "443&

Limit upload time

2023-07-28 Thread Crosnier, Laurent via nginx
__ www.accenture.com ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

Re: [ANN] OpenResty 1.21.4.2 released

2023-07-20 Thread A. Schulze via nginx
clone g...@github.com:yaoweibin/ngx_http_substitutions_filter_module.git and both work. Your version timeout here, too. Andreas ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

[ANN] OpenResty 1.21.4.2 released

2023-07-19 Thread Jiahao Wang via nginx
Hi folks, I am happy to announce the new formal release, 1.21.4.2, of our OpenResty web platform based on NGINX and LuaJIT. You can check the full release note here: http://openresty.org/en/ann-1021004002.html You can download the software packages here: http://openresty.org/en/download.html

chunk body in response

2023-06-27 Thread Yuval Abadi via nginx
Hi Nginx 1.23.2 When HTTP Server replies chunk body nginx has an error 0 upstream sent invalid chunked response while reading upstream, client: 10.1.0.14, server: , request: My nginx.conf have these attribute under the server section: + proxy_http_version 1.1; + proxy_set_header Connection

Re: nginx_http_write_filter_module.c

2023-06-27 Thread Yuval Abadi via nginx
Thanks From: nginx on behalf of Maxim Dounin Date: Wednesday, 21 June 2023 at 19:01 To: Yuval Abadi via nginx Subject: Re: nginx_http_write_filter_module.c EXTERNAL MAIL: nginx-boun...@nginx.org Hello! On Wed, Jun 21, 2023 at 11:36:54AM +, Yuval Abadi via nginx wrote: > Nginx 1.2

nginx_http_write_filter_module.c

2023-06-21 Thread Yuval Abadi via nginx
Hi. Nginx 1.23.2 The cpi ngx_http_write_filter(ngx_http_request_t *r, ngx_chain_t *in) Loop over the request out buffers and in chain If calculate size of combined buffer to write. I add body replacement on chain. It have value, but ngx_buf_size(cl->buf); Return it have 0. Size.

RE: duplicate ports across servers in nginx.conf

2023-05-30 Thread Yuval Abadi via nginx
Hi Thanks for the response. The link explains the problem, I think we could do better work for users. If the configuration has 2 servers sharing the same name and the same port I got this warning: "nginx: [warn] conflicting server name "http://www.mut.com/"; on 0.0.0.0:80, ig

duplicate ports across servers in nginx.conf

2023-05-29 Thread Yuval Abadi via nginx
Hi When I have 2 servers in nginx.conf with same listen port if the server have name, nginx issue warning ignore … but nit failed to load. What happens is only the first server in conf binds the socket. And worse, If no server names I did not get a warning. Only if the keyword “default

Re: http2 error: Invalid HTTP header field was received:

2023-05-23 Thread Johnatan Hallman via nginx
Hello, Yes your solution did work with version: nginx version: nginx/1.18.0 built with LibreSSL 3.3.2 I removed http2 from all vhost effectively disabling it on the server and it works fine. I wonder if I even need it for anything :) But as you said this might not even be an option in the

http2 error: Invalid HTTP header field was received:

2023-05-23 Thread Johnatan Hallman via nginx
Hello List, I have a setup where I put an ancient host running a perl-cgi app behind an nginx reverse proxy. The http reverse proxy works fine however if I try: curl -v --anyauth -k https://app.test.lan/cgi-bin/page.pl I get: http2 error: Invalid HTTP header field was received: frame type

Re: Separate location for files served by php-fpm

2023-05-18 Thread Palvelin Postmaster via nginx
> On 15. May 2023, at 17.15, Francis Daly wrote: > > On Mon, May 15, 2023 at 12:46:14PM -1000, Palvelin Postmaster via nginx wrote: >>> On 8. May 2023, at 8.49, Palvelin Postmaster via nginx >>> wrote: > > Hi there, > >>> I use php-fpm together

Re: Separate location for files served by php-fpm

2023-05-15 Thread Palvelin Postmaster via nginx
Can anyone help me with this? > On 8. May 2023, at 8.49, Palvelin Postmaster via nginx > wrote: > > Hi all! > > I use php-fpm together with nginx. > > My PHP app serves files which have hashed filenames and no filename extension > from a specific subdirect

Separate location for files served by php-fpm

2023-05-08 Thread Palvelin Postmaster via nginx
Hi all! I use php-fpm together with nginx. My PHP app serves files which have hashed filenames and no filename extension from a specific subdirectory url, e.g /files/hash/31b4ba4a0dc6536201c25e92fe464f85 I would like to be able to set, for example, a separate ’expires’ value to these files

Re: Duplicate Content-Length header with same value, recent change in behavior intentional?

2023-04-19 Thread Jesse Stimpson via nginx
Yes, apologies for being unclear. Indeed, the upstream proxy is the one generating the duplicate header. My message is primarily concerning the behavior of nginx upon recognizing such a duplicate from the upstream. In order to complete my testing, I wrote an http server as my upstream that

Duplicate Content-Length header with same value, recent change in behavior intentional?

2023-04-19 Thread Jesse Stimpson via nginx
Hello, I've noticed a recent change in behavior that occurred between releases 1.22.1 and 1.23.4, and I'm unable to find this particular change documented. If an upstream proxy sends a response with duplicate Content-Length headers, both of the same value, nginx 1.22.1 allows the resp

Re: resolver does not work

2023-04-18 Thread A. Schulze via nginx
Am 18.04.23 um 14:58 schrieb mailingl...@unix-solution.de: nginx is 1.1.18 Whats wrong there? released in March 2012 couldn't you use a "not so historic" version? Andreas ___ nginx mailing list nginx@nginx.org https://mailman.ng

  1   2   3   4   5   >