HTTP Auth RADIUS#
This module provides HTTP authentication using the RADIUS protocol. Enable the module in the For more details and the source code, visit:
ten0s/ngx_http_auth_radius_moduleLoading the Module#
main{}
context:load_module modules/ngx_http_auth_radius_module.so;
Configuration Example#
http {
radius_server "radius_server1" {
auth_timeout 5;
resend_limit 3;
url "127.0.0.1:1812";
share_secret "secret";
}
server {
listen 80;
server_name localhost;
location = / {
root html;
index index.html index.htm;
# RADIUS server configuration
# The third parameter defines the authentication method:
# PAP, CHAP, MSCHAP, MSCHAP2, EAPMD5
auth_radius_server "radius_server1" "PAP";
# auth_radius can be:
# Restricted, "Close Content", or off
auth_radius "Restricted";
}
}
}
Additional Information#