Sha256: 49c491bf2652dbbb54c5fcf8211cabd3b84ae0afa551dabdc7752df73eda286f
Contents?: true
Size: 1.14 KB
Versions: 17
Compression:
Stored size: 1.14 KB
Contents
upstream <%= fetch(:application) %> { server unix:/tmp/<%= fetch(:application) %>.sock fail_timeout=0; } server { listen 80 default_server deferred; server_name <%= fetch(:server_address) %>; root <%= fetch(:deploy_to) %>/current/public; location ^~ /packs/ { gzip_static on; expires max; add_header Cache-Control public; } try_files $uri $uri @<%= fetch(:application) %>; location @<%= fetch(:application) %> { proxy_set_header X-Forwarded-Proto https; proxy_set_header X-Url-Scheme https; proxy_set_header X-Forwarded-Ssl on; proxy_set_header Front-End-Https on; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_redirect off; proxy_buffering on; proxy_set_header X-Real-IP $remote_addr; proxy_pass http://<%= fetch(:application) %>; } location /cable { proxy_pass http://<%= fetch(:application) %>; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } error_page 500 502 503 504 /500.html; client_max_body_size 10M; keepalive_timeout 10; }
Version data entries
17 entries across 17 versions & 3 rubygems