I completely lost... I tried everything (of my understanding) with no success. I didn't know you could include a condition with if and came across sites like : http://publications.jbfavre.org/web/nginx-vhosts-automatiques-avec-SSL-et-authentification.fr This is way beyond my skills... I didn't managhe to enclose the 301 in if statements I think i'm gonna givin up
2014-11-20 10:27 GMT+01:00 JACK LINKERS <jacklink...@gmail.com>: > Hi guys, > > Thanks for your fast reply and input. > I didn't think of wordpress at all. > > I'll try some tuning and keep you posted. > > Thanks again > Le 20 nov. 2014 09:52, "B.R." <reallfqq-ng...@yahoo.fr> a écrit : > >> On Thursday, November 20, 2014, JACK LINKERS <jacklink...@gmail.com> >>> wrote: >>> >>>> rewrite ^ https://$server_name$request_uri? permanent; >>>> >>> >> This looks highly suscpicious to me: unconditional rewrite of any >> request? >> >> Try to either: >> - match the regex against HTTP requests >> - enclose a 'return 301 [...]' in an 'if' directive checking for the HTTP >> scheme >> I am not 100% certain what would be the best alternative to go for. >> >> If the problem comes from there, I do not really get how the backend gets >> to serve any (error) page... So maybe Wordpress trouble as stated before. >> --- >> *B. R.* >> >> >> >> _______________________________________________ >> nginx mailing list >> nginx@nginx.org >> http://mailman.nginx.org/mailman/listinfo/nginx >> >
_______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx