cesium-ml / baselayer

Fully customizable (scientific, compute-intensive) web application template
http://cesium-ml.org/baselayer/
30 stars 18 forks source link

Nginx conf: list <server> SSL only if a certificate is used #377

Closed Theodlz closed 5 months ago

Theodlz commented 5 months ago

The current configuration is incorrect. In the app, the ssl key of the config is used to figure out if the server should be accessed with https (if True) or http (if False), and not whether or not nginx should use an SSL certificate. For that, we have the use_ssl_certificate key already present in the default config.