Nginx Redirect IP address to domain name

You may also like...

Subscribe
Notify of
guest
1 Comment
Oldest
Newest
Inline Feedbacks
View all comments
craig34
craig34
April 20, 2017 19:01

How would this change to redirect the IP address being accessed with SSL? I’ve changed the port from 80 to 443, but I get an error about the SSL certificate. If I accept the error and proceed anyway, it redirects properly. Is there a way to redirect before that error comes up?

1
0
Would love your thoughts, please comment.x
()
x