Merge branch 'feature/cross-origin' into 'develop'

Access-Control-Allow-Origin

See merge request pleroma/pleroma!52
This commit is contained in:
lambda 2018-01-26 23:30:11 +00:00
commit 46c8f79cd7

View file

@ -22,6 +22,7 @@ server {
server_name example.tld;
location / {
add_header 'Access-Control-Allow-Origin' '*';
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";