* symlink: deployment.yml -> production.yml
* apache config:
ProxyRequests Off
Order deny,allow
Allow from all
ProxyPass /outreach-demo http://localhost:3001/outreach-demo
ProxyPassReverse /outreach-demo http://localhost:3001/outreach-demo
# requires a2enmod headers:
RequestHeader set X_FORWARDED_PROTO "https"
* /logs dir chown raj:www-data, chmod 2770
for production: init.d/outreach-demo -> bin/app.pl
for testing under production env, run either:
* carton exec starman -p bin/app.psgi
* PERL5LIB=./local/lib/perl5 plackup -p bin/app.psgi