Awesome guide! I’ll have to try this myself soon too.
As added security, you can add the following to your home assistant config to only serve to requests from the same machine (=nginx requests):
http:
server_host: 127.0.0.1
# Optional, change port
server_port: 8800