Remove additional CORS header for Sockethub

This would add a second value in addition to the one Sockethub sets
itself, which then broke the client.
This commit is contained in:
Basti 2017-01-20 15:09:18 +08:00
parent 671a2c4421
commit e95bda621e

View File

@ -52,9 +52,6 @@ server {
# Enable WebSockets
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
# CORS
add_header 'Access-Control-Allow-Origin' '*';
}
<% if File.exist?(@ssl_cert) && File.exist?(@ssl_key) -%>