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; server_name example.tld;
location / { location / {
add_header 'Access-Control-Allow-Origin' '*';
proxy_http_version 1.1; proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade"; proxy_set_header Connection "upgrade";