So I'm reading the documentation on proxy_intercept_errors and error_page and for the life of me can't figure out why I'm getting a 502 bad gateway using the custom error page on intercepted proxy errors. set in the http directive for global use. error_page 500 502 503 504 /503maintenance.html; error_page 401 403 /403access-denied.html; error_page 404 /404filenotfound.html; set in aby cisaksen - Other discussion
I'm using the map command to try and filter out crawler traffic. It seems to fail, or at least not work the why I would like when x_forwarded_for has more than 1 IP. map $http_x_forwarded_for $notacrawler { default 1; ip1 0; ip 2 0; } my question is how map is functioning underneath. If x_forwarded_for has 2 or more ip's listed does map - map the whole liby cisaksen - Other discussion
We have a drupal multi site (7) root /srv/www/htdocs location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_index index.php; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $fastcgi_path_info; } Following the nginx drupal sample configuration we have the above code. We are seeing errors whereby cisaksen - How to...
Ok thanks - running nginx on SUSE linux.by cisaksen - How to...
I'm trying to use the "map" directive to test for a set on know ip's as crawlers, to prevent their requests form being logged. in the http section map $realip_remote_addr $crawlerip { default 0; 192.168.10.10 1; 192.168.10.6 1; 192.168.10.5 1; } (not the real ip's of course) in the server section location / { if ($crawlerip = 1) { access_log off;by cisaksen - How to...
Been reading this - but so far nothing has worked to target a specific log file. tried this but it's not working as I would have hoped. access_log /var/log/access-a.log combined if=($host="www.something.com");by cisaksen - Other discussion
I'm running a drupal multi-site and I want to write to a particular access log file based on the url that comes in. Catch: in the same server block. I have 1 server block that is handling multiple urls (the drupal multi-site) drupal handles what content is served. I what to test for the urls and have nginx write the access record to a log file associated to that particular url without havinby cisaksen - Other discussion
Running 1.9.14 as a load balancer. We have a drupal multi-site & a single static site listening on 80 with the same ip broken out using server_name for specific sites. I'm also listening on 443 on the same ip with one specific server_name listed. What I'm seeing is that the other sites in the drupal site are being accessed through the 443 site configuration. Isn't nginx suppose tby cisaksen - How to...
Running NGINX 1.9.5 and php-fpm 5.5.14 - I have an php based application that has a batch job that is run from the web interface - it could take 2 hours to run. I keep running into the a upstream timeout. It there a prefered method to handle a process like this or should I drop back to apache and php.mod ?by cisaksen - How to...
Little more information: I have disable http-cache withthe --without-http-cache in the compile. So the proxy_cache_convert_head is not available, I was also wrong about this, if available it is on by default, We also have a varnish 4.03. server behind the nginx LB.by cisaksen - Other discussion
We have discovered another problem - we are not sure what version it was introduced but we are attempting to find out. In a recent post I stated that we went from version 1.9.5 (i wish they would show it as 05) to 1.9.14 and ADFS started failing, now we've discovered that our Goggle search results are also not working correctly. Instead of the Title and snippet fields containing the httpby cisaksen - Other discussion
Should have stated that nginx in running on Linux (SLES 12). We had to pull it out to get email back in operation so putting back to test is out of the question at this time. We currently don't have a good way to test ADFS traffic but we are working on one.by cisaksen - Other discussion
Recently I migrate/upgrade our Nginx Load Balancer from version 1.9.5 to 1.9.14 and we were handling Microsoft ADFS traffic through it. After the upgrade to 1.9.14 the Active Sync & Outlook authentication started failing, but the web authentication (OWA) still worked. It was determined that Nginx was no longer passing the information correctly to the ADFS proxies. We have taken the ADFSby cisaksen - Other discussion
Thanks I'll take a look.by cisaksen - How to...
nginx 1.9.5 I know how to remove or change the "nginx" string in the server field of the response header. For http traffic modify the ../src/http/ngx_http_header_filter_module.c But https (http2) traffic seems to be else where, anyone happen to know where? I've looked around, thought I've found once or twice - turned out nope. Thanksby cisaksen - How to...
No I eventually built a IIS 7.5 Load Balancer - Microsoft has been updating it IIS platform to support configs that everyone else is already doing. This handled the SSL traffic with the authentication.by cisaksen - How to...
I'm trying to configure an Nginx 1.7.3 as a load balancer to 2 backend ADFS servers running IIS 7.5 with windows authentication. All over SSL upstream adfsproxy { ip_hash; server 1; server 2; keepalive 16; } server { listen myserver:443 ssl; server_name adfs.mydomain; ssl on; ssl_certificate cert.pem; ssl_certificate_key cert.key; ssl_session_cache offby cisaksen - How to...