fixed stuff for nginx deployment