So I have a project that runs on docker containers. I want to host a cloud storage thing on my website. There are 2 docker containers, one running Nginx, and one running my Rust backend. Nginx just serves the static files but also acts as a proxy when the path is /api and sends all requests to my Rust backend. I use the Nginx proxt because for me it is easier to handle HTTPS for just one service than to do it for all.

To authenticate for the cloud storage I just want the client to send the auth token in the first request over their connection and then my backend would successfully authenticate them and continue on reusing this TCP connection or just close the connection if authentication fails. This is so I dont have to auth on every request.

But since the connection is routed thr…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help