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 @@