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>
This commit is contained in:
22
deploy/nginx/compose.conf
Normal file
22
deploy/nginx/compose.conf
Normal file
@@ -0,0 +1,22 @@
|
||||
server {
|
||||
listen 8080;
|
||||
server_name localhost;
|
||||
client_max_body_size 64m;
|
||||
root /usr/share/nginx/html;
|
||||
location /api/ {
|
||||
proxy_pass http://api:18080;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_read_timeout 60s;
|
||||
}
|
||||
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;
|
||||
}
|
||||
location / { try_files $uri $uri/ /index.html; }
|
||||
}
|
||||
Reference in New Issue
Block a user