How to define nginx code for per Domain?
my /etc/nginx/nginx.conf code is : server { ..... location / { root /var/www/public_folder; index index.php index.html index.htm; } . . . }...
View ArticleNGINX as Reverse Proxy works for HTTPS but not with HTTP
Guys, I am very new to nginx and trying to use it as a reverse proxy for my apache/php application that is behind internal load balancer with IP : 10.0.1.4 I am trying to redirect traffic that comes to...
View ArticlePossible to keepalive connections per hostname consideration?
Hey folks, Im running NGINX -> LB(F5) -> HA Proxy nodes fronting a private cloud platform(OpenShift), We have found what happens with nginx keepalive to the LB then to the HA Proxy nodes that...
View Articlehow can restrict access to a site
hi all, I install nginx to have authentication page in order to accessing a site (KIBANA console). for this purpose, i write following in /etc/nginx/conf.d/default.conf file server { listen *:80;...
View Articleredirect a suffix without move the old links
Hello, i need to do a redirect like this: domain.com/example > domain.com/example2 but the old links, example: domain.com/example/this-is-a-redirect-example do not be moved to the example2, is this...
View ArticleSet an Nginx Bitrate Limit
I run video site, in my Nginx conf i put this code to limit the bandwidth usage: mp4; limit_rate 150k; limit_rate_after 4m; I would like to setup a dynamic bitrate. For example i could set the dynamic...
View ArticleHow to make to support 0-rtt in nginx web server
Hi, I am testing TLS 1.3 0-rtt in my nginx web server. My nginx is compiled with Boringssl. My browser is firefox nightly. I first access my web server and after about 10 minutes, I again access my...
View ArticleNGINX - OpenResty - How to reverse proxy a call to 2 different servers based...
I'm trying to configure NGINX/OpenResty to proxy SOAP calls to 2 different servers based on a string present on the SOAP request. What I'm able to do: I am able to proxy requests to 2 different servers...
View ArticleWeighted load balancing Nginx
Its my first time working with Nginx, and i started doing some balancing. I have the next shema: Nodejs app1 running (IP:5050). Nodejs app2 running (IP:6060). And i have this load balancing config:...
View ArticleAdvanced HTTP Basic Auth query with determine IP address
Hello forum user, I have a page that can only be reached via IP address. Now I want to make this page open from the outside. But then an Auth _ Basic query is to come up. I entered the following line...
View ArticleHow to make nginx to be able to send early data with post request.
I cannot send early data in post request in my local nginx web server. I am using TLS 1.3. I know that it is not secure to do that. But I only want to test it. Is it related with nginx version. If so,...
View ArticleCheck Header on outbound
Hello. I'm attempting to do a header verification within NGINX and I can't seem to find a good place to start. I'm running NGINX 1.14.0 on Ubuntu 18.04 with default settings. My flow begins from inside...
View ArticleNewbie question
I am new to nginx, so sorry for stupid question ... I configured some apps behind it, like for example added a block to /etc/nginx/sites-enabled/default: ## Emby ## location /emby { rewrite /emby/(.*)...
View ArticleNginx rewrite not work
nginx rewite does not work. Now I use it for the first time, so I haven't got a lot of it yet. I have such a link: myhost.ddns.net/newproj/index.php?oldal=menu1 I want to convert this. I tried it in...
View ArticleReverse Proxy: Redirected HTTP Sites Throwing Mixed Content Error
Hey Guys - I have used Nginx for Windows for a while now in my home lab which I use for various purposes including hosting an internal website (uses Organizr v2) and reverse proxy. It listens on 80...
View ArticleRe: Reverse Proxy: Redirected HTTP Sites Throwing Mixed Content Error
IP address changed in your proxy_pass ?
View ArticleNginx doesn't detect the OpenVPN client private IP
Hello, I guess I should try to post this issue on the Nginx forum first. Simply put, in our case, one VPN client (an offsite laptop) would like to visit a web app (e.g., https://sub.example.com) that...
View ArticleRe: Reverse Proxy: Redirected HTTP Sites Throwing Mixed Content Error
Thanks for the reply, but no - all of the locations are correct. This only occurs on locations which direct to an http address. I have a couple that direct to an HTTP one (same SSL cert too) which work...
View ArticleRe: Reverse Proxy: Redirected HTTP Sites Throwing Mixed Content Error
Allow the not secure connection and see where it wants to connect to, this should be an address known to you. Also check the logfiles to see what nginx thinks is happening.
View Article