24 lines
693 B
Plaintext
24 lines
693 B
Plaintext
|
<VirtualHost *:80>
|
||
|
servername kimai2.domain.com
|
||
|
ServerAdmin admin@domain.com
|
||
|
|
||
|
DocumentRoot /usr/share/kimai2/public/
|
||
|
Protocols h2c http/1.1
|
||
|
|
||
|
<directory /usr/share/kimai2/public/>
|
||
|
AllowOverride All
|
||
|
FallbackResource /index.php
|
||
|
Require all granted
|
||
|
</directory>
|
||
|
<directory /usr/share/kimai2/>
|
||
|
Options FollowSymLinks
|
||
|
</directory>
|
||
|
<Directory /usr/share/kimai2/public/bundles>
|
||
|
FallbackResource disabled
|
||
|
</Directory>
|
||
|
# optionally set the value of the environment variables used in the application
|
||
|
#SetEnv APP_ENV prod
|
||
|
#SetEnv APP_SECRET IgJojTydTefdyllIpbebhalRebninas1
|
||
|
#SetEnv DATABASE_URL "mysql://kimai2:password@localhost/kimai2"
|
||
|
</VirtualHost>
|