Posts nginx reverse proxy towards github pages
Post
Cancel

nginx reverse proxy towards github pages

好吧,这是段正常工作的nginx配置:

        location / {
                proxy_pass http://honnix.github.com/;
                proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
                proxy_redirect default;
                proxy_buffering 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-Protocol $scheme;
                proxy_pass_header Set-Cookie;
        }
This post is licensed under CC BY 4.0 by the author.

Raspberry Pi上XMBC连接Airport Extreme Disk

关于Pi的一些东西

Comments powered by Disqus.