From 32149a88e19fafedff7e32f56666a9d1ba14e811 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 27 Sep 2026 16:40:33 -0500 Subject: [PATCH] Inline CSS into index.html and add nginx config --- flux-index.html | 136 ------------------ index.html | 366 +++++++++++++++++++++++++++++++++++++++++++++++ nginx.Dockerfile | 4 + nginx.conf | 9 ++ 4 files changed, 379 insertions(+), 136 deletions(-) delete mode 100644 flux-index.html create mode 100644 index.html create mode 100644 nginx.Dockerfile create mode 100644 nginx.conf diff --git a/flux-index.html b/flux-index.html deleted file mode 100644 index 6770976..0000000 --- a/flux-index.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - Flux Image Generator - - - -

Flux Image Generator

-

Powered by flux-schnell

- -
- - -
- -
- - -
- -
-
- - -
- -
- -

- -
- -
- - - - diff --git a/index.html b/index.html new file mode 100644 index 0000000..d16fc78 --- /dev/null +++ b/index.html @@ -0,0 +1,366 @@ + + + + + + Flux Image Generator + + + +

Flux Image Generator

+

Powered by flux-schnell

+ +
+ + +
+ +
+ + +
+ +
+
+ + +
+ +
+ +

+ +
+ +
+ + + + diff --git a/nginx.Dockerfile b/nginx.Dockerfile new file mode 100644 index 0000000..4a3a36e --- /dev/null +++ b/nginx.Dockerfile @@ -0,0 +1,4 @@ +FROM nginx:alpine +COPY nginx.conf /etc/nginx/conf.d/default.conf +COPY index.html /usr/share/nginx/html/index.html +COPY styles.css /usr/share/nginx/html/styles.css diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..70aa73e --- /dev/null +++ b/nginx.conf @@ -0,0 +1,9 @@ +server { + listen 80; + root /usr/share/nginx/html; + index index.html; + + location / { + try_files $uri $uri/ =404; + } +}