AlaK4X
Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64



Your IP : 3.140.188.174


Current Path : /etc/apache2/sites-available/
Upload File :
Current File : //etc/apache2/sites-available/lhjmq-records.qc.ca.conf

<VirtualHost *:80>
    ServerName lhjmq-records.qc.ca
    ServerAlias www.lhjmq-records.qc.ca
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/lhjmq-records.qc.ca/public_html


    <Directory /var/www/lhjmq-records.qc.ca/public_html>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Require all granted
    </Directory>

#    Header always set Content-Security-Policy "default-src 'self' http: https:"
    Header always set Content-Security-Policy "upgrade-insecure-requests;"


    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
RewriteEngine on
RewriteCond %{SERVER_NAME} =lhjmq-records.qc.ca [OR]
RewriteCond %{SERVER_NAME} =www.lhjmq-records.qc.ca
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>