[blogs] Move the location stanza within VirtualHost
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [blogs] Move the location stanza within VirtualHost
- Date: Fri, 29 Apr 2022 16:59:34 +0000 (UTC)
commit 0a8973ec480612bb245f7a12278b9cde84acc3fb
Author: Andrea Veri <av gnome org>
Date: Mon Jul 15 12:34:59 2019 +0000
Move the location stanza within VirtualHost
blogs.gnome.org.conf | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/blogs.gnome.org.conf b/blogs.gnome.org.conf
index 9886ebd..cbc8908 100644
--- a/blogs.gnome.org.conf
+++ b/blogs.gnome.org.conf
@@ -21,6 +21,11 @@
Redirect permanent /lucasr http://lucasr.org/
Redirect permanent /woody https://www.dragonsreach.it/
Redirect permanent /gtk https://blog.gtk.org/
+
+ <Location "/guadecregistration">
+ Header set Access-Control-Allow-Origin "https://2019.guadec.org/"
+ Header set X-Frame-Options "allow-from https://2019.guadec.org/"
+ </Location>
</VirtualHost>
<Directory /srv/http/blogs.gnome.org/html>
@@ -44,11 +49,6 @@
</FilesMatch>
</Directory>
-<Location "/guadecregistration">
- Header set Access-Control-Allow-Origin "https://2019.guadec.org/"
- Header set X-Frame-Options "allow-from https://2019.guadec.org/"
-</Location>
-
<LocationMatch "^/.well-known/acme-challenge">
RedirectMatch ^(.*) https://letsencrypt.gnome.org$1
</LocationMatch>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]