Sha256: 050f76323319268c86c32a21a7213cdde7c7e58f35f5768ae84f12691b108938
Contents?: true
Size: 792 Bytes
Versions: 4
Compression:
Stored size: 792 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; } location /cable { proxy_pass http://0.0.0.0:3000; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; } }
Version data entries
4 entries across 4 versions & 1 rubygems