# DO NOT EDIT - This file is being maintained by Chef

<VirtualHost *:80>
        ServerName stateofthemap.org
        ServerAlias stateofthemap.com
        ServerAlias www.stateofthemap.org
        ServerAlias www.stateofthemap.com
        ServerAdmin webmaster@openstreetmap.org

        CustomLog /var/log/apache2/stateofthemap.org-access.log combined
        ErrorLog /var/log/apache2/stateofthemap.org-error.log

        RedirectPermanent / https://stateofthemap.org/
</VirtualHost>

<VirtualHost *:443>
        ServerName stateofthemap.com
        ServerAlias www.stateofthemap.org
        ServerAlias www.stateofthemap.com
        ServerAdmin webmaster@openstreetmap.org

        CustomLog /var/log/apache2/stateofthemap.org-access.log combined
        ErrorLog /var/log/apache2/stateofthemap.org-error.log

        RedirectPermanent / https://stateofthemap.org/
</VirtualHost>

<VirtualHost *:443>
        ServerName stateofthemap.org
        ServerAdmin webmaster@openstreetmap.org

        CustomLog /var/log/apache2/stateofthemap.org-access.log combined
        ErrorLog /var/log/apache2/stateofthemap.org-error.log

        DocumentRoot /srv/stateofthemap.org/html
</VirtualHost>

<Directory /srv/stateofthemap.org/html>
        Require all granted
</Directory>

# DO NOT EDIT - This file is being maintained by Chef

<VirtualHost *:80>
        ServerName stateofthemap.org
        ServerAlias stateofthemap.com
        ServerAlias www.stateofthemap.org
        ServerAlias www.stateofthemap.com
        ServerAdmin webmaster@openstreetmap.org

        CustomLog /var/log/apache2/stateofthemap.org-access.log combined
        ErrorLog /var/log/apache2/stateofthemap.org-error.log

        RedirectPermanent / https://stateofthemap.org/
</VirtualHost>

<VirtualHost *:443>
        ServerName stateofthemap.com
        ServerAlias www.stateofthemap.org
        ServerAlias www.stateofthemap.com
        ServerAdmin webmaster@openstreetmap.org

        CustomLog /var/log/apache2/stateofthemap.org-access.log combined
        ErrorLog /var/log/apache2/stateofthemap.org-error.log

        SSLEngine on

        RedirectPermanent / https://stateofthemap.org/
</VirtualHost>

<VirtualHost *:443>
        ServerName stateofthemap.org
        ServerAdmin webmaster@openstreetmap.org

        CustomLog /var/log/apache2/stateofthemap.org-access.log combined
        ErrorLog /var/log/apache2/stateofthemap.org-error.log

        SSLEngine on

        DocumentRoot /srv/stateofthemap.org/html
</VirtualHost>

<Directory /srv/stateofthemap.org/html>
        Require all granted
</Directory>

Enable SSL in SSL sites
Enable SSL in SSL sites
