Detection becomes a line of nginx.conf. Load ngx_http_51D_module, point 51D_file_path at a Device Detection data file, and 51D_match_all x-device HardwareName,BrowserName,PlatformName sets a request header that proxy_pass forwards and FastCGI apps read from $_SERVER.
51D_match_ua_client_hints reads Sec-CH-UA headers, and 51D_set_resp_headers asks supporting browsers for more. For IP Intelligence, ngx_http_51D_ipi_module adds 51D_match_ipi with weighted network and location values. Human Confidence and Identifiers stay with the 51Degrees cloud service.
Each release carries pre-built modules for current NGINX versions on Ubuntu, or build from source with make install.
Code and issues: https://github.com/51Degrees/51degrees-nginx
Documentation: https://51degrees.com/documentation/_device_detection__other_integrations__nginx.html?utm_source=sourceforge&utm_medium=listing&utm_campaign=51degrees-nginx&utm_content=description&utm_term=docs
Features
- Device Detection by User-Agent, Client Hints, or every header
- IP Intelligence module with 51D_match_ipi
- Results as request headers for proxy_pass and FastCGI
- Accept-CH response headers with 51D_set_resp_headers
- JavaScript properties served by 51D_get_javascript_all
- Pre-built modules for tested NGINX versions on Ubuntu
- Human Confidence and Identifiers left to the cloud service
- Source under the European Union Public Licence 1.2