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

No SSL with proxy #1014

Open
rsc-csr opened this issue Mar 27, 2025 · 1 comment
Open

No SSL with proxy #1014

rsc-csr opened this issue Mar 27, 2025 · 1 comment
Labels
question Issue can be closed by providing information

Comments

@rsc-csr
Copy link

rsc-csr commented Mar 27, 2025

On your website it says the following:

https://crowcpp.org/master/guides/ssl/

If you plan on using a proxy like Nginx or Apache2, DO NOT use SSL in crow, instead define it in your proxy and keep the connection between the proxy and Crow non-SSL.

What is the reasoning behind this? What if the proxy is located on a different server than the backend?

@advaithreddy
Copy link

Hi @rsc-csr yes that's why terminate SSL at the proxy (like Nginx) because it’s faster, more secure, and easier to manage. Even if the proxy and backend are on separate servers, skip SSL for Crow just keep them in a trusted network. Only encrypt between proxy and backend if traffic crosses unsafe networks (use a VPN or tunnel instead).

@gittiver gittiver added the question Issue can be closed by providing information label Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Issue can be closed by providing information
Projects
None yet
Development

No branches or pull requests

3 participants