Re: IP Leaking on Reverse Proxy
See http://www.simplicidade.org/notes/archives/2011/02/nginx_proxy_host_header.html
View Articleconf with ip_hash in different position
Hi, I am new to nginx, and I wanna know the difference betweenupstream backend {ip_hash;server backend1.example.com;server backend2.example.com;server backend3.example.com down;}andupstream backend...
View Articledomain.com loads fine but adding 'www' takes me to nginx startup page
I can't figure it out for the life of me.mydomain.com loads the website perfectly fine but if i do www.mydomain.com it loads the "Welcome to Nginx" page. I either deleted a line I shouldn't have by...
View ArticleRe: domain.com loads fine but adding 'www' takes me to nginx startup page
server_name www.mydomain.com mydomain.com;
View ArticleRe: domain.com loads fine but adding 'www' takes me to nginx startup page
That did it, sorry to have wasted your time with such a simple matter. Thanks a lot. All the best
View ArticleNginx how to add pagespeed module
I install nginx on my Centos 6.5 x86_64I used the http://nginx.org/packages repoBut how do I add pagespeed?I really like to keep using yum to keep my nginx upto date.
View ArticleMultiple alias
Hello,I'm a newbie with nginx and i don' understand how i can configure it like my old apache conf :On apache, I have several aliases that actually points to the same application. Each alias is a...
View ArticleWildcard subdomains based on subdirectories
Hello All-I have nginx installed on a VPS I use to develop websites. We develop anywhere between 10 and 20 sites at a time, each of which we do on a subdomain. Currently, I am setting up server blocks...
View ArticleRe: Wildcard subdomains based on subdirectories
It's a bit of a hack, probably better done with map, but it does the job. Let it inspire you to make it better :)____server {______listen 80;______server_name .mydom.com;______access_log...
View ArticleMultiple reverse proxied smtp servers
I run a number of websites for community organisations and charities. In recent times I have been gradually moving each of them into their own vm (under kvm). This week-end I have used nginx to reverse...
View ArticleRedirect from new URL to old URL
Hi,Created a new website (http://www.new.com) which is a Drupal website for a client.The client would like to access the 'http://www.old.com/user' functionality.A redirect is in place for all calls...
View ArticleFile not found
Hello!My Nginx configuration returns - File not found (when visiting musibox.se)I've uploaded wordpress to /var/www/musibox.se/public_html;I can reach this file http://musibox.se/index.htmlPhpmyadmin...
View Articlehtml folder
NGINX looks for index.php in /usr/share/nginx/html/index.phpMy site is located in /var/www/musibox.se/index.phpDoes anyone now how to fix this?I'm running Centos 6 :)
View ArticleInvalid Option with Map Expression
I have the following directive in my nginx.conf file:map $http_user_agent $is_bot {default 0;~*(crawl|Google|Slurp|bingbot|tracker|click|parser|msnbot|msnbot|Gigabot|spider) 1;}This works just fine on...
View Articlechange root
Hmm.. I cannot make nginx change the root directory in default.conf it's not working
View ArticleRe: Invalid Option with Map Expression
A little more testing has identified "spid" as the issue, not "spider", but I have no idea why that would create a regular expression problem. Clues, please?
View ArticleRe: change root
Really doesn't anyone know why i can't change the website root directory in default.conf using Centos?!
View ArticleRe: Invalid Option with Map Expression
Sounds like a bug, report it here http://trac.nginx.org/nginx/report/1?sort=ticket&asc=0&page=1
View ArticleRe: change root
'root' can be set just about anywhere, just use it.root /bla/path/somewhere.....root /bla/path/somewhereelse.....
View Article