overthesun / simoc

A scalable model of an interactive, off-world community
https://ngs.simoc.space/
GNU General Public License v3.0
2 stars 1 forks source link

Switch the server name from beta to ngs to fix SSL cert issues #371

Closed ezio-melotti closed 1 year ago

ezio-melotti commented 1 year ago

Currently both ngs.simoc.space and beta.simoc.space point to the same server. The deployment is done assuming the server is accessible through beta.simoc.space only, and it creates a letsencrypt cert for it. While accessing it through ngs.simoc.space there is no SSL cert and the user sees a warning. This PR changes the SERVER_NAME var from beta.simoc.space to ngs.simoc.space, so that the generated cert will work for ngs.simoc.space. It will start failing for beta.simoc.space, but we can handle the warning better than our users can.

This is just a temporary workaround while we get around installing separate certs for both.

ezio-melotti commented 1 year ago

I tried deploying this but nothing changed, so apparently the SERVER_NAME variable was not related to the domain used by the cert.