NGINX
NGINX Trac
3rd Party Modules
Security Advisories
CHANGES
OpenResty
ngx_lua
Tengine
在线学习资源
NGINX 开发从入门到精通
NGINX Modules
ngx_echo
shanyang
V2EX  ›  NGINX

nginx的subs_filter模块怎么替换正则阿

  •  
  •   shanyang · Nov 27, 2012 · 10932 views
    This topic created in 4939 days ago, the information mentioned may be changed or developed.
    比如我要把1.aaa.com,2.aaa.com,3.aaa.com,4.aaa.com直到100.aaa.com全部替换为1.bbb.com,2.bbb.com,3.bbb.com,4.bbb.com............100.bbb.com
    怎么写?
    7 replies    1970-01-01 08:00:00 +08:00
    kingwkb
        1
    kingwkb  
       Nov 27, 2012
    http://gist.github.com/4153399

    没测试,理论上应该可以
    LazyZhu
        2
    LazyZhu  
       Nov 27, 2012   ❤️ 2
    jylee
        3
    jylee  
       Nov 27, 2012
    @LazyZhu mjj,不混loc了?
    enj0y
        4
    enj0y  
       Nov 27, 2012
    @LazyZhu 大牛
    LazyZhu
        5
    LazyZhu  
       Nov 27, 2012
    @jylee 你在说你自己吗?
    jylee
        6
    jylee  
       Nov 27, 2012
    @LazyZhu - -妳認得出我是誰咩

    不過應該很明顯。。。。
    enj0y
        7
    enj0y  
       Nov 27, 2012
    @jylee 单手在约
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2845 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 03:52 · PVG 11:52 · LAX 20:52 · JFK 23:52
    ♥ Do have faith in what you're doing.