I found one issue with apache configuration. I have to change selinux label for /var/www/lameapp/lame.py from httpd_sys_content_t to httpd_unconfined_script_exec_t, because I got Inernal server error if I go to http://web1/lame
This is what I have add in:
training-examples/lamp_haproxy/roles/web/tasks/main.yml under
name: set permission on the app
.....
name: set selinux context
command: /usr/bin/chcon -t httpd_unconfined_script_exec_t /var/www/lameapp/lame.py
Hi
I found one issue with apache configuration. I have to change selinux label for /var/www/lameapp/lame.py from httpd_sys_content_t to httpd_unconfined_script_exec_t, because I got Inernal server error if I go to http://web1/lame
This is what I have add in: training-examples/lamp_haproxy/roles/web/tasks/main.yml under
Regards