File size: 801 Bytes
a757bd3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | <VirtualHost *:{port}>
ServerAdmin {server_admin}
DocumentRoot "{site_path}"
ServerName {server_name}
ServerAlias {domains}
#errorDocument 404 /404.html
ErrorLog "{log_path}/{project_name}-error_log"
CustomLog "{log_path}/{project_name}-access_log" combined
#DENY FILES
<Files ~ (\.user.ini|\.htaccess|\.git|\.env|\.svn|\.project|LICENSE|README.md)$>
Order allow,deny
Deny from all
</Files>
#SSL
<IfModule alias_module>
Alias /.well-known/ /www/wwwroot/java_node_ssl/
</IfModule>
#PATH
<Directory "{site_path}">
SetOutputFilter DEFLATE
Options FollowSymLinks
AllowOverride All
{apa_opt}
DirectoryIndex index.html index.htm default.html default.htm
</Directory>
</VirtualHost> |