[connfa-web] Add CORS
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [connfa-web] Add CORS
- Date: Fri, 23 Aug 2019 05:57:02 +0000 (UTC)
commit a95c4a53260dc907316f9d2ba705c470d5b63667
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Fri Aug 23 07:57:04 2019 +0200
Add CORS
httpd.conf | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/httpd.conf b/httpd.conf
index 9fa9120..ef569dd 100644
--- a/httpd.conf
+++ b/httpd.conf
@@ -6,6 +6,9 @@ Listen 0.0.0.0:8843 https
SSLCertificateFile /var/serving-cert/tls.crt
SSLCertificateKeyFile /var/serving-cert/tls.key
+ Header set Access-Control-Allow-Origin *
+ Header set Access-Control-Allow-Methods "GET"
+
DocumentRoot /app/connfa/public
<Directory />
Options Indexes FollowSymLinks MultiViews
@@ -29,6 +32,9 @@ Listen 0.0.0.0:8843 https
SSLCertificateFile /var/serving-cert/tls.crt
SSLCertificateKeyFile /var/serving-cert/tls.key
+ Header set Access-Control-Allow-Origin *
+ Header set Access-Control-Allow-Methods "GET"
+
DocumentRoot /app/connfa/public
<Directory />
Options Indexes FollowSymLinks MultiViews
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]