Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Mysterious 301s

$
0
0
Ok, I have nginx running on a server. I don't mind sharing the URLs.

One site on the server is rentmy.world - both www.rentmyworld and rentmyworld work, as http and https.
Now I'm trying to bring back online a second site, badllama.net. I've been trying to get http working before I delve into https.

Hitting http://www.badllama.net redirects with a 301 to http://badllama.net - that's fine, that's what I set up in the config.
But *then* http://badllama.net is redirecting with a 301 to https://badllama.net - that's not a problem in itself, eventually it's what I want it to do. But I've not setup https yet so I can't figure out *where* that 301 is coming from.

Any advice? Anything I can share from the server to help figure out where this 301 is coming from?

Viewing all articles
Browse latest Browse all 4759

Trending Articles



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