mirror of
https://github.com/StepanovPlaton/AboutMe.git
synced 2026-04-03 20:30:49 +04:00
update conf
This commit is contained in:
16
nginx.conf
16
nginx.conf
@@ -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;
|
||||
}
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user