aports/testing/nginx-naxsi/default.conf
Stuart Cardall f30d57caf6 testing/nginx-naxsi: update to 1.11.8 with dynamic modules
Added support for dynamic modules

/usr/lib/nginx/modules:

3RD PARTY
================================
ngx_http_naxsi_module.so
ngx_http_cache_purge_module.so
ngx_http_upstream_fair_module.so
ngx_http_sysguard_module.so

* http-sysguard backported from tengine:
http://tengine.taobao.org/document/http_sysguard.html

CORE
================================
ngx_http_geoip_module.so
ngx_http_image_filter_module.so
ngx_http_perl_module.so
ngx_http_xslt_filter_module.so
ngx_mail_module.so
ngx_stream_module.so

----------------------------------------------------
To load dynamic modules add to /etc/nginx/nginx.conf

load_module "modules/ngx_module_name_above.so";
----------------------------------------------------
2017-01-11 01:38:22 +01:00

19 lines
343 B
Plaintext

# This is a default site configuration which will simply return 404, preventing
# chance access to any other virtualhost.
server {
listen 80 default_server;
listen [::]:80 default_server;
# Everything is a 404
location / {
return 404;
}
# You may need this to prevent return 404 recursion.
location = /404.html {
internal;
}
}