1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00
This commit is contained in:
MoonTestUse1
2024-12-25 23:11:13 +06:00
parent 73dd2877ba
commit c42bc6b4a2

View File

@@ -1,12 +1,9 @@
server {
listen 80 default_server;
server_name _;
listen 80;
server_name 185.139.70.62;
root /usr/share/nginx/html;
index index.html;
# Отключаем автоиндексацию
autoindex off;
# Основной location для SPA
location / {
@@ -33,7 +30,4 @@ server {
expires 1y;
add_header Cache-Control "public, no-transform";
}
# Обработка ошибок
error_page 404 /index.html;
}