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

Multiple Client Multiple Server cross communication using Nginx. #2368

Closed
wants to merge 1 commit into from

Conversation

sjud
Copy link
Contributor

@sjud sjud commented Feb 25, 2024

This example shows how multiple clients can communicate with multiple servers while being shared over a single domain i.e localhost:80 using nginx as a reverse proxy.

@gbj
Copy link
Collaborator

gbj commented Feb 27, 2024

(See comment on #2305 re: what's the best place to put interesting example projects)

@sebadob
Copy link
Contributor

sebadob commented Apr 12, 2024

@sjud just as an idea, you could do this without nginx as well, when you use cloudflares Pingora which they officially released last week.
This could be used directly inside the Leptos SSR code and proxy requests to your other apps. With this you have a less complex setup and you could stay Rust only as well.

@sjud
Copy link
Contributor Author

sjud commented Apr 15, 2024

@sjud just as an idea, you could do this without nginx as well, when you use cloudflares Pingora which they officially released last week. This could be used directly inside the Leptos SSR code and proxy requests to your other apps. With this you have a less complex setup and you could stay Rust only as well.

I like that idea, I checked out Pingora a few weeks ago and it was exciting but I haven't built anything with it yet or looked at it in depth. I didn't realize it was so accessible. That would be a cool integration and I'll check that out!

@gbj
Copy link
Collaborator

gbj commented Apr 17, 2024

Superseded by #2500.

@gbj gbj closed this Apr 17, 2024
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.

3 participants