[blogs-web/oscp] Drop the location stanza and have the CORS headers on the vhost instead



commit 430637f9dcdb0a2a6bff8170879b0d4bbf3c99e8
Author: Andrea Veri <av gnome org>
Date:   Mon Jul 15 12:54:43 2019 +0000

    Drop the location stanza and have the CORS headers on the vhost instead

 blogs.gnome.org.conf | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/blogs.gnome.org.conf b/blogs.gnome.org.conf
index 94eb83d..5a60678 100644
--- a/blogs.gnome.org.conf
+++ b/blogs.gnome.org.conf
@@ -22,10 +22,8 @@
     Redirect permanent  /woody  https://www.dragonsreach.it/
     Redirect permanent  /gtk    https://blog.gtk.org/
 
-    <Location "/guadecregistration">
-      Header always set Access-Control-Allow-Origin "https://2019.guadec.org/";
-      Header always set X-Frame-Options "allow-from https://2019.guadec.org/";
-    </Location>
+    Header always set Access-Control-Allow-Origin "https://2019.guadec.org/";
+    Header always set X-Frame-Options "allow-from https://2019.guadec.org/";
 </VirtualHost>
 
 <Directory /srv/http/blogs.gnome.org/html>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]