How to deploy on nginx

The only think you really need to do is to map “.gz” extensions to the “gzip” content-transfer-encoding.
A simple Google will tell you how to do this: gzip - How do I serve pre-gzipped files with nginx so that they'll be shown as text in the browser? - Server Fault