Add CORS.

This commit is contained in:
Ivaylo Novakov 2021-11-03 10:17:44 +01:00
parent 45688eeab1
commit adff743fde
No known key found for this signature in database
GPG Key ID: 06B9354AB08BE9C6
1 changed files with 2 additions and 0 deletions

View File

@ -113,6 +113,8 @@ location /skynet/registry {
}
location /skynet/restore {
include /etc/nginx/conf.d/include/cors;
client_max_body_size 5M;
}