Sha256: e43e7bc1f146277d8835e199db37bc4631632656ce4c1a7a01732bae4da1f1ad

Contents?: true

Size: 899 Bytes

Versions: 18

Compression:

Stored size: 899 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;
    # ssl on; tells NGINX to server ANY content through SSL.

    ssl_certificate /home/ubuntu/.meroku/letsencrypt_fullchain.pem;
    ssl_certificate_key /home/ubuntu/.meroku/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

18 entries across 18 versions & 1 rubygems

Version Path
meroku-2.0.27 data/etc_nginx_sites-enabled_template
meroku-2.0.26 data/etc_nginx_sites-enabled_template
meroku-2.0.25 data/etc_nginx_sites-enabled_template
meroku-2.0.24 data/etc_nginx_sites-enabled_template
meroku-2.0.23 data/etc_nginx_sites-enabled_template
meroku-2.0.22 frontend/etc_nginx_sites-enabled_template
meroku-2.0.21 frontend/etc_nginx_sites-enabled_template
meroku-2.0.20 frontend/etc_nginx_sites-enabled_template
meroku-2.0.19 frontend/etc_nginx_sites-enabled_template
meroku-2.0.18 frontend/etc_nginx_sites-enabled_template
meroku-2.0.17 frontend/etc_nginx_sites-enabled_template
meroku-2.0.16 frontend/etc_nginx_sites-enabled_template
meroku-2.0.14 frontend/etc_nginx_sites-enabled_template
meroku-2.0.13 frontend/etc_nginx_sites-enabled_template
meroku-2.0.11 frontend/etc_nginx_sites-enabled_template
meroku-2.0.10 frontend/etc_nginx_sites-enabled_template
meroku-2.0.9 frontend/etc_nginx_sites-enabled_template
meroku-2.0.8 frontend/etc_nginx_sites-enabled_template