Sha256: 10b3fc4d1485664796f9293f1d9d40fd3294e29395fd713c0dbb4589bcdfddcb
Contents?: true
Size: 870 Bytes
Versions: 1
Compression:
Stored size: 870 Bytes
Contents
upstream REPLACEMEAPPNAME { # Path to Puma SOCK file, as defined previously server unix:/home/REPLACEMEUSERNAME/REPLACEMEAPPNAME.sock fail_timeout=0; } server { listen 80; listen 443 ssl; server_name REPLACEMEAPPNAME.meroku.com; # ssl on; tells NGINX to server ANY content through SSL. ssl_certificate /home/ubuntu/letsencrypt_fullchain.pem; ssl_certificate_key /home/ubuntu/letsencrypt_privkey.pem; root /home/REPLACEMEUSERNAME/REPLACEMEAPPNAME/public; try_files $uri/index.html $uri @REPLACEMEAPPNAME; location @REPLACEMEAPPNAME { proxy_pass http://REPLACEMEAPPNAME; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_redirect off; } error_page 500 502 503 504 /500.html; client_max_body_size 4G; keepalive_timeout 10; }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
meroku-2.0.31 | data/etc_nginx_sites-enabled_template |