cors-connect

This commit is contained in:
2023-10-11 14:39:08 +03:00
parent c468500109
commit a395e4e55d
2 changed files with 6 additions and 1 deletions

View File

@@ -51,6 +51,10 @@ server {
# Custom location block for /connect
location /connect {
proxy_pass http://presence-8080;
{{ $cors_headers_options }}
{{ $cors_headers_post }}
{{ $cors_headers_get }}
}
location ~* \.(jpg|jpeg|png|gif|ico|css|js)$ {