您的位置:首页 > 运维架构 > Nginx

Nginx Resource

2015-12-14 02:52 676 查看
Nginx中URL转换成小写
首先编译安装nginx_lua_module模块
server节:

location / {
if($uri ~ [A-Z]){
rewrite_by_lua 'return ngx.redirect(string.lower(ngx.var.uri),ngx.HTTP_MOVED_PERMANENTLY)';
}
}


ngx_slowfs_cache(Nginx模块)
nginx module which adds ability to cache static files. http://labs.frickle.com/nginx_ngx_slowfs_cache/

nginx配置SSL实现服务器/客户端双向认证 https://github.com/nategood/sleep-tight
nginx_ensite
A script to enable or disable a site in nginx. http://github.perusio.org/nginx_ensite

echo-nginx-module(Nginx模块)
An Nginx module for bringing the power of "echo", "sleep", "time" and more to Nginx's config filehttp://wiki.nginx.org/NginxHttpEchoModule

nginx-upstream-fair
The fair load balancer module for nginx http://nginx.localdomain.pl

nginx-auth-ldap
LDAP authentication module for nginx https://github.com/kvspb/nginx-auth-ldap
Nginx Configs
Collection of Nginx configs for most popular CMS/CMF/Frameworks based on PHP. https://github.com/elasticweb/nginx-configs
VladGh.com-LEMP (https://github.com/vladgh/VladGh.com-LEMP)
Latest NginX, MySQL, PHP (with APC and Suhosin) http://vladgh.com/blog/install-nginx-and-php-php-fpm-mysql-and-apc

healthcheck_nginx_upstreams (https://github.com/cep21/healthcheck_nginx_upstreams)
Health checks upstreams for nginx http://wiki.nginx.org/NginxHttpHealthcheckModule

set-misc-nginx-module (https://github.com/openresty/set-misc-nginx-module)
Various set_xxx directives added to nginx's rewrite module (md5/sha1, sql/json quoting, and many more)http://wiki.nginx.org/NginxHttpSetMiscModule

ezhttp (https://github.com/centos-bz/ezhttp)
The bash shell script stack for installation of Nginx OpenResty Tengine lua_nginx_module nginx_concat_module nginx_upload_module ngx_substitutions_filter_module Apache-2.2 Apache-2.4 MySQL-5.1 MySQL-5.5 MySQL-5.6 MySQL-5.7 PHP-5.2 PHP-5.3 PHP-5.4 PHP-5.5 PHP-5.6 ZendOptimizer ZendGuardLoader Xcache Eaccelerator Imagemagick IonCube Memcache Memca…

https://github.com/yhager/nginx_drupal
nginx configuration for use with Drupal - supports boost, multisite, static image servers and multiple environments

nginx-module-vts
Nginx virtual host traffic status module ( https://github.com/vozlt/nginx-module-vts )

nginx-cache-purge (https://github.com/perusio/nginx-cache-purge)
A bash script for deleting items from Nginx cache
https://github.com/nicokaiser/nginx-websocket-proxy
ngx-fancyindex
Fancy indexes module for the Nginx web server (https://github.com/aperezdc/ngx-fancyindex)
https://github.com/wangyan/lanmp Linux + Apache + Nginx + MySQL + PHP Auto Install Script https://wangyan.org/blog/lanmp.html
https://github.com/lebinh/nginx-conf A collection of useful Nginx configuration snippets
https://github.com/FRiCKLE/ngx_cache_purge nginx module which adds ability to purge content from FastCGI, proxy, SCGI and uWSGI caches.http://labs.frickle.com/nginx_ngx_cache_purge/
https://github.com/lebinh/ngxtop Real-time metrics for nginx server
https://github.com/pagespeed/ngx_pagespeed Automatic PageSpeed optimization module for Nginx http://ngxpagespeed.com/
https://github.com/fcambus/nginx-resources A collection of resources covering Nginx, Nginx + Lua, OpenResty and Tengine http://www.cambus.net

官方分享的stream模块的简单配置demo ( https://zhangge.net/5037.html )
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: