SYNOPSIS

Install nginx server from source and run sanity check using swat DSL.

Check List

INSTALL

# yes you need a curl
sudo apt-get install curl

AND (

perl Makefile.PL
make
make test
make install

OR

sudo cpan swat::nginx

)

USAGE

# do not enter host here
# nginx runner is embedded

$ swat swat::nginx 

Configuration

You may redefine test configiration using swat.my file:

Setup example:

$ echo nginx_source_url=http://nginx.org/download/nginx-1.7.0.tar.gz > swat.my
$ echo port=7000 >> swat.my
$ swat swat::nginx

HOME PAGE

https://github.com/melezhik/swat-packages/tree/master/nginx

COPYRIGHT

Copyright 2015 Alexey Melezhik.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Alexey Melezhik