Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds https://github.com/gabihodoroaga/nginx-ntlm-module to the openresty build to address the following long-standing issues by implementing basic support for NTLM based single-sign-on proxying using nginx proxy manager:
NginxProxyManager/nginx-proxy-manager#1117
NginxProxyManager/nginx-proxy-manager#1138
NginxProxyManager/nginx-proxy-manager#2037
NginxProxyManager/nginx-proxy-manager#3181
NginxProxyManager/nginx-proxy-manager#3797
In practice, the following steps are then required to get NTLM authentication successful running with NPM:
/data/nginx/custom/root_top.conf
file to load the module:/data/nginx/custom/http.conf
file to define the NTLM aware upstream target:Advanced
tab:Then, the NTLM authentication should proceed and work nicely.
P.S.:
As a side note for users which cannot wait until a new nginx proxy manager version with this integrated NTLM module is out, one can also simply compile it using the
docker-nginx-full
repository and thelocal-build.sh
script, then extract thengx_http_upstream_ntlm_module.so
file and put it into e.g. the/data/nginx/modules
path and simply use the followingload_module
call in step 1 instead: