ranger/orm/services/audit_trail_manager/audit_server.conf
raigax9 729705ead0 Added and edited files to run ranger
Created scripts for setting up ranger as well as
modifying the service files as part of the setup.

Change-Id: Ic1d77dd03fa2287097f35f3de5e890cfb768f71b
2017-09-22 13:37:45 -04:00

27 lines
660 B
Plaintext

Listen ${AUDIT_SERVER_PORT}
<VirtualHost *:${AUDIT_SERVER_PORT>
WSGIDaemonProcess audit_server user=stack group=stack threads=5
WSGIScriptAlias / ${ORM_BASE}/orm/services/audit_trail_manager/audit_server.wsgi
<Location /v1/audit/logs>
Order deny,allow
Deny from all
Allow from localhost
</Location>
<Location /v1/audit/configuration>
Order deny,allow
Deny from all
Allow from localhost
</Location>
<Directory ${ORM_BASE}/orm/services/audit_trail_manager/>
WSGIProcessGroup audit_server
WSGIApplicationGroup %{GLOBAL}
Require all granted
Allow from all
</Directory>
</VirtualHost>