add nginx classes for running behind a reverse proxy