type
concept
created
Tue Apr 07 2026 02:00:00 GMT+0200 (Central European Summer Time)
updated
Tue Apr 07 2026 02:00:00 GMT+0200 (Central European Summer Time)
sources
raw/notes/techContext
tags
deployment urls nginx production infrastructure

Deployment URLs

abstract
All B2BPaper services are accessible via `b2bpaper.xdvu.com` with the marketplace mounted at `/mvp/`, reverse-proxied through Nginx with Let's Encrypt SSL.

Overview

The wiki/entities/b2bpaper platform is deployed on a single Contabo VPS and accessed through Nginx-proxied URLs on the b2bpaper.xdvu.com domain. All public access goes through HTTPS. Internal services bind to 127.0.0.1 and are not directly accessible from the internet.

Public URLs

URL Purpose Notes
https://b2bpaper.xdvu.com/mvp/ Marketplace root Redirects to Swagger docs
https://b2bpaper.xdvu.com/mvp/api/docs/ Swagger UI OpenAPI documentation via drf-spectacular
https://b2bpaper.xdvu.com/mvp/admin/ Django Admin Staff-only admin interface
https://b2bpaper.xdvu.com/mvp/static/ Static files CSS, JS, images served by Nginx
https://b2bpaper.xdvu.com/mvp/app/ Angular frontend Built SPA served as static files

Internal URLs

URL Purpose Notes
http://127.0.0.1:8910 Gunicorn (Django) Internal only, proxied by Nginx

Django Configuration

The marketplace is mounted at /mvp/ using Django's script name mechanism:

SSL

The domain uses a Let's Encrypt certificate via a wildcard cert on b2bpaper.xdvu.com (shared with tracker.xdvu.com). All HTTP traffic is redirected to HTTPS.

API Prefix

Within the /mvp/ mount, the API is prefixed with /api/v1/:

Critical Rules

Sources

Related