### HttpSecureLink
This module computes and checks request URLs for a required security token. This module is not compiled by default and must be specified using the
這個模塊計算和檢測URL請求中必須的安全標識
這個模塊沒有默認編譯,在編譯Nginx時,必須使用明確的配置參數
~~~
--with-http_secure_link_module
~~~
argument to configure when compiling Nginx. Note that this module is only supported in nginx version 0.7.18 and higher.
來說明配置.這個模塊在Nginx 0.7.18及以上版本中被支持.
### Example usage:
~~~
location /prefix/ {
secure_link_secret secret_word;
?
if ($secure_link = "") {
return 403;
}
}
~~~
### 指令
**syntax:***secure_link_secret secret_word*
**default:***none*
**context:***location*
The directive specifies a secret word to verify requests. The full URL for a protected links follows this form:
這個指令明確一個安全關鍵字來審核請求。完整的被保護的URL如下表:
/**prefix**/*hash*/**reference**
*hash* is computed as as 使用md5('參考','安全密碼')函數計算
~~~
md5 (reference, secret_word);
~~~
**prefix** is the scope of the location block, and must not be '/'. secure_link can only be used in non-root paths.
前綴是定位塊的范圍,絕對不能使用'/'。安全連接只能被用在非根目錄路徑。
### 變量
### $secure_link
Automatically set to the reference component of the URL, isolated from the prefix and hash. If the hash is incorrect, an empty string is returned instead.
自動設置模塊到URL的關聯,分開前綴和HASH。如果HASH不正確,將返回空字符串。
- 主要文檔
- Nginx功能概述
- 為什么選擇Nginx
- Nginx安裝
- 運行和控制Nginx
- 配置符號參考
- 優化 Nginx
- 常見問題(FAQ)
- 調試 nginx
- 核心模塊
- Nginx主模塊
- Nginx事件模塊
- 基本模塊
- http核心模塊
- HttpIndex模塊
- HttpAccess模塊
- HttpAuthBasic模塊
- HttpAutoindex模塊
- Browser模塊
- Charset模塊
- HttpEmptyGif模塊
- HttpFcgi模塊
- Geo模塊
- HttpGzip模塊
- HttpHeaders模塊
- HttpIndex模塊
- HttpReferer模塊
- HttpLimit zone
- HttpLimitReqest模塊
- HttpLog模塊
- map
- Memcached
- HttpProxy模塊
- HttpRewrite模塊
- HttpSSI模塊
- HttpUserId
- 其他模塊
- Addition模塊
- EmbeddedPerl
- flv
- HttpGzipStatic
- RandomIndex
- HttpGeoIP
- HttpRealIp
- HttpSSL
- StubStatus模塊
- HttpSubstitution
- HttpDav模塊
- GooglePerftools
- HttpXSLT
- HttpSecureLink
- HttpImageFilter
- mail模塊
- MailCore
- MailAuth
- MailProxy
- MailSSL
- 安裝
- nginx在windows上的安裝
- nginx在freebsd上的安裝
- nginx在ubuntu上的安裝
- nginx在fedora上的安裝
- nginx php-fpm安裝配置
- 配置示例和方法
- 完整例子
- 完整例子2
- 虛擬主機
- 負載均衡
- nginx防盜鏈
- HWLoadbalancerCheckErrors