Created
March 19, 2015 09:14
-
-
Save Epigene/bee25efc43cdcc20ccb0 to your computer and use it in GitHub Desktop.
Simple IP-based nginx config for Puma
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
upstream puma { | |
server unix:/tmp/puma.socket fail_timeout=1; | |
} | |
server { | |
listen 80; | |
server_name <IP>; | |
return 307 http://www.google.lv$request_uri; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment