Migrate bnkops.com deployment to v2 + archive site
- Migrate Gitea data from bnkopschangemaker to changemaker.lite v2 - Configure Pangolin/Newt tunnel with 17 resources (replaces Cloudflare) - Add archive.bnkops.com with 9 preserved documentation sites - Move bnkops landing page into MkDocs build system (lander.html) - Serve root domain from mkdocs/site/ built output - Add nginx routing for archive.bnkops.com and gitea.bnkops.com - Strip V2 technical docs from nav (to be deployed separately on cmlite.org) - Update all landing page links: changemaker → cmlite.org, repo → archive.bnkops.com - Add archive insert system (JS/CSS injection for contextual callouts) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,22 @@
|
||||
# Archive — preserved documentation from all versions
|
||||
server {
|
||||
listen 80;
|
||||
server_name archive.${DOMAIN};
|
||||
|
||||
location / {
|
||||
set $upstream_archive http://archive-bnkops:80;
|
||||
proxy_pass $upstream_archive;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
}
|
||||
|
||||
# Gitea — allows iframe embedding from admin (app.${DOMAIN})
|
||||
server {
|
||||
listen 80;
|
||||
server_name git.${DOMAIN};
|
||||
server_name gitea.${DOMAIN};
|
||||
add_header Content-Security-Policy "frame-ancestors 'self' app.${DOMAIN}" always;
|
||||
|
||||
# Increase max body size for large git pushes (2GB)
|
||||
|
||||
Reference in New Issue
Block a user