Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions deployment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ curl -fsS http://127.0.0.1:1422/ | head

Configure **`PENGINE_SUBDOMAIN`** on the **Pengui** repo (Certbot + nginx vhost); see Pengui `deployment/README.md`.

If the browser warns that the certificate is for **`penguinpool.space`** (or another hostname) when you open **`https://pengine.net`**, nginx is serving a **default TLS certificate** that does not list **`pengine.net`** in **Subject Alternative Name**. Fix it on the server:

1. Confirm DNS **`A`/`AAAA`** for `pengine.net` points at this host.
2. Obtain a certificate that **includes `pengine.net`** (e.g. Certbot: add `-d pengine.net` to the existing certificate request, or run a separate cert for `pengine.net` and point the `pengine.net` `server` block at those files).
3. Reload nginx so the `server_name pengine.net` block uses that certificate (not the pool-only cert).

## Remove the container and pull a fresh image

Use this after a new image tag is published, if the container is stuck, or you want to clear the cached local image.
Expand Down
28 changes: 14 additions & 14 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,21 @@ export default defineConfig(async () => {
},
},
},
server: {
port: 1420,
strictPort: true,
host: host || false,
hmr: host
? {
protocol: "ws",
host,
port: 1421,
}
: undefined,
watch: {
ignored: ["**/src-tauri/**"],
server: {
port: 1420,
strictPort: true,
host: host || false,
hmr: host
? {
protocol: "ws",
host,
port: 1421,
}
: undefined,
watch: {
ignored: ["**/src-tauri/**"],
},
},
},
// Production build preview — not Vite’s default 4173 (avoids clashes e.g. with other Vite apps / tooling); adjacent to dev :1420.
preview: {
port: 1422,
Expand Down