You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the Publish to a Linux Production Environment page configures Nginx to proxy localhost:5000. In a production scenario, it's more likely that you'll use a UNIX socket instead. This has lower overheads compared to TCP connections, and is generally how services on Linux listen for local connections.
A UNIX socket is an inter-process communication mechanism that allows bidirectional data exchange between processes running on the same machine. ServerFault
So this would only work if you had NGINX and an ASP.NET Core app running on the same machine right? In a Docker based scenario, that cannot be guaranteed.
Thanks for contacting us.
We don’t have the resources to invest in this area, so we are closing the issue. Should your request generate enough 👍 responses, we’ll reconsider.
Currently the Publish to a Linux Production Environment page configures Nginx to proxy
localhost:5000
. In a production scenario, it's more likely that you'll use a UNIX socket instead. This has lower overheads compared to TCP connections, and is generally how services on Linux listen for local connections.Here's an example of how I configure my site/blog:
https://github.com/Daniel15/Website/blob/8d1485d5e6e5136bd1753b7031f067aeae596fa3/Daniel15.Web/nginx.conf#L73
https://github.com/Daniel15/Website/blob/8d1485d5e6e5136bd1753b7031f067aeae596fa3/Daniel15.Web/supervisord.conf#L2
The text was updated successfully, but these errors were encountered: