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
The configuration of the Kestrel listener is unclear if it has to be made in code, or if it can be done in config. (in fact the whole endpoints configuration section needs a little more clarity in this regard).
the unix side of things needs the nginx proxy conf as well. It should be:
edit the nginx conf file, within the location block change the proxy_pass entry from the usual "http:://localhost:5000;" to "http://unix:/tmp/xyz.sock:/;" (the http: and colon at the end are very important) and ensure that the socket is writeable by nginx, eg "chmod go+w /tmp/xyz.sock". Where xyz.sock is the name of the socket used in ListenUnixSocket().
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
ID: f22dcddb-0c25-be1a-9a02-9e71dce86bdb
Version Independent ID: 3e0e12c2-e544-5655-e001-d2ec180b11a8
the whole endpoints configuration section needs a little more clarity in this regard
WRT Kestrel config, only what we show in the topic is available today via config providers (e.g., appsettings files). There's in-design and in-progress work on it ....
This needs a bit more info to get it working.
The configuration of the Kestrel listener is unclear if it has to be made in code, or if it can be done in config. (in fact the whole endpoints configuration section needs a little more clarity in this regard).
the unix side of things needs the nginx proxy conf as well. It should be:
edit the nginx conf file, within the location block change the proxy_pass entry from the usual "http:://localhost:5000;" to "http://unix:/tmp/xyz.sock:/;" (the http: and colon at the end are very important) and ensure that the socket is writeable by nginx, eg "chmod go+w /tmp/xyz.sock". Where xyz.sock is the name of the socket used in ListenUnixSocket().
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: