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

Current HTTP setup puts a lot of load on AuthD #47

Open
noahgibbs opened this issue Mar 24, 2021 · 0 comments
Open

Current HTTP setup puts a lot of load on AuthD #47

noahgibbs opened this issue Mar 24, 2021 · 0 comments

Comments

@noahgibbs
Copy link
Collaborator

Right now, to keep the web config simple, I have DGD serving its own HTML web client, its own JS and CSS files, etc. This isn't particularly efficient -- especially because DGD will contact AuthD for every file. It could be fixed with a better NGinX configuration that checked (on a port other than 10080) for static files, served them if present, and fell back to DGD on port 10080 as a back end.

This would also solve the logout problem we currently have with cookies -- by keeping everything on a single port handled by NGinX for static files and DGD for dynamic files, we can keep the cookies unified. Right now that's not happening.

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