=head1 NAME Catalyst::Manual::Deployment::NGINXUnit::PSGI - Deploying Catalyst with NGINX Unit =head1 NGINX Unit Catalyst runs under L using PSGI. =head2 Configuration To configure a Catalyst app in NGINX Unit, upload a JSON configuration snippet via Unit's config API, available at an IP socket or a Unix domain socket (depending on Unit's L): # curl -X PUT --data-binary @config.json --unix-socket \ /path/to/control.unit.sock http://localhost/config A minimal L includes a listener and an application entity: { "listeners": { "127.0.0.1:8080": { "pass": "applications/catalyst_app" } }, "applications": { "catalyst_app": { "type": "perl", "script": "/path/to/apps/myapp/myapp.psgi", "user": "catalyst_user", "group": "catalyst_group" } } } The C