Sha256: 14a4cb7598798990d3742659a6d8b84b6c6103ac4c6865eb881e07dcdc136635
Contents?: true
Size: 617 Bytes
Versions: 19
Compression:
Stored size: 617 Bytes
Contents
upstream <%= fetch :application%> { server localhost:3000; } server { server_name <%= host.hostname %>; root /var/www/<%= fetch :application%>/current/public; location @<%= fetch :application%> { proxy_pass http://<%= fetch :application%>; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_read_timeout 90; } location / { try_files $uri @<%= fetch :application%> ; index index.html index.htm index.php; } location /status { stub_status on; allow all; } }
Version data entries
19 entries across 19 versions & 1 rubygems