Sha256: 33609d005aa2ec8bd0b38044799cb58d25c9073ed571da83aef6de9968043315

Contents?: true

Size: 751 Bytes

Versions: 7

Compression:

Stored size: 751 Bytes

Contents

upstream app {
    # Path to Puma SOCK file, as defined previously
    #server unix:/tmp/sockets/puma.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

7 entries across 7 versions & 1 rubygems

Version Path
meroku-2.0.7 frontend/etc_nginx_sites-available_default
meroku-2.0.6 frontend/etc_nginx_sites-available_default
meroku-2.0.5 frontend/etc_nginx_sites-available_default
meroku-2.0.4 frontend/etc_nginx_sites-available_default
meroku-2.0.3 frontend/etc_nginx_sites-available_default
meroku-2.0.2 frontend/etc_nginx_sites-available_default
meroku-2.0.1 frontend/etc_nginx_sites-available_default