control-panel

This commit is contained in:
Lev 2025-12-09 22:17:47 +03:00
parent 0e20a01a5b
commit 91443a777f
4 changed files with 435 additions and 8 deletions

View file

@ -9,7 +9,7 @@ server {
location / {
if ($request_method = 'OPTIONS') {
add_header 'Access-Control-Allow-Origin' 'https://spectralvpn.ru';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Methods' 'GET, POST, DELETE, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'Content-Type';
add_header 'Access-Control-Max-Age' 86400;
return 204;