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 nginx with Caddy #1315

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

markbotterill
Copy link

This PR aims to replace nginx with Caddy. Caddy requires fewer files to operate, is easier to get started with and performs similarly to nginx for most use cases.

The primary query I had about this PR was to do with global variables: In the Caddyfile, Caddy expects to see a domain name (without https:// proceeding it) but the web_server requires the full URL for things like Oauth re-directs. My current solution was the addition of the $DOMAIN variable (which is then used in the $WEB_DOMAIN variable) and this can be found in the env.prod.template but may not be best practice. Very open to feedback :)

Cheers!

Copy link

vercel bot commented Apr 10, 2024

@markbotterill is attempting to deploy a commit to the Danswer Team on Vercel.

A member of the Team first needs to authorize it.

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.

None yet

1 participant