From 032f49040ae732a36b99a86d9c5845402106c776 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 21 Jul 2017 18:47:38 +0200 Subject: [PATCH] Do not enable CORS on the data-transfer. --- .../templates/generic-smartgears-virtualhost.j2 | 3 --- 1 file changed, 3 deletions(-) diff --git a/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2 b/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2 index 6556a9e..b9843c0 100644 --- a/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2 +++ b/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2 @@ -79,9 +79,6 @@ server { {% endif %} {% if data_transfer_service_install %} location /data-transfer-service { - {% if smartgears_nginx_cors_enabled %} - include /etc/nginx/snippets/nginx-cors.conf; - {% endif %} proxy_pass http://localhost:{{ smartgears_http_port }}/data-transfer-service; } {% endif %}