Sha256: 9999f50645974538bde58a7c2d0d23642cd9edaac060f8fb7c1aac48878a1642

Contents?: true

Size: 753 Bytes

Versions: 12

Compression:

Stored size: 753 Bytes

Contents

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

12 entries across 12 versions & 1 rubygems

Version Path
meroku-2.0.22 frontend/etc_nginx_sites-enabled_default
meroku-2.0.21 frontend/etc_nginx_sites-enabled_default
meroku-2.0.20 frontend/etc_nginx_sites-enabled_default
meroku-2.0.19 frontend/etc_nginx_sites-enabled_default
meroku-2.0.18 frontend/etc_nginx_sites-enabled_default
meroku-2.0.17 frontend/etc_nginx_sites-enabled_default
meroku-2.0.16 frontend/etc_nginx_sites-enabled_default
meroku-2.0.14 frontend/etc_nginx_sites-enabled_default
meroku-2.0.13 frontend/etc_nginx_sites-enabled_default
meroku-2.0.11 frontend/etc_nginx_sites-enabled_default
meroku-2.0.10 frontend/etc_nginx_sites-enabled_default
meroku-2.0.9 frontend/etc_nginx_sites-enabled_default