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

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

- -
-
- Generated image - ⬇ Download PNG -
-
- - - - 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

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

+ +
+
+ Generated image + ⬇ Download PNG +
+
+ + + + 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; + } +}