502 bad gateway swagger. 1 was created to use https with a self-signed certificate.