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

Check that key and cert files exist #17

Open
lukevalenta opened this issue Feb 17, 2021 · 0 comments
Open

Check that key and cert files exist #17

lukevalenta opened this issue Feb 17, 2021 · 0 comments

Comments

@lukevalenta
Copy link

As discussed in #16, it might be a good idea to check if the key and cert files passed in as environment variables exist before calling http.ListenAndServeTLS.

This may not be necessary if http.ListenAndServeTLS fails with an appropriate error when the files do not exist.

cc @chris-wood

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

No branches or pull requests

1 participant