Last active
June 1, 2016 01:07
-
-
Save tacionery/d67887e106be40ac09ab to your computer and use it in GitHub Desktop.
nginx template
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
server { | |
listen 80 default_server; | |
server_name IP_DO_SEU_VPS; | |
root /home/beer/beer_on_rails/public; | |
passenger_enabled on; | |
rails_env production; | |
# responsável por carregar os assets | |
location ^~ /assets/ { | |
gzip_static on; | |
expires max; | |
add_header Cache-Control public; | |
} | |
error_page 500 502 503 504 /500.html; | |
keepalive_timeout 10; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment