From d3dfdff87d37a6a8774dcadd450ee365863e5d20 Mon Sep 17 00:00:00 2001 From: Nyan404 Date: Tue, 18 Mar 2025 22:33:04 +0300 Subject: [PATCH 1/2] Moved to Alpine Nginx instead of standalone --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4c4fcc9..c4e6f07 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Используем официальный образ nginx -FROM nginx +FROM nginx:alpine # Устанавливаем локаль UTF-8 (решает проблемы внутри контейнера) ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 From 437571538dbf17182c8136b712b33f0a3d85c64a Mon Sep 17 00:00:00 2001 From: Nyan404 Date: Tue, 18 Mar 2025 22:34:51 +0300 Subject: [PATCH 2/2] Removed utf-8 from location --- nginx.conf | 1 - 1 file changed, 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index 00f912d..ea3db58 100644 --- a/nginx.conf +++ b/nginx.conf @@ -51,7 +51,6 @@ http { location ~* \.(js)$ { types { application/javascript js; } charset utf-8; - add_header Content-Type application/javascript;charset=utf-8; } error_page 500 502 503 504 /50x.html;