How to disable Basic Auth for Owncloud location?
Hi all, I have several locations in my Nginx config file. I have Basic Auth enable for these locations. I want to disable Basic Auth only for Owncloud location in my config because I don't want...
View ArticleStuck with SSO/auth_request
Hi All, Complete nginx noob. I'm trying to implement SSO similar to this: https://developers.shopware.com/blog/2015/03/02/sso-with-nginx-authrequest-module/ however I am using node/passport/azure-ad...
View Articlereverse proxy with ssl redirecting to wrong server
Here's my problem. I have 3 physical servers behind the same IP address, using a reverse nginx proxy (running on a fast pfsense box) to direct the http/https traffic (2 of the servers host > 1...
View ArticleRe: reverse proxy with ssl redirecting to wrong server
Here's a simplified config file: server { listen 9999; listen 444 ssl; server_name www.site3.com; ssl_certificate /etc/nginx/ssl/site3.com/server-nginx.crt; ssl_certificate_key...
View ArticleRe: reverse proxy with ssl redirecting to wrong server
>> Even typing in https://www.site3.com redirects me on http://site4.com The application running at http://site4.com might be rewriting this because it is configured to do so, you may need to...
View ArticleImage redirection to url - Not hotlinking
How do differentiate if the image is access via <img src='img.jpg'> and http://somesite.com/img.jpg (directly in the url?) If the img is directly accessed in the url of web browser, i want that...
View ArticleNginx and Thin with multi Apache instance
I have two Apache Instance: A1 listen on 80 port and A2 listen on 8080 and 8009 port, A1 should listen 80 on all IP addresses. I added VirtualHost to redirect sub URI of A1's 80 port to A2's 8080 port....
View ArticleRe: Nginx and Thin with multi Apache instance
Solved, just add upstream before server section and redirect through thin sock file.
View ArticleCan't get a rewrite rule right
Opencart has a strange URL structure: http://domain.com/index.php?route=common/home http://domain.com/index.php?route=account/register http://domain.com/index.php?route=checkout/cart...
View Articleif file exist redirect to that directory
Use something like try_files how can I check multiple directories to see if a file exist? If file exist redirect to that location if not display 404. old folder ^/content/uploads(/.*)?$ multiple...
View ArticleHow to disable request pipelining on upstream
Hi, Does anyone know a way to disable HTTP request pipelining on a same upstream backend connection? Let's say we have the below upstream backend that is configured with keepalive and no connection...
View ArticleSetup Nginx Cluster in linux
I am new in Nginx , I need to setup Nginx Cluster in linux. Share me any good documentation or links
View ArticleRedirect non existable subdomains
Hello all, I've deployed Django with nginx and gunicorn. When someone visits a subdomain that do not exist they get internal server error. How can I go around this and redirect the non existable sub to...
View ArticleRe: Does Nginx handle Content-Encoding: gzip ?
Anyone knows if this is supported in current latest version?
View ArticleRe: Does Nginx handle Content-Encoding: gzip ?
Found it at http://www.pataliebre.net/howto-make-nginx-decompress-a-gzipped-request.html#.V8SmwTXgn91
View ArticleRe: Does Nginx handle Content-Encoding: gzip ?
This is a Lua feature and will always work because its not directly related to nginx-core. Search for openresty.
View ArticleRedirect when site is unavailable.
I'm wondering if its possbile to configure Nginx to detect when a site is down, and redirect or serve an alternate page when said site is down. For example, I have a Sharepoint site that we use as our...
View ArticleMoved MediaWiki and redirect search result links to new MediaWiki correctly
Hello everyone, I moved my MediaWiki to a new Domain (and replaced the old one with Wordpress). Now I would like to redirect all old search result links in Google search like...
View ArticleRe: Moved MediaWiki and redirect search result links to new MediaWiki correctly
I Wrote: ------------------------------------------------------- > I'm trying things like > > server { > [..] > server_name sampleoldsite; server_name is "sampleoldsite.com" of course....
View Article