Quantcast
Channel: Nginx Forum - How to...
Browsing all 4759 articles
Browse latest View live
↧

Re: IP Leaking on Reverse Proxy

See http://www.simplicidade.org/notes/archives/2011/02/nginx_proxy_host_header.html

View Article


conf 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 Article


domain.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 Article

Re: domain.com loads fine but adding 'www' takes me to nginx startup page

server_name www.mydomain.com mydomain.com;

View Article

Re: 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 Article


Nginx 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 Article

Multiple 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 Article

Wildcard 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 Article


Re: Problem ModSecurity & OpenSSL

Someone can help?

View Article


Re: 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 Article

Multiple 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 Article

Redirect 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 Article

File 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 Article


html 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 Article

Invalid 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 Article


change root

Hmm.. I cannot make nginx change the root directory in default.conf it's not working

View Article

Re: 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 Article


Re: change root

Really doesn't anyone know why i can't change the website root directory in default.conf using Centos?!

View Article

Re: 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 Article

Re: change root

'root' can be set just about anywhere, just use it.root /bla/path/somewhere.....root /bla/path/somewhereelse.....

View Article
Browsing all 4759 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>