Skip to content

nginx.conf format #1

@yko

Description

@yko

I suggest final configuration format similar to http_upstream_module config:
http://wiki.nginx.org/HttpUpstreamModule

psgi_app my_app {
   app /var/www/myapp/script/myapp.psgi;
   max_requests 1000;
   psgi_version 1.1;
   # more options
}

server {
    location / {
        psgi_app  my_app;
        # more options
    }
}

# wow! github know how to highlight nginx.conf!

Any problems here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions