source: https://sdickinson.com/nginx-config-for-single-page-applications/