Update default.conf
This commit is contained in:
parent
e4d50a87d3
commit
ade66918df
@ -21,6 +21,10 @@ server {
|
|||||||
try_files $uri $uri/ /index.html;
|
try_files $uri $uri/ /index.html;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /502 {
|
||||||
|
return 502;
|
||||||
|
}
|
||||||
|
|
||||||
location /answer/ {
|
location /answer/ {
|
||||||
if ($request_method = OPTIONS) {
|
if ($request_method = OPTIONS) {
|
||||||
add_header Access-Control-Allow-Origin $http_origin always;
|
add_header Access-Control-Allow-Origin $http_origin always;
|
||||||
|
Loading…
Reference in New Issue
Block a user