Project

General

Profile

Download (1.16 KB) Statistics
| Branch: | Tag: | Revision:
<VirtualHost *:80>
Redirect permanent / https://10.0.0.6
</VirtualHost>

<VirtualHost _default_:443>
ServerName https://10.0.0.6:443
ServerAdmin webmaster@localhost

DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Require all granted
</Directory>

Alias /htdocs /var/htdocs
<Directory /var/htdocs>
Require all granted
</Directory>

#WSGIScriptAlias /bfcs /home/dsorber/bfcs/app.wsgi
ErrorDocument 403 /error_pages/404.html
ErrorDocument 404 /error_pages/404.html

CustomLog ${APACHE_LOG_DIR}/access.log combined
ErrorLog ${APACHE_LOG_DIR}/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

SSLEngine On
SSLCertificateFile /etc/apache2/ssl/baranovich.crt
SSLCertificateKeyFile /etc/apache2/ssl/baranovich.key
SSLProtocol -all +TLSv1.2
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
</VirtualHost>
(2-2/6)