From 5805f1e81ca38db9d5620769f9c4281bd2f996e6 Mon Sep 17 00:00:00 2001 From: mike Date: Sun, 28 Dec 2025 07:59:46 +0100 Subject: [PATCH] chore: update 8 file(s) --- Dockerfile | 6 +----- nginx.conf | 6 +++--- 404.html => www/404.html | 0 chatv3.js => www/chatv3.js | 0 favico.svg => www/favico.svg | 0 favicon.ico => www/favicon.ico | Bin index.html => www/index.html | 2 +- style.css => www/style2.css | 0 8 files changed, 5 insertions(+), 9 deletions(-) rename 404.html => www/404.html (100%) rename chatv3.js => www/chatv3.js (100%) rename favico.svg => www/favico.svg (100%) rename favicon.ico => www/favicon.ico (100%) rename index.html => www/index.html (98%) rename style.css => www/style2.css (100%) diff --git a/Dockerfile b/Dockerfile index bc44116..366a551 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,3 @@ FROM nginx:alpine -COPY index.html /usr/share/nginx/html/ -COPY style.css /usr/share/nginx/html/ -COPY chatv3.js /usr/share/nginx/html/ -COPY 404.html /usr/share/nginx/html/ -COPY favicon.ico /usr/share/nginx/html/ +COPY ./wwww /usr/share/nginx/html/ COPY nginx.conf /etc/nginx/conf.d/default.conf diff --git a/nginx.conf b/nginx.conf index 1d71fb1..d610cd1 100644 --- a/nginx.conf +++ b/nginx.conf @@ -16,8 +16,8 @@ server { log_not_found off; } - location = style.css { - try_files /style.css =204; + location = style2.css { + try_files /style2.css =204; } location = chatv3.js { @@ -53,7 +53,7 @@ server { # Proxy API requests to stoic.lan (192.168.1.159) location /api/stoic/ { - proxy_pass http://192.168.1.159:1234/v1/; + proxy_pass http://192.168.1.159:8081/v1/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; diff --git a/404.html b/www/404.html similarity index 100% rename from 404.html rename to www/404.html diff --git a/chatv3.js b/www/chatv3.js similarity index 100% rename from chatv3.js rename to www/chatv3.js diff --git a/favico.svg b/www/favico.svg similarity index 100% rename from favico.svg rename to www/favico.svg diff --git a/favicon.ico b/www/favicon.ico similarity index 100% rename from favicon.ico rename to www/favicon.ico diff --git a/index.html b/www/index.html similarity index 98% rename from index.html rename to www/index.html index a26b217..4eea667 100644 --- a/index.html +++ b/www/index.html @@ -4,7 +4,7 @@ Chat - + diff --git a/style.css b/www/style2.css similarity index 100% rename from style.css rename to www/style2.css