Sha256: 895950a455371fb616b6c7051f069fc2b7e1230a706e9c6bac6a7298027a860a

Contents?: true

Size: 588 Bytes

Versions: 59

Compression:

Stored size: 588 Bytes

Contents

upstream puma_rails_app {
  server app:3000;
}
server {
  listen       80;
  proxy_buffers 64 16k;
  proxy_max_temp_file_size 1024m;
  proxy_connect_timeout 5s;
  proxy_send_timeout 10s;
  proxy_read_timeout 10s;
  location / {
    try_files $uri $uri/ @rails_app;
  }
  location @rails_app {
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $http_host;
    proxy_redirect off;
    proxy_pass http://puma_rails_app;
    # limit_req zone=one;
    access_log /usr/src/app/log/nginx.access.log;
    error_log /usr/src/app/log/nginx.error.log;
  }
}

Version data entries

59 entries across 28 versions & 2 rubygems

Version Path
roro-0.3.2 lib/roro/cli/templates/docker/containers/web/app.conf.tt
roro-0.3.2 test_apps/dummy_roro/docker/containers/web/app.conf
roro-0.3.2 lib/roro/cli/templates/docker/web/app.conf
roro-0.3.1 lib/roro/cli/templates/docker/web/app.conf
roro-0.3.1 test_apps/dummy_roro/docker/containers/web/app.conf
roro-0.3.1 lib/roro/cli/templates/docker/containers/web/app.conf.tt
roro-0.3.0 lib/roro/cli/templates/docker/containers/web/app.conf.tt
roro-0.3.0 lib/roro/cli/templates/docker/web/app.conf
roro-0.3.0 test_apps/dummy_roro/docker/containers/web/app.conf
roro-0.2.5 test_apps/dummy_roro/docker/containers/web/app.conf
roro-0.2.5 lib/roro/cli/templates/docker/containers/web/app.conf.tt
roro-0.2.5 lib/roro/cli/templates/docker/web/app.conf
roro-0.2.4 lib/roro/cli/templates/docker/containers/web/app.conf.tt
roro-0.2.4 lib/roro/cli/templates/docker/web/app.conf
roro-0.2.4 test_apps/dummy_roro/docker/containers/web/app.conf
roro-0.2.2 test_apps/dummy_roro/docker/containers/web/app.conf
roro-0.2.2 lib/roro/cli/templates/docker/containers/web/app.conf.tt
roro-0.2.2 lib/roro/cli/templates/docker/web/app.conf
roro-0.2.1 lib/roro/cli/templates/docker/containers/web/app.conf.tt
roro-0.2.1 lib/roro/cli/templates/docker/web/app.conf