Created
December 24, 2015 09:45
-
-
Save pavelpower/bc64eb3550003f6f4bf8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Проксирование с перезаписью | |
location /proxy-http/([^/]*)(.*)$ { | |
proxy_pass http://$1; | |
rewrite ^/proxy-http/([^/]*)(.*)$ $2 break; | |
proxy_pass_header Cookie; | |
proxy_pass_header Set-Cookie; | |
proxy_pass_header P3P; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment