Nginx Redirect IP address to domain name

You may also like...

1
Leave a Reply

avatar
1 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
1 Comment authors
craig34 Recent comment authors
  Subscribe  
newest oldest
Notify of
craig34
Guest
craig34

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?