From 2bb35074eef353f03b4373f695834c0be41609ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sun, 18 Feb 2018 23:51:53 +0100 Subject: Migrate to apache --- modules/profile/files/apache/document_root.conf | 6 +++ .../files/apache/googleb6d69446ff4ca3e5.html | 1 + modules/profile/files/apache/immae.conf | 13 +++++ modules/profile/files/apache/letsencrypt.conf | 6 +++ .../profile/files/apache/maintenance_immae.html | 58 ++++++++++++++++++++++ 5 files changed, 84 insertions(+) create mode 100644 modules/profile/files/apache/document_root.conf create mode 100644 modules/profile/files/apache/googleb6d69446ff4ca3e5.html create mode 100644 modules/profile/files/apache/immae.conf create mode 100644 modules/profile/files/apache/letsencrypt.conf create mode 100644 modules/profile/files/apache/maintenance_immae.html (limited to 'modules/profile/files') diff --git a/modules/profile/files/apache/document_root.conf b/modules/profile/files/apache/document_root.conf new file mode 100644 index 0000000..ed9a9ab --- /dev/null +++ b/modules/profile/files/apache/document_root.conf @@ -0,0 +1,6 @@ +DocumentRoot "/srv/http" + + Options Indexes FollowSymLinks + AllowOverride None + Require all granted + diff --git a/modules/profile/files/apache/googleb6d69446ff4ca3e5.html b/modules/profile/files/apache/googleb6d69446ff4ca3e5.html new file mode 100644 index 0000000..f732bac --- /dev/null +++ b/modules/profile/files/apache/googleb6d69446ff4ca3e5.html @@ -0,0 +1 @@ +google-site-verification: googleb6d69446ff4ca3e5.html diff --git a/modules/profile/files/apache/immae.conf b/modules/profile/files/apache/immae.conf new file mode 100644 index 0000000..5e0f3c4 --- /dev/null +++ b/modules/profile/files/apache/immae.conf @@ -0,0 +1,13 @@ +ErrorDocument 500 /maintenance_immae.html +ErrorDocument 501 /maintenance_immae.html +ErrorDocument 502 /maintenance_immae.html +ErrorDocument 503 /maintenance_immae.html +ErrorDocument 504 /maintenance_immae.html +Alias /maintenance_immae.html /srv/http/maintenance_immae.html + +RedirectMatch ^/licen[cs]es?_et_tip(ping)?$ https://www.immae.eu/licences_et_tip.html +RedirectMatch ^/licen[cs]es?_and_tip(ping)?$ https://www.immae.eu/licenses_and_tipping.html +RedirectMatch ^/licen[cs]es?$ https://www.immae.eu/licenses_and_tipping.html +RedirectMatch ^/tip(ping)?$ https://www.immae.eu/licenses_and_tipping.html + +AliasMatch "(.*)/googleb6d69446ff4ca3e5.html" /srv/http/googleb6d69446ff4ca3e5.html diff --git a/modules/profile/files/apache/letsencrypt.conf b/modules/profile/files/apache/letsencrypt.conf new file mode 100644 index 0000000..b2eaae2 --- /dev/null +++ b/modules/profile/files/apache/letsencrypt.conf @@ -0,0 +1,6 @@ +Alias /.well-known/acme-challenge /srv/http/.well-known/acme-challenge + + Require all granted + AllowOverride None + ErrorDocument 404 "Not Found" + diff --git a/modules/profile/files/apache/maintenance_immae.html b/modules/profile/files/apache/maintenance_immae.html new file mode 100644 index 0000000..90f265f --- /dev/null +++ b/modules/profile/files/apache/maintenance_immae.html @@ -0,0 +1,58 @@ + + + + Maintenance + + + + + +
+

Erreur serveur ou maintenance en cours !

+
+

Une mise à jour ou une opération de maintenance est en cours sur le site. Retentez dans quelques instants ou patientez, la page se rechargera automatiquement.

+
+
+ +
+

Server error or website in maintenance!

+
+

An update or a maintenance is on track on the website. Please try again in a few seconds or wait, the page will reload automatically.

+
+
+ + -- cgit v1.2.3