Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 4 commits into from
Jan 23, 2024

Conversation

Theodlz
Copy link
Collaborator

@Theodlz Theodlz commented Jan 23, 2024

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.

@Theodlz Theodlz requested review from mcoughlin and stefanv January 23, 2024 21:25
config.yaml.defaults Outdated Show resolved Hide resolved
services/nginx/nginx.conf.template Outdated Show resolved Hide resolved
@Theodlz Theodlz requested a review from stefanv January 23, 2024 21:39
Theodlz and others added 2 commits January 23, 2024 13:39
Co-authored-by: Stefan van der Walt <sjvdwalt@gmail.com>
@stefanv stefanv merged commit 568cf90 into cesium-ml:main Jan 23, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants