Reconfigure nginx

  • sudo vim /etc/nginx/nginx.conf
  • server_name ec2.whatever; to server_name yourdomain.you www.yourdomain.you;
  • sudo systemctl restart nginx
  • Visit http://yourdomain.you/rstudio and http://yourdomain.you/palmer/stats
    • Chrome will yell at you since https won’t work yet. See the next chapter!