location /app { root /volumes/static/app/; try_files /index.html =404; } location /assets { root /volumes/static/app/; } location / { return 301 https://$http_host/app; }