kimai-fly/assets/000-default.conf
2023-03-06 22:56:27 +01:00

28 lines
575 B
Plaintext

<VirtualHost *:8001>
ServerAdmin webmaster@localhost
DocumentRoot /opt/kimai/public
PassEnv DATABASE_PREFIX
PassEnv MAILER_FROM
PassEnv APP_ENV
PassEnv APP_SECRET
PassEnv DATABASE_URL
PassEnv MAILER_URL
PassEnv TRUSTED_PROXIES
PassEnv TRUSTED_HOSTS
<Directory "/opt/kimai/public">
Require all granted
DirectoryIndex index.php
AllowOverride All
</Directory>
<Directory /opt/kimai/public/assets>
Order Deny,Allow
Deny from all
</Directory>
</VirtualHost>
ServerName localhost