I install galaxy on a local server with most of production tweaks on the websites https://wiki.galaxyproject.org/Admin/Config/Performance/ProductionServer https://wiki.galaxyproject.org/Admin/Config/nginxProxy (except for the upload stuff with nginx, which needs nginx recompiling)
Galaxy is up and running. However I often get a 502 bad gateway response from nginx. A simple refresh fixes it, but this is not ideal. What could go wrong? What logs do I need to check?