Handling upstream response 401 (2 replies)
I have a problem that I thought I knew how to solve but must be just having a mind blank moment. If the upstream server returns a 401 response I want to make sure Nginx serves the response. Right now...
View Articlesupport http and https on the same port (1 reply)
Stream servers can now do ssl and non-ssl on the same port: https://www.nginx.com/blog/running-non-ssl-protocols-over-ssl-port-nginx-1-15-2/ Can this be added to http virtual hosts as well? If ssl is...
View ArticleFeature request (no replies)
Hi Not sure where to put this. But I would like to have the ability to add client cert required any where on the URI tree so www.abc.com.au/ you can access with out a cert but www.abc.com.au/private/...
View Articlenginx -> httpd -> mod_jk -> tomcat (no replies)
Hi everybody, I recently begun using proxy with nginx (same tests were made with haproxy). My needs are to proxy for failover and balancing tomcat: I need to serve lots of users with production app....
View ArticleNginx url decoding URI problem with proxy_pass (no replies)
Greetings Nginx mailing list! I'm using nginx as an image proxy and am using proxy_pass to fetch the image. Unfortunately if that image URL has a space in it the proxy_pass fails. It works fine with...
View Articlesecure/hide "api.anothersite.com" from public and only allow "mysite.com" to...
I would like to hide a backend API REST server from public view and have it accessed from frontend web server locally/internally. Is this possible? Below are my setup and configs: angular/nodejs...
View Articleproxy_pass to dyndns address (no replies)
Hello, inside a location I have a proxy_pass to a hostname with a dynamic IP for example location ^~ /example/ { proxy_pass https://host1.dyndns.example.com; } getent hosts resolve the right IP. But in...
View ArticleLarge CRL file crashing nginx on reload (1 reply)
Hi, We are trying to use nginx to support the DoD PKI infrastructure, which includes many DoD and contractor CRLs. The combined CRL file is over 350MB in size, which seems to crash nginx during a...
View ArticleModify url at nginx (1 reply)
Hello All, We have a use case. Our web application is deployed in tomcat7. At front, nginx is configured as reverse proxy and all requests are passed through nginx and are forwarded to tomcat7. Nginx...
View ArticleHow to create a module to process a data stream during transfer (no replies)
Hello all, I am looking for a way to do two things in particular. The first is the be able to have a way to direct HTTP POST's to a program's stdin with arguments and to then take its stdout and put...
View Articlenginx reuseport duplicate listen options ? (1 reply)
I know that nginx reuseport is only usable per ip:port pair so I am confused about this error. I have 3 nginx vhosts vhost #1 server { listen 443 ssl http2 default_server backlog=2048 reuseport; }...
View Articleposix_memalign error (no replies)
I am repeatedly seeing errors like ###################### 2018/07/31 03:46:33 [emerg] 2854560#2854560: posix_memalign(16, 16384) failed (12: Cannot allocate memory) 2018/07/31 03:54:09 [emerg]...
View ArticleGetting NGINX to view an alias (no replies)
Hi, I'm new at NGINX and I'm having difficulty in setting up to read an alias. I'm setting up adminer on NGINX to use an alias to see a file outside of it's main directory. The file is called...
View Article2018 NGINX User Survey: Help Us Shape the Future (no replies)
Hello- My name is Kelsey and I recently joined the NGINX team. Reaching out because it’s that time of year for the annual NGINX User Survey. We're always eager to hear about your experiences to help us...
View ArticleNginx mail proxy LDAP iRedMail (no replies)
Hi there, I try configure a little mail infrastructure but i have problem with this. So i have exacly three servers. One is MX (frontend) there is nginx with configuration: user nginx; worker_processes...
View Articlesub_filter not working on JSON file (3 replies)
I’m trying to figure out why my sub_filter is not working on a JSON file. I do have application/json and text/json listed in the sub_filter_types but the simple string replace is not happening. It...
View Articlenginx, php7.0-fpm and laravel, not able to set it up when the url has a...
Hello I am trying to set up a laravel installation in docker with php-fpm and nginx server on a separate container. The issue is the laravel is installed in a path like /home/apps/foo and the url I...
View Articlekeepalive not work with grpc (no replies)
Hi, everyone! I have a problem that keepalive does not work with grpc. My conf looks like this: worker_processes 1; events { worker_connections 102400; } http { include mime.types; default_type...
View Articlelimit_rate based on User-Agent; how to exempt /robots.txt ? (no replies)
Hi all, I’ve recently deployed a rate-limiting configuration aimed at protecting myself from spiders. nginx version: nginx/1.15.1 (RPM from nginx.org) I did this based on the excellent Nginx blog post...
View ArticleHTTPS over port 443 (10 replies)
I'm trying to enable site wide ssl over port 443 on a site that runs on http port 80 In nginx.conf i have `listen 443 ssl;` for the server but requests for the server get routed to the first available...
View Article