Files
davisfe.cz/Docker/vhost.conf
T
David Fencl 5894c51256
continuous-integration/drone/push Build encountered an error
chore: update water data sets and migrate docker configuration to directory-based structure
2026-06-13 22:51:47 +02:00

27 lines
744 B
Plaintext

# File: Docker/vhost.conf
LoadModule headers_module /usr/lib/apache2/modules/mod_headers.so
<VirtualHost *:80>
ServerName localhost
DocumentRoot /app/dist
<Directory "/app/dist">
Options Indexes FollowSymLinks Includes execCGI
AllowOverride All
Require all granted
allow from all
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.html [L]
</IfModule>
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>