We can easily see which flags Nginx was compiled with using the nginx command itself. The same command also lists installed Nginx modules. This page explains the various command-line options for developers and sysadmin to determine if the particular feature is compiled.