update conf

This commit is contained in:
2026-02-03 13:52:30 +04:00
parent 031333b616
commit bc4cd21771
2 changed files with 5 additions and 17 deletions

View File

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

View File

@@ -4,7 +4,11 @@ backend:
branch: main branch: main
site_domain: stepanovplaton.ru site_domain: stepanovplaton.ru
base_url: https://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" media_folder: "public/images"
public_folder: "/images" public_folder: "/images"
collections: collections: