Ввести регулярную публикацию отладочной версии (#6)

This commit is contained in:
2025-11-12 04:39:19 +01:00
parent 8e8442a2e7
commit 9b2731ea9c
5 changed files with 71 additions and 2 deletions

View File

@@ -26,7 +26,6 @@ server {
root /var/www/html;
# Add index.php to the list if you are using PHP
index index.html;
server_name _;
@@ -36,6 +35,7 @@ server {
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
add_header "Access-Control-Allow-Origin" "*";
add_header "Cache-Control" "max-age=43200";
# Remove CORS.
if ($request_method = "OPTIONS") {
add_header "Access-Control-Allow-Origin" "*";