Clustericious::Command::nginx - Clustericious command to stat nginx
version 1.20
Start an nginx web server.
--- % my $root = dir "@{[ home ]}/var/run"; % $root->mkpath(0,0700); url: http://<%= $host %>:<%= $port %> start_mode: - hypnotoad - nginx nginx: args: -p <%= $root %>/nginx.<%= $port %>/ autogen: filename: <%= $root %>/nginx.<%= $port %>/conf/nginx.conf content: | worker_processes auto; events { use epoll; worker_connections 4096; } http { server { listen <%= $host %>:<%= $port %>; location / { proxy_pass http://127.0.0.1:<%= $port %>; proxy_http_version 1.1; proxy_read_timeout 300; } } } hypnotoad: listen: - http://127.0.0.1:<%= $port %> pid_file: <%= $root %>/hypnotoad.<%= $port %>.pid
Clustericious
Original author: Brian Duggan
Current maintainer: Graham Ollis <plicease@cpan.org>
Contributors:
Curt Tilmes
This software is copyright (c) 2013 by NASA GSFC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Clustericious, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Clustericious
CPAN shell
perl -MCPAN -e shell install Clustericious
For more information on module installation, please visit the detailed CPAN module installation guide.