Re: Basic auth not working with rewrite
Try 'break'. http://stackoverflow.com/questions/28623938/what-is-the-difference-between-break-and-last-in-nginx-rewrite
View ArticleRe: Basic auth not working with rewrite
itpp2012 Wrote: ------------------------------------------------------- > Try 'break'. > > http://stackoverflow.com/questions/28623938/what-is-the-difference-bet >...
View ArticleRe: Basic auth not working with rewrite
Sounds like a PHP issue, it should be passed to a php handler but is seen as downloadable.
View ArticleRe: Redirect everything to HTTPS except one URL
map $request_uri $requri { default 1; /wc-api/ 0; } server { if ($requri) { return 301 https://$host$request_uri; } location /wc-api/ { ... }
View ArticleWant NGINX to reference WHM's DNS versus public NS records.
Hello, When testing a website on my server, where the domain already exists publicly on another server, I just set my local workstation's hosts file to the IP of my server to be able to access it....
View Articletls record size with tcp proxy
I am using nginx for TCP Proxy and TLS termination. I need to set TLS record size to a low value. Is such a configuration option available for stream directive in nginx.conf?
View ArticleRe: Basic auth not working with rewrite
PHP is working fine when I use 'last'. Php config section looks as follows: location ~ \.php$ { try_files $uri =404; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass unix:/var/run/php5-fpm.sock;...
View ArticleRe: Redirects after change permalinks on WordPress
Same problem, I need to do a redirect 301 to new permalink structure. On Apache this rule works: RedirectMatch 301 ^/([0-9]{4})/([0-9]{2})/(.*)$ http://www.site.com/$3 What's the rule on Nginx?
View ArticleRe: Redirects after change permalinks on WordPress
I found this: http://www.markomedia.com.au/wordpress-nginx-permalinks-rewrite/
View ArticleProblem with cache key
Hello, i have a problem. If i send a request to url A with Chrom and another request with curl or firefox i have a cache miss. If isend a request to the same url with curl on two different machines the...
View ArticleRe: Basic auth not working with rewrite
Look at the logfiles to see the path and php filename which is passed on, might be the path has changed without php.ini having an entry for that path.
View ArticleRe: wrong format when displaying nodejs page
I found my mistake: this brought the solution location ^~ /blog {
View ArticleGET requests work but not other requests
Hello, I am using nginx as proxy for my ghost blog. After solving a lot of issues with the ghost help forum I came to a point where these guys told me it is not a ghost related issue, it seems to be a...
View ArticleRewrite URL with folder name
Hi, My Nginx Reverse proxy IP is 192.168.1.10 and my httpd web server IP is 192.168.1.15 which is behind the Nginx Reverse Proxy. All I need is, when I type in the browser http://192.168.1.10/test it...
View ArticleRe: Basic auth not working with rewrite
itpp2012 Wrote: ------------------------------------------------------- > Look at the logfiles to see the path and php filename which is passed > on, might be the path has changed without php.ini...
View ArticleReverse proxy with multiple hosts and subdomains
Hi, I am sorry if there is a topic covering this already but I have been unable to find anything after hours of searching. Or maybe I was unable to recognise that which I need. I am setting up a VM...
View ArticleRe: Reverse proxy with multiple hosts and subdomains
location /mail { proxy_pass https://192.168.0.2; }
View ArticleRe: Want NGINX to reference WHM's DNS versus public NS records.
I was able to edit the "resolver" entry within nginx.conf and point it to my own DNS servers. This has solved my issue.
View Article