704 B
704 B
cinny
deployment using nginx
virtual host
The role will create a virtual host named after cinny_nginx_vhost_name
(default: cinny
) in cinny_nginx_available_sites
(default: /etc/nginx/sites-available
).
If you choose cinny_nginx_vhost_enable
(default: true
), it will also create a symlink from cinny_nginx_enabled_sites
to it's vhost.
Tip
If you are deploying multiple cinny instances on a single host, customize
cinny_nginx_vhost_name
to contain yourcinny_nginx_server
in order to avoid filename collisions.
Important
If
cinny_nginx_vhost_enable
istrue
, the role will expectnginx
to be in the$PATH
(in order to test the configuration usingnginx -t
)