Update default.conf

This commit is contained in:
Mikhail 2024-08-15 14:34:00 +00:00
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;