EZP-22568: nginx configuration

Adapted from @bdunogier investigations