docs: provide nginx config for no-Docker self-hosted installs #24

Open
opened 2026-04-05 22:09:03 -07:00 by pyr0ball · 0 comments
Owner

Context

install.sh now supports a no-Docker path that runs the FastAPI API directly with uvicorn and serves web/dist/ via python3 -m http.server. That works for testing but is not suitable for production (no TLS, single-threaded HTTP server, no proper proxy).

Needed

A sample nginx config for self-hosters running without Docker:

server {
    listen 80;
    root /path/to/snipe/web/dist;
    index index.html;

    location /api/ {
        proxy_pass http://127.0.0.1:8510;
    }

    location / {
        try_files $uri $uri/ /index.html;
    }
}

Document in README and as docs/nginx-selfhost.conf.

Raised from

Self-hosted install testing (Strahl, no-Docker path).

## Context `install.sh` now supports a no-Docker path that runs the FastAPI API directly with uvicorn and serves `web/dist/` via `python3 -m http.server`. That works for testing but is not suitable for production (no TLS, single-threaded HTTP server, no proper proxy). ## Needed A sample nginx config for self-hosters running without Docker: ```nginx server { listen 80; root /path/to/snipe/web/dist; index index.html; location /api/ { proxy_pass http://127.0.0.1:8510; } location / { try_files $uri $uri/ /index.html; } } ``` Document in README and as `docs/nginx-selfhost.conf`. ## Raised from Self-hosted install testing (Strahl, no-Docker path).
pyr0ball added this to the Public Launch milestone 2026-04-05 22:09:03 -07:00
pyr0ball added the
backlog
enhancement
labels 2026-04-05 22:09:03 -07:00
pyr0ball added the
infra
label 2026-04-05 23:32:39 -07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Circuit-Forge/snipe#24
No description provided.