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

Replace Caddy with Nginx and generate self-signed SSL certificate #300

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

eecavanna
Copy link
Collaborator

In this branch, I updated our production deployment configuration to use Nginx instead of Caddy. In addition to updating the "docker compose" file and a "readme" file, it involved defining an "Nginx configuration file" and writing a script that generates a self-signed SSL certificate. The self-signed SSL certificate will be used to encrypt traffic between Cloudflare and the VM. Cloudflare will present a different, valid SSL certificate to end users.

There is room for improvement in this branch (e.g. re-organizing the files so they are not all in a top-level directory named docs). Given my availability this week, I want to get this merged in already. I'll file a separate ticket (assigned to myself) about re-organizing the files.

@eecavanna eecavanna self-assigned this Sep 17, 2024
@eecavanna eecavanna linked an issue Sep 17, 2024 that may be closed by this pull request
@eecavanna
Copy link
Collaborator Author

@mflynn-lanl and I tested these changes together (in a pairing session) last week... except for the introduction of the APP_INTERNAL_HOSTNAME environment variable (whose introduction stemmed from our experience in that pairing session). Since then, I cleaned up a few comments and introduced that APP_INTERNAL_HOSTNAME environment variable.

@eecavanna eecavanna merged commit af678df into main Sep 17, 2024
@eecavanna
Copy link
Collaborator Author

Thank you, @mflynn-lanl !

@eecavanna eecavanna deleted the 289-switch-reverse-proxy-from-caddy-to-nginx branch September 17, 2024 01:59
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.

Switch reverse proxy from Caddy to Nginx
2 participants