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