首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往
您找到你想要的搜索结果了吗?
是的
没有找到

实例讲解Nginx下的rewrite规则

一.正则表达式匹配,其中: * ~ 为区分大小写匹配 * ~* 为不区分大小写匹配 * !~和!~*分别为区分大小写不匹配及不区分大小写不匹配 二.文件及目录匹配,其中: * -f和!-f用来判断是否存在文件 * -d和!-d用来判断是否存在目录 * -e和!-e用来判断是否存在文件或目录 * -x和!-x用来判断文件是否可执行 三.rewrite指令的最后一项参数为flag标记,flag标记有: 1.last    相当于apache里面的[L]标记,表示rewrite。 2.break本条规则匹配完成后,终止匹配,不再匹配后面的规则。 3.redirect  返回302临时重定向,浏览器地址会显示跳转后的URL地址。 4.permanent  返回301永久重定向,浏览器地址会显示跳转后的URL地址。

01

Peer-to-Peer (P2P) communication across middleboxes

Internet Draft                                                   B. Ford Document: draft-ford-midcom-p2p-01.txt                            M.I.T. Expires: April 27, 2004                                     P. Srisuresh                                                           Caymas Systems                                                                 D. Kegel                                                                kegel.com                                                             October 2003               Peer-to-Peer (P2P) communication across middleboxes Status of this Memo    This document is an Internet-Draft and is subject to all provisions    of Section 10 of RFC2026.  Internet-Drafts are working documents of    the Internet Engineering Task Force (IETF), its areas, and its    working groups.  Note that other groups may also distribute working    documents as Internet-Drafts.    Internet-Drafts are draft documents valid for a maximum of six months    and may be updated, replaced, or obsoleted by other documents at any    time.  It is inappropriate to use Internet- Drafts as reference    material or to cite them other than as "work in progress."    The list of current Internet-Drafts can be accessed at    http://www.ietf.org/1id-abstracts.html    The list of Internet-Draft Shadow Directories can be accessed at    http://www.ietf.org/shadow.html    Distribution of this document is unlimited. Copyright Notice    Copyright (C) The Internet Society (2003).  All Rights Reserved. Abstract    This memo documents the methods used by the current peer-to-peer    (P2P) applications to communicate in the presence of middleboxes    such as firewalls and network address translators (NAT). In    addition, the memo suggests guidelines to application designers    and middlebox implementers on the measures they could take to    enable immediate, wide deployment of P2P applications with or    without requiring the use of special proxy, relay or midcom    protocols.   Ford, Srisuresh & Kegel

03

扫码

添加站长 进交流群

领取专属 10元无门槛券

手把手带您无忧上云

扫码加入开发者社群

相关资讯

热门标签

活动推荐

    运营活动

    活动名称
    广告关闭
    领券