zoukankan      html  css  js  c++  java
  • nginx 真实ip

    server {

            listen       80;

            server_name  localhost;

            location /{

                root   html;

                index  index.html index.htm;

                                proxy_pass                  http://backend; 

               proxy_redirect              off;

               proxy_set_header            Host $host;

               proxy_set_header            X-real-ip $remote_addr;

               proxy_set_header            X-Forwarded-For $proxy_add_x_forwarded_for;

                         # proxy_set_header            X-Forwarded-For $http_x_forwarded_for;

            }

    life is a jounery,yes
  • 相关阅读:
    图论
    数学
    P2222 外婆婆~
    P2083 找人
    P1215 [USACO1.4]母亲的牛奶 Mother's Milk
    New Rap
    P2298 Mzc和男家丁的游戏
    P2040 打开所有的灯
    P1135 奇怪的电梯
    UVA10474 Where is the Marble?
  • 原文地址:https://www.cnblogs.com/CaptainLin/p/7248920.html
Copyright © 2011-2022 走看看