Files
aego/deploy/aeditor.akarpov.ru.conf
T
sanspie 50be5c04bc
ci-platforms / darwin amd64 smoke (push) Skipped
GitHub / linux amd64 native GitHub-hosted native CI: success
ci-platforms / windows amd64 smoke (push) Skipped
GitHub / windows amd64 native GitHub-hosted native CI: success
GitHub / darwin arm64 native GitHub-hosted native CI: success
GitHub / darwin amd64 native GitHub-hosted native CI: success
ci / checks (push) Failing after 1h21m34s
ci / native-authoring (push) Skipped
ci-platforms / darwin arm64 smoke (push) Skipped
github-native / gitea-pending (push) Skipped
github-native / darwin amd64 native (push) Skipped
github-native / linux amd64 native (push) Skipped
github-native / windows amd64 native (push) Skipped
github-native / darwin arm64 native (push) Skipped
github-native / gitea-result (push) Skipped
ci / build (amd64, linux, ubuntu-24.04) (push) Successful in 12m4s
ci / release (push) Skipped
Stage 12.5: Art Workspace and asset authoring
Add dockable Art tools, animation and previews, guarded asset workflows,
and the Web Asset Studio built on the shared Art Core. Expand English and
Russian documentation, interactive Try scenes, examples and editor icons.

Add audio waveform navigation, source analysis, guarded previews and a
browser Worker mixer. Preserve source changes and recovery with bounded
checks, and strengthen native, browser and interoperability CI.

Prepare version 0.12.5 and manually built native artifact candidates.
Fix the production site image demo build dependency.
Reuse immutable scene indices when capturing keyframes.
Wait for real Persist save/load completion in component tests.
Stabilize browser Game View captures outside pointer hover.
Aseprite interchange and persistent Audio EDL recovery remain limited;
the artifact workflow does not publish releases or change stable.
2026-11-15 10:37:50 +03:00

76 lines
3.3 KiB
Plaintext

# Dedicated Asset Studio origin. Install only after the exact release artifact
# has passed its gates and been staged under this separate deployment root.
# The existing aego.akarpov.ru and default vhosts are not replaced.
map $uri $aeditor_cache {
default "no-cache";
"~\.[a-f0-9]{16}\.(js|css|wasm)(\.gz)?$" "public, max-age=31536000, immutable";
}
map $uri $aeditor_csp {
default "default-src 'none'; script-src 'self' 'wasm-unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob:; connect-src 'self'; font-src 'self'; object-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'";
~^/(r/[A-Za-z0-9._-]+/)?embed/ "default-src 'none'; script-src 'self' 'wasm-unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob:; connect-src 'self'; font-src 'self'; object-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors https://aego.akarpov.ru https://aeditor.akarpov.ru";
~^/(r/[A-Za-z0-9._-]+/)?docs/ "default-src 'none'; script-src 'self'; style-src 'self'; img-src 'self'; frame-src https://aeditor.akarpov.ru blob:; object-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'";
}
server {
listen 80;
listen [::]:80;
server_name aeditor.akarpov.ru;
return 301 https://aeditor.akarpov.ru$request_uri;
}
server {
listen 443 ssl;
listen [::]:443 ssl;
listen 443 quic;
listen [::]:443 quic;
http2 on;
server_name aeditor.akarpov.ru;
ssl_certificate /etc/nginx/ssl/akarpov-wildcard/fullchain.pem;
ssl_certificate_key /etc/nginx/ssl/akarpov-wildcard/privkey.pem;
root /var/www/aego-asset-studio/current;
index index.html;
autoindex off;
server_tokens off;
# Query strings can contain transfer session tokens; never log them.
access_log off;
client_max_body_size 1k;
# Pin the release MIME types instead of depending on host-specific lists;
# unlisted formats such as .aeart, .aseprite and .md remain binary downloads.
types {
text/html html;
text/css css;
text/javascript js;
text/plain txt;
application/json json;
application/wasm wasm;
image/png png;
}
default_type application/octet-stream;
gzip on;
gzip_static on;
gzip_vary on;
gzip_types application/wasm application/json text/javascript application/javascript text/css;
add_header Content-Security-Policy $aeditor_csp always;
add_header Cache-Control $aeditor_cache always;
add_header X-Content-Type-Options nosniff always;
add_header Referrer-Policy no-referrer always;
add_header Permissions-Policy "camera=(), microphone=(), geolocation=()" always;
error_page 404 = @aeditor_not_found;
location ~ (^|/)\. { return 404; }
location /r/ {
alias /var/www/aego-asset-studio/releases/;
limit_except GET HEAD { deny all; }
}
location / {
try_files $uri $uri/index.html =404;
limit_except GET HEAD { deny all; }
}
location @aeditor_not_found {
types { }
default_type text/plain;
add_header Content-Security-Policy "default-src 'none'; frame-ancestors 'none'" always;
add_header Cache-Control "no-store" always;
add_header X-Content-Type-Options nosniff always;
return 404 "Asset Studio resource not found\n";
}
}