Files
yhy-mager/deploy/nginx/download-local.conf
xiewenjun 54c318c615
Some checks failed
Check / delivery-static (push) Has been cancelled
Check / api (push) Has been cancelled
Check / web (push) Has been cancelled
feat: implement license platform business flows and delivery tooling
Add admin and customer interfaces, orders, signed activation and leases, protected package delivery, keyring verification, migrations, security controls, tests and deployment documentation.

Co-Authored-By: Craft Agent <agents-noreply@craft.do>
2026-10-09 15:33:22 +08:00

19 lines
721 B
Plaintext

# Isolated development reverse-proxy fragment. Mount PACKAGE_STORAGE_ROOT read-only at /srv/license-packages.
# The upstream application must set X-Accel-Redirect only after authorization and audit commit.
server {
listen 18181;
server_name 127.0.0.1;
location = /_packages { return 404; }
location /_packages/ {
internal;
alias /srv/license-packages/;
autoindex off;
disable_symlinks on;
add_header Cache-Control "private, no-store" always;
add_header X-Package-SHA256 $upstream_http_x_package_sha256 always;
limit_except GET HEAD { deny all; }
}
client_max_body_size 64m;
location / { proxy_pass http://host.docker.internal:18082; }
}