Rework admin panel and other
This commit is contained in:
@@ -9,12 +9,18 @@ server {
|
||||
try_files $uri /index.php?$args; # Обработка запросов
|
||||
}
|
||||
|
||||
|
||||
|
||||
location /sveden/ {
|
||||
alias /var/www/public/sveden/;
|
||||
index index.html;
|
||||
try_files $uri $uri/ /sveden/index.html; # Обработка статических файлов
|
||||
}
|
||||
|
||||
location = /sveden {
|
||||
return 301 /sveden/;
|
||||
}
|
||||
|
||||
location ~ \.php$ {
|
||||
try_files $uri =404; # Если файл не найден, возвращаем 404
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$; # Разделение пути
|
||||
|
||||
Reference in New Issue
Block a user