added env variable to nginx