Sha256: 087097f5393c49569e81457a8d4230d0fa56d407995835201bd96cc981cf625f

Contents?: true

Size: 745 Bytes

Versions: 1

Compression:

Stored size: 745 Bytes

Contents

upstream app {
    # Path to Puma SOCK file, as defined previously
    server unix:/tmp/meroku.sock fail_timeout=0;
    #server 127.0.0.1:3000;
}

server {
    listen 443 ssl;
    server_name www.meroku.com;
    ssl on;

    ssl_certificate /home/ubuntu/.meroku/letsencrypt_fullchain.pem;
    ssl_certificate_key /home/ubuntu/.meroku/letsencrypt_privkey.pem;

    root /home/ubuntu/meroku/frontend/public;

    try_files $uri/index.html $uri @app;

    location @app {
        proxy_pass http://app;
        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.8 frontend/etc_nginx_sites-enabled_default