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
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.
51 lines
2.4 KiB
Plaintext
51 lines
2.4 KiB
Plaintext
# Include inside the existing nginx http{} context after substituting reviewed
|
|
# values. Independent root only. Do not replace the existing Docs/Demo server.
|
|
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 @DOCS_ORIGIN@ @APP_ORIGIN@";
|
|
~^/(r/[A-Za-z0-9._-]+/)?docs/ "default-src 'none'; script-src 'self'; style-src 'self'; img-src 'self'; frame-src @APP_ORIGIN@ blob:; object-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'";
|
|
}
|
|
server {
|
|
listen @LISTEN@;
|
|
server_name @SERVER_NAME@;
|
|
@TLS_DIRECTIVES@
|
|
root @ROOT@/current;
|
|
index index.html;
|
|
autoindex off;
|
|
server_tokens off;
|
|
# Do not log query strings (transfer session tokens) or any user documents.
|
|
access_log off;
|
|
client_max_body_size 1k;
|
|
include /etc/nginx/mime.types;
|
|
default_type application/octet-stream;
|
|
gzip on;
|
|
gzip_static 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 @ROOT@/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 Cache-Control "no-store" always;
|
|
add_header X-Content-Type-Options nosniff always;
|
|
return 404 "Asset Studio resource not found\n";
|
|
}
|
|
}
|