Public Repository

Last pushed: 2 days ago
Short Description
nginx + passenger
Full Description

Nginx is installed at:

/opt/nginx

and its configuration file is at:

/opt/nginx/conf/nginx.conf

an nginx configuration example:

worker_processes  1;
daemon off;

events {
    worker_connections  1024;
}

http {
    passenger_root /usr/local/bundle/gems/passenger-4.0.53;
    passenger_ruby /usr/local/bin/ruby;

    include       mime.types;
    default_type  application/octet-stream;

    sendfile        on;

    keepalive_timeout  65;

    server {
      listen 80;
      passenger_enabled on;
      passenger_app_env production;

      root /my_project/public;

      error_log /my_project/log/passenger-error.log;
    }
}

Start Service:

/opt/nginx/bin/nginx
Docker Pull Command
Owner
bionexo

Comments (0)