Re: Preserving Source IP using SSL Preread + OpenVPN
The proxy_protocol 'passing' needs to be supported by the vpn/sshd service, not many can handle this (yet).
View ArticleADFS 2016 / ADFS 4.0 behind Nginx
As I can not find this information in a single place, I registered just to add it to save the next person some grief. It is possible to run a Server 2016 ADFS infrastructure behind an Nginx load...
View ArticleTrouble to reach IP-Cam from Internet
Hello, i have a IP-Cam in my private network and i can reach the IP-Cam when i am in the local network. But from the Internet the IP-Cam is not working. My config is: server { rewrite_log on;...
View ArticleNGINX frontending Kibana not working with “_plugin/kibana/” URL
I'm running the AWS Managed ElasticSearch to collect some logs and have created some Kibana dashboards to visualise the data, all that works fine. Unfortunately the Kibana plugin included on with the...
View ArticleRedirect 301 only exact url and not all other sub urls
Dear All, I'have some urls like these: https://www.mydomain.com/catalog/category1 https://www.mydomain.com/catalog/category1/product1 https://www.mydomain.com/catalog/category1/product2...
View Articlehow to correct choosing wrong certificate
Hello, i am new to nginx. the server script called "easyengine" for easy wordpress installation is using LEMP stack. So please bear with my novice experience. What happened is, after latest apt-get...
View ArticleHow to forward SNMP Traps - UDP forwarding
Hi, Just starting out with nginx - and trying to forward SNMP traps (UDP port 162) to two servers, one primary and one backup. Current config is this: # Load balance UDP-based trap traffic across two...
View ArticleRe: Redirect 301 only exact url and not all other sub urls
Each nginx request is handled by one and only one location. Since these requests match the location you've put, that's where they're handled. You'll need to set up two locations, once for that specific...
View ArticleRe: how to correct choosing wrong certificate
Hi Jim, thanks for reaching out. For the site that looking for wrong certificate and calling for wrong site (first alphabetical site) config files. Main nginx.conf as follows user www-data;...
View ArticleRe: how to correct choosing wrong certificate
Something seems to be missing. Where are you defining 'ssl_certificate' and 'ssl_certificate_key'?
View ArticleRe: Redirect 301 only exact url and not all other sub urls [SOLVED]
Hi Jim, Thank you very much! In LOCATION statement I forgot the equal operator "=" location = /catalog/category1 { return 301 /catalog/newcategory1; } In this way redirect only the exact match with...
View ArticleRe: how to correct choosing wrong certificate
ah indeed. i was just trying to disable https and because of that i had removed the row where includes the folder who has ssl.conf #include /var/www/pratikk.net/conf/nginx/*.conf; --- in that folder...
View ArticleRe: how to correct choosing wrong certificate
also this easyengine automation script creates lots of conf file and since i don't know exaclty which would be related, i just shared mightbe related conf contents.now i include the other files names...
View ArticleRe: how to correct choosing wrong certificate
OK, assuming you are using a valid certificate from Letsencrypt, check '/etc/letsencrypt/live/' directory for other possible paths. If you have a valid certificate it should be in there. You might need...
View ArticleSingle Sign-On
Hey everyone! I'm using nginx 2 months now and i got everything to work like i wanted to. The last thing thats missing is Single Sign-On (SSO). I googled how to set it up, but there are so many sites...
View ArticleRe: how to correct choosing wrong certificate
yes i have valid certificate. so should i enable the row where includes the folder who has ssl.conf ( this one >> #include /var/www/pratikk.net/conf/nginx/*.conf ) and regenerate the certificate...
View ArticleRe: how to correct choosing wrong certificate
hello, i want to give an update.i regenerated the certificates and i duplicated the nginx site conf files from a working site in the same server. then changed site references . and now it is working. i...
View ArticleConcat vars and text in map directive
Hi, I'm trying to use the map directive to rewrite the URL arg of my request to force https instead of http. Example : Request is : "GET https://www.mywebsite.com/?url=http://www.mysecondwebsite.com"...
View ArticleRe: conflicting server name
Even after restart getting same error.Kindly provide us the exact steps
View Article