diff --git a/config_public_alpine.js b/config_public_alpine.js new file mode 100644 index 0000000..351fe23 --- /dev/null +++ b/config_public_alpine.js @@ -0,0 +1,19 @@ +// The root filesystem location +export const diskImageUrl = "wss://disks.webvm.io/alpine_20240307_i3_slimmed.ext2"; +// The root filesystem backend type +export const diskImageType = "cloud"; +// Print an introduction message about the technology +export const printIntro = false; +// Is a graphical display needed +export const needsDisplay = true; +// Executable full path (Required) +export const cmd = "/sbin/init"; +// Arguments, as an array (Required) +export const args = []; +// Optional extra parameters +export const opts = { + // User id + uid: 0, + // Group id + gid: 0 +}; diff --git a/nginx.conf b/nginx.conf index ac8a1ea..e446d41 100644 --- a/nginx.conf +++ b/nginx.conf @@ -38,6 +38,7 @@ http { add_header 'Cross-Origin-Opener-Policy' 'same-origin' always; add_header 'Cross-Origin-Embedder-Policy' 'require-corp' always; add_header 'Cross-Origin-Resource-Policy' 'cross-origin' always; + try_files $uri /index.html; } } } diff --git a/src/routes/alpine/+page.svelte b/src/routes/alpine/+page.svelte new file mode 100644 index 0000000..b3e7a7f --- /dev/null +++ b/src/routes/alpine/+page.svelte @@ -0,0 +1,6 @@ + + +