@@ -91,7 +91,7 @@ TreeRoot DSOLOCAL *conn_write_state_whitelist = 0;
9191TreeRoot DSOLOCAL * conn_write_state_suspicious_list = 0 ;
9292
9393
94- #if defined(WIN32 ) || defined( VERSION_NGINX )
94+ #if defined(WIN32 )
9595int (* modsecDropAction )(request_rec * r ) = NULL ;
9696#endif
9797static int server_limit , thread_limit ;
@@ -235,7 +235,7 @@ int perform_interception(modsec_rec *msr) {
235235 break ;
236236
237237 case ACTION_PROXY :
238- #if !(defined(VERSION_IIS )) && !(defined(VERSION_NGINX )) && !(defined( VERSION_STANDALONE ))
238+ #if !(defined(VERSION_IIS )) && !(defined(VERSION_STANDALONE ))
239239 if (msr -> phase < 3 ) {
240240 if (ap_find_linked_module ("mod_proxy.c" ) == NULL ) {
241241 log_level = 1 ;
@@ -275,7 +275,7 @@ int perform_interception(modsec_rec *msr) {
275275 /* ENH This does not seem to work on Windows. Is there a
276276 * better way to drop a connection anyway?
277277 */
278- #if !defined(WIN32 ) && !defined( VERSION_NGINX )
278+ #if !defined(WIN32 )
279279 {
280280 extern module core_module ;
281281 apr_socket_t * csd ;
@@ -608,10 +608,10 @@ static apr_status_t change_server_signature(server_rec *s) {
608608 char * server_version = NULL ;
609609
610610 /* This is a very particular way to handle the server banner. It is Apache
611- * only. Stanalone and descendants should address that in its specifics
612- * implementations, e.g. Nginx module.
611+ * only. Standalone and descendants should address that in its specifics
612+ * implementations, e.g. IIS module.
613613 */
614- #if !(defined(VERSION_IIS )) && !(defined(VERSION_NGINX )) && !(defined( VERSION_STANDALONE ))
614+ #if !(defined(VERSION_IIS )) && !(defined(VERSION_STANDALONE ))
615615 if (new_server_signature == NULL ) return 0 ;
616616
617617 server_version = (char * )apache_get_server_version ();
0 commit comments