Sha256: 3bce5b52e8349d3f210128aa35bca096356339157f4fd48feeb6b244e8cb0ef1
Contents?: true
Size: 487 Bytes
Versions: 7
Compression:
Stored size: 487 Bytes
Contents
upstream <%= ENV['APP_NAME'] %> { server unix:/tmp/<%= ENV['APP_NAME'] %>.sock; } server { listen 80; server_name localhost; root <%= ENV['RAILS_ROOT'] %>/public; try_files $uri/index.html $uri @app; location @app { proxy_pass http://<%= ENV['APP_NAME'] %>; } <% if ENV['RAILS_ENV'] == 'production' %> location ~ ^/(assets)/ { gzip_vary on; gzip_static on; expires 1y; add_header Cache-Control public; add_header ETag ""; } <% end -%> }
Version data entries
7 entries across 7 versions & 1 rubygems