mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-13 17:51:05 +03:30
fix values
This commit is contained in:
+5
-5
@@ -616,7 +616,7 @@ configMap:
|
|||||||
add_header 'Access-Control-Allow-Credentials' 'true';
|
add_header 'Access-Control-Allow-Credentials' 'true';
|
||||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, PUT, DELETE';
|
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, PUT, DELETE';
|
||||||
add_header 'Access-Control-Allow-Headers'
|
add_header 'Access-Control-Allow-Headers'
|
||||||
'DNT,Authorization,Cssd_doc_session,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';
|
'DNT,Authorization,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';
|
||||||
add_header 'Access-Control-Max-Age' 10;
|
add_header 'Access-Control-Max-Age' 10;
|
||||||
add_header 'Content-Type' 'text/plain charset=UTF-8';
|
add_header 'Content-Type' 'text/plain charset=UTF-8';
|
||||||
add_header 'Content-Length' 0;
|
add_header 'Content-Length' 0;
|
||||||
@@ -628,7 +628,7 @@ configMap:
|
|||||||
add_header 'Access-Control-Allow-Credentials' 'true';
|
add_header 'Access-Control-Allow-Credentials' 'true';
|
||||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, PUT, DELETE';
|
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, PUT, DELETE';
|
||||||
add_header 'Access-Control-Allow-Headers'
|
add_header 'Access-Control-Allow-Headers'
|
||||||
'DNT,Authorization,Cssd_doc_session,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';
|
'DNT,Authorization,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($request_method = 'GET' ) {
|
if ($request_method = 'GET' ) {
|
||||||
@@ -636,7 +636,7 @@ configMap:
|
|||||||
add_header 'Access-Control-Allow-Credentials' 'true';
|
add_header 'Access-Control-Allow-Credentials' 'true';
|
||||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, PUT, DELETE';
|
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, PUT, DELETE';
|
||||||
add_header 'Access-Control-Allow-Headers'
|
add_header 'Access-Control-Allow-Headers'
|
||||||
'DNT,Authorization,Cssd_doc_session,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';
|
'DNT,Authorization,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($request_method = 'PUT' ) {
|
if ($request_method = 'PUT' ) {
|
||||||
@@ -644,7 +644,7 @@ configMap:
|
|||||||
add_header 'Access-Control-Allow-Credentials' 'true';
|
add_header 'Access-Control-Allow-Credentials' 'true';
|
||||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, PUT, DELETE';
|
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, PUT, DELETE';
|
||||||
add_header 'Access-Control-Allow-Headers'
|
add_header 'Access-Control-Allow-Headers'
|
||||||
'DNT,Authorization,Cssd_doc_session,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';
|
'DNT,Authorization,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($request_method = 'DELETE' ) {
|
if ($request_method = 'DELETE' ) {
|
||||||
@@ -652,7 +652,7 @@ configMap:
|
|||||||
add_header 'Access-Control-Allow-Credentials' 'true';
|
add_header 'Access-Control-Allow-Credentials' 'true';
|
||||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, PUT, DELETE';
|
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, PUT, DELETE';
|
||||||
add_header 'Access-Control-Allow-Headers'
|
add_header 'Access-Control-Allow-Headers'
|
||||||
'DNT,Authorization,Cssd_doc_session,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';
|
'DNT,Authorization,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';
|
||||||
}
|
}
|
||||||
fastcgi_pass localhost:9000;
|
fastcgi_pass localhost:9000;
|
||||||
fastcgi_split_path_info ^(.+\.php)(.*)$;
|
fastcgi_split_path_info ^(.+\.php)(.*)$;
|
||||||
|
|||||||
Reference in New Issue
Block a user