Modify nginx file in Controller; minor bug fixes