I added nginx configuration by taking the one generated by bench setup nginx and adding https to it.
bench setup nginx