In the context of localhost
for dev
nothing from above will allow me to redirect all http
requests to https
.
What should I do? Is this just a bad idea? I feel crazy having this hard of a time trying figuring it out.
Edit: After some more digging and help from @NobbZ I found that I needed a combination of host, exclude and rewrite_on to make this work locally. Also leaving host as nil would cause 4000 to be used when redirecting to https.