1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

check nginx

This commit is contained in:
1
2024-12-25 12:58:12 +06:00
parent d5ca89edf9
commit b87b43433e
3 changed files with 22 additions and 20 deletions

View File

@@ -1,10 +1,14 @@
server {
listen 80;
server_name 185.139.70.62; # Изменяем на IP сервера
server_name localhost;
root /usr/share/nginx/html;
index index.html;
# Добавляем заголовки для отладки
add_header X-Debug-Path $request_uri;
add_header X-Debug-Root $document_root;
location / {
try_files $uri $uri/ /index.html;
expires -1;