nginx thing inspired by synapse