Deploy Wallarm WAF nginx module and tarantool server with SaltStack
Tested on Debian 9. It may not work on other systems.
- Setup pillars – see examples at
tarantool-pillar-example.sls
andnginx-pillar-example.sls
- Change pillar links
- see variable
wallarm
attarantool.sls
- see variable
wallarm
atnginx.sls
- see variable
config
attemplates/tarantool/wallarm-tarantool.jinja
- see variable
config
andupstream
attemplates/nginx.conf.d/wallarm.jinja
- see variable
config
attemplates/nginx.conf.d/wallarm-status.jinja
- see variable
- Use
tarantools.sls
to install Wallarm Tarantool server on you system - Use
nginx.sls
to install Wallarm NGINX Module to existing nginx server- Make sure you use official NGINX repository. Wallarm may not work with Debian default repository version of NGINX.