Update default.conf

This commit is contained in:
Mikhail 2024-12-17 22:39:45 +00:00
parent f8a7a8a67b
commit 3fda03a566

@ -21,6 +21,10 @@ server {
try_files $uri $uri/ /index.html; try_files $uri $uri/ /index.html;
} }
location /test {
return 500;
}
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;