mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-03 03:21:35 +02:00
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"; ----------------------------------------------------
19 lines
343 B
Plaintext
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;
|
|
}
|
|
}
|
|
|