From 5f1fc6d9126e1df5949b98e79b76d8dea516af00 Mon Sep 17 00:00:00 2001 From: mercury Date: Sun, 6 Oct 2024 21:04:13 +0400 Subject: [PATCH] override html mock --- .gitignore | 3 ++- config/nginx.conf | 4 ++-- config/nginx_default.conf | 4 ++-- version | 2 ++ 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index eeec54b..d34f76d 100644 --- a/.gitignore +++ b/.gitignore @@ -19,4 +19,5 @@ mirror/.env update/* !update/update.sh -override.env \ No newline at end of file +override.env +override.html \ No newline at end of file diff --git a/config/nginx.conf b/config/nginx.conf index b2f4808..e81d430 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -31,7 +31,7 @@ http { location / { root /app; - index login.html; + index override.html login.html; try_files $uri $uri/ =404; } location /adguard/ { @@ -123,7 +123,7 @@ http { # location / { # root /app; - # index login.html; + # index override.html login.html; # try_files $uri $uri/ =404; # } # location /adguard/ { diff --git a/config/nginx_default.conf b/config/nginx_default.conf index b2f4808..e81d430 100644 --- a/config/nginx_default.conf +++ b/config/nginx_default.conf @@ -31,7 +31,7 @@ http { location / { root /app; - index login.html; + index override.html login.html; try_files $uri $uri/ =404; } location /adguard/ { @@ -123,7 +123,7 @@ http { # location / { # root /app; - # index login.html; + # index override.html login.html; # try_files $uri $uri/ =404; # } # location /adguard/ { diff --git a/version b/version index 503a22b..ddc72ce 100644 --- a/version +++ b/version @@ -1,3 +1,5 @@ +06.10.2024 v1.64 +- возможность установить свою html-заглушку 06.10.2024 v1.63 - приоритет правила block над остальными в стандартном шаблоне sing-box 30.09.2024 v1.62