From bc4cd21771d37d5bb38d00aded012ef2691de9d0 Mon Sep 17 00:00:00 2001 From: StepanovPlaton Date: Tue, 3 Feb 2026 13:52:30 +0400 Subject: [PATCH] update conf --- nginx.conf | 16 ---------------- public/admin/config.yml | 6 +++++- 2 files changed, 5 insertions(+), 17 deletions(-) delete mode 100644 nginx.conf diff --git a/nginx.conf b/nginx.conf deleted file mode 100644 index 9b910c7..0000000 --- a/nginx.conf +++ /dev/null @@ -1,16 +0,0 @@ -server { - listen 8091; - server_name _; - root /usr/share/nginx/html; - index index.html; - - # location ~ ^([^.\?]*[^/])$ { - # return 301 $1/; - # } - - location / { - try_files $uri $uri/ $uri.html; - } - - error_page 404 /404.html; -} diff --git a/public/admin/config.yml b/public/admin/config.yml index 7a0fac1..f56e384 100644 --- a/public/admin/config.yml +++ b/public/admin/config.yml @@ -4,7 +4,11 @@ backend: branch: main site_domain: stepanovplaton.ru base_url: https://stepanovplaton.ru - auth_endpoint: oauth + auth_endpoint: oauth + +# Явно указываем site_url для правильного формирования OAuth callback URL +# Это предотвращает добавление порта 8091 к OAuth ссылкам +site_url: https://stepanovplaton.ru media_folder: "public/images" public_folder: "/images" collections: