Доброго времени суток, Перешёл с дебиан 9 на дебиан 11 - настройки теже, . Не работает просто не видет урл. Помогите пожалуйста найти ошибку , чтоб настроить.. апач Код (Text): <VirtualHost *:80> ServerAdmin admin@example.com ServerName example.com ServerAlias www.example.com DocumentRoot /var/www/example.com/ ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost> Код (Text): ServerName 127.0.1.1 Mutex file:${APACHE_LOCK_DIR} default PidFile ${APACHE_PID_FILE} Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 5 User ${APACHE_RUN_USER} Group ${APACHE_RUN_GROUP} HostnameLookups Off ErrorLog ${APACHE_LOG_DIR}/error.log LogLevel warn IncludeOptional mods-enabled/*.load IncludeOptional mods-enabled/*.conf Include ports.conf <Directory /> Options FollowSymLinks AllowOverride None Require all denied </Directory> <Directory /usr/share> AllowOverride None Require all granted </Directory> <Directory /var/www/> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory> #<Directory /srv/> # Options Indexes FollowSymLinks # AllowOverride None # Require all granted #</Directory> AccessFileName .htaccess <FilesMatch "^\.ht"> Require all denied </FilesMatch> LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %O" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent IncludeOptional conf-enabled/*.conf IncludeOptional sites-enabled/*.conf нгинс Код (Text): server{ listen 80; root /var/www/example.com; index index.html index.php index.htm; server_name example.com www.example.com; access_log /var/www/example.com/log/access.log; error_log /var/www/example.com/log/error.log; # xrennaideshmyphpmyadmin - это ваш секретный путь к phpMyadmin, таким образом всё # что касается phpMyadmin, будет отдавать Apacheи страница будет корректно отображаться. # Картинки и прочее отдаёт Nginx location ~*^(?!/xrennaideshmyphpmyadmin/).+\.(jpg|jpeg|gif|png|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|tar|wav|b)$ { access_log off; expires 30d; } # запрет на доступ к .htaccess location ~/\.ht { deny all; } #phpmyadmin location /phpmyadmin { root /var/www/example.com; index index.php; try_files $uri $uri/ =404; location ~ ^/phpmyadmin/(doc|sql|setup)/ { deny all; } location ~ /phpmyadmin/(.+\.php)$ { fastcgi_pass unix:/run/php/php7.2-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; #include snippets/fastcgi-php.conf; include fastcgi_params; } } # Если есть ошибка 404, то выводим свою страницу данной ошибки. error_page 404 /er404.html; # передача запроса апачу location /{ proxy_pass http://127.0.0.1:81/; # Порт на котором висит Apache proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-for $remote_addr; proxy_set_header Host $host; proxy_connect_timeout 300; proxy_send_timeout 300; proxy_read_timeout 300; proxy_redirect off; proxy_set_header Connection close; proxy_pass_header Content-Type; proxy_pass_header Content-Disposition; proxy_pass_header Content-Length; } } Код (Text): user www-data; worker_processes auto; pid /run/nginx.pid; events { worker_connections 768; } http { sendfile on; tcp_nopush on; tcp_nodelay on; keepalive_timeout 65; types_hash_max_size 2048; # разрешаем загружать указанный максимальный объем файла; влияет на заливку дампа БД на сервер client_max_body_size 10m; # скрываем версию сервера nginx server_tokens off; include /etc/nginx/mime.types; default_type application/octet-stream; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; gzip on; gzip_disable "msie6"; gzip_vary on; # Разрешить выдавать в ответе строку заголовка "Vary: Accept-Encoding" gzip_proxied any; # Разрешить сжатие для всех проксированных запросов gzip_comp_level 6; # Степень сжатия (от 1 до 9 цифра больше увеличивает степень сжатия и увеличивает нагрузку на ЦПУ) gzip_buffers 16 8k; # Размер буферов, в которые будет сжиматься ответ gzip_http_version 1.1; # Устанавливает минимальную HTTP-версию запроса для сжатия ответа gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript; #include /etc/nginx/conf.d/*.conf; # Если папка conf.d пустая, то можно закомментировать include /etc/nginx/sites-enabled/*; }