Re: Why Nginx redirect www to non-www urls?
itpp2012 Wrote:-------------------------------------------------------> Can you explain what you are trying to do?I'm trying to allow both navigation of a site with ww and without www.In attachment...
View ArticleRe: Multiple servers with the same IP
Sounds like nginx is not restarting properly or you have edited the conf file where nginx is not looking.
View ArticleRe: Why Nginx redirect www to non-www urls?
server_name www.mysite.com mysite.com;should work, I use it too and just tested it again and this works fine, are you sure nginx is restarting ok?
View ArticleRe: Multiple servers with the same IP
I changed only the configuration file and it is placed at your disposal. I just stopers NGINX the service and start: no change ...______________________________J'ai modifié uniquement le fichier de...
View ArticleRe: Why Nginx redirect www to non-www urls?
itpp2012 Wrote:-------------------------------------------------------> server_name www.mysite.com mysite.com;>> should work, I use it too and just tested it again and this works> fine, are...
View ArticleRe: Multiple servers with the same IP
Make a mistake in the conf file, restart nginx and check the logfiles, do you see an error about the (test)mistake?
View ArticleRe: Multiple servers with the same IP
Yes, if I delete something, I add one; or I put things unknown I get errors that appear.____________________Oui, si je supprime quelque chose, je rajoute un ; ou je mets des choses inconnues j'ai des...
View ArticleRe: Multiple servers with the same IP
The conf looks good, maybe DNS wrong? enable debug logging to see where it's going to when accessing each domain.
View ArticleRe: Why Nginx redirect www to non-www urls?
I commented out it but nothing works.Nginx restarts with no problemHave you found out something strange, unusual or wrong in my config files?
View ArticleRe: Nginx config file using ipv6
Thank you very much for the answers, i really appreciate your help!!!
View ArticleRe: Why Nginx redirect www to non-www urls?
Can't see anything wrong in your conf, enable debug mode and see what the logs say.
View ArticleRe: Multiple servers with the same IP
DNS configuration refers both on the field for two sites /____________________________La configuration DNS renvoie bien sur le domaine pour les deux sites :/
View ArticleRe: Multiple servers with the same IP
Look at the debug logs, they are detailed enough to show where each request is going to and by with server block it is handled.
View ArticleRe: Multiple servers with the same IP
How can I enable it?________________Comment est-ce que je peux l'activer ?EDIT: http://pvp-blastfight.fr/log.txt
View ArticleRe: Multiple servers with the same IP
Your second server is named;server_name www.oxycraft.net;Have you tried www.oxycraft.net instead of oxycraft.net ?
View ArticleRe: Why Nginx redirect www to non-www urls?
I enabled the debug mode and in the log file I found out this line:"^(GET|HEAD)$" matches "GET", client: xxx.xxx.xxx.xxx, server: www.mattiamerlini.it, request: "GET / HTTP/1.1", host:...
View ArticleRe: Multiple servers with the same IP
Thank you! In fact the problem was there!_________________Merci ! En effet le problème venait de là !
View ArticleRe: Why Nginx redirect www to non-www urls?
See near the end of http://forum.nginx.org/read.php?11,256802
View ArticleRe: Why Nginx redirect www to non-www urls?
I've read this topic and tried, but nothing has changed. I have made some test mistakes and nginx noticed them, so my configs are loaded by the web server.I can't figured out what is the problem
View Article