nginx-root-server-block
server { | |
listen 80; | |
server_name IP_ADDRESS; | |
return 301 http://YOUR.DOMAIN; | |
} |