Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### Distributed by puppet ###
- <IfModule mod_ssl.c>
- <VirtualHost _default_:443>
- DocumentRoot /opt/librenms/html/
- ServerName librenms.example.com
- CustomLog /opt/librenms/logs/access_log combined
- ErrorLog /opt/librenms/logs/error_log
- AllowEncodedSlashes NoDecode
- <Directory "/opt/librenms/html/">
- Require all granted
- AllowOverride All
- Options FollowSymLinks MultiViews
- </Directory>
- SSLEngine on
- SSLCertificateFile /etc/apache2/.com.crt
- SSLCertificateKeyFile /etc/apache2/.com.key
- SSLCertificateChainFile /etc/apache2/wildcard.crt
- <FilesMatch "\.(cgi|shtml|phtml|php)$">
- SSLOptions +StdEnvVars
- </FilesMatch>
- <Directory /usr/lib/cgi-bin>
- SSLOptions +StdEnvVars
- </Directory>
- BrowserMatch "MSIE [2-6]" \
- nokeepalive ssl-unclean-shutdown \
- downgrade-1.0 force-response-1.0
- # MSIE 7 and newer should be able to use keepalive
- BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
- # RewriteEngine on
- # LogLevel alert rewrite:trace3 alias:debug
- <FilesMatch \.php$>
- SetHandler "proxy:unix:/run/php/php7.0-fpm.sock|fcgi://localhost"
- </FilesMatch>
- </VirtualHost>
- </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement