Created
August 7, 2015 11:39
-
-
Save pokle/4ab0f80adfb6a729755a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
events { | |
worker_connections 1024; | |
} | |
http { | |
server { | |
listen 80; | |
location = / { | |
return 302 http://localhost/a/b/c; | |
} | |
location = /a/b/c { | |
add_header Set-Cookie "abc=123;Path=/;Max-Age=60;"; | |
return 200 "Hejjj"; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment