remove cred header
This commit is contained in:
@@ -159,7 +159,6 @@ http {
|
|||||||
if ($request_method = OPTIONS ) {
|
if ($request_method = OPTIONS ) {
|
||||||
# Add CORS headers for preflight request
|
# Add CORS headers for preflight request
|
||||||
add_header 'Access-Control-Allow-Origin' "$http_origin" always;
|
add_header 'Access-Control-Allow-Origin' "$http_origin" always;
|
||||||
add_header 'Access-Control-Allow-Credentials' 'true' always;
|
|
||||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS' always;
|
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS' always;
|
||||||
add_header 'Access-Control-Allow-Headers' 'Authorization, Content-Type' always;
|
add_header 'Access-Control-Allow-Headers' 'Authorization, Content-Type' always;
|
||||||
add_header 'Access-Control-Max-Age' 1728000;
|
add_header 'Access-Control-Max-Age' 1728000;
|
||||||
@@ -167,7 +166,6 @@ http {
|
|||||||
}
|
}
|
||||||
|
|
||||||
add_header 'Access-Control-Allow-Origin' "$http_origin" always;
|
add_header 'Access-Control-Allow-Origin' "$http_origin" always;
|
||||||
add_header 'Access-Control-Allow_Credentials' 'true' always;
|
|
||||||
add_header 'Access-Control-Allow-Headers' 'Authorization, Content-Type' always;
|
add_header 'Access-Control-Allow-Headers' 'Authorization, Content-Type' always;
|
||||||
|
|
||||||
proxy_pass http://MIH-AI:11434/;
|
proxy_pass http://MIH-AI:11434/;
|
||||||
|
|||||||
Reference in New Issue
Block a user