2 Star 0 Fork 0

mirrors_nginx/nginx-dev-examples

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Modules
=======

hello_world
-----------

Installs location content handler to produce specific output.

- #1 produces the predefined output "Hello, world!"
- #2 allows setting text and HTTP status code
- #3 supports variables in output text

access
------

Installs an ACCESS phase handler and checks if user is allowed to access the
resource.

- #1 makes sure the User-Agent header contains the specified string
- #2 verifies user-provided hash md5(uri, secret).

set_header
----------

Installs header filter handler and allows to add output headers.

- #1 one header is supported
- #2 multiple headers are supported
- #3 variables are supported in header values

append
------

Installs header and body filter handlers and allows appending text to the
output.

- #1 a string is appended
- #2 md5 hash of the entire body is appended
- #3 subrequest text is appended

md5
---

Creates a variable with the md5 of the provided complex value.


Development Guide
=================

For more information on module development, see the NGINX development guide:

    http://nginx.org/en/docs/dev/development_guide.html

空文件

简介

暂无描述 展开 收起
C 等 3 种语言
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_nginx/nginx-dev-examples.git
git@gitee.com:mirrors_nginx/nginx-dev-examples.git
mirrors_nginx
nginx-dev-examples
nginx-dev-examples
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385