User Tools

Site Tools


сервис_http

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
сервис_http [2025/11/22 10:20]
val [NGINX]
сервис_http [2026/07/21 13:03] (current)
val [CentOS]
Line 77: Line 77:
 <​code>​ <​code>​
 root@server:​~#​ apt install apache2 root@server:​~#​ apt install apache2
 +
 +root@server:​~#​ less /​etc/​apache2/​ports.conf
 </​code>​ </​code>​
  
Line 88: Line 90:
 </​code>​ </​code>​
  
-==== CentOS ====+==== CentOS, AlmaLinux ​====
  
-  * Сервис Firewall [[Сервис Firewall#​CentOS]]+  * Сервис Firewall [[Сервис Firewall#​CentOS, AlmaLinux]]
  
 <​code>​ <​code>​
Line 255: Line 257:
 root@server:​~#​ apachectl -t root@server:​~#​ apachectl -t
 </​code>​ </​code>​
 +
 +  * [[Letsencrypt Certbot#​Настройка SSL для сайта]]
  
 ==== FreeBSD ==== ==== FreeBSD ====
Line 474: Line 478:
  
 root@server:​~#​ ls /​etc/​apache2/​mods-enabled/​ | grep php root@server:​~#​ ls /​etc/​apache2/​mods-enabled/​ | grep php
 +...
 +
 +root@server:​~#​ cat /​etc/​php/​M.N/​apache2/​php.ini
 +...
 +date.timezone = Europe/​Moscow
 ... ...
  
Line 895: Line 904:
 ===== Установка и запуск сервера Nginx ===== ===== Установка и запуск сервера Nginx =====
  
 +  * [[https://​habr.com/​ru/​companies/​gnivc/​articles/​977196/​|Nginx для начинающих:​ точная настройка процессов,​ заголовков,​ SSL, keepalive и маршрутизации запросов]]
   * [[https://​mail.bmstu.ru:​9100/​~val/​Mastering%20NGINX%20RUS.pdf]]   * [[https://​mail.bmstu.ru:​9100/​~val/​Mastering%20NGINX%20RUS.pdf]]
   * [[https://​blog.sefdar.ru/​nginx-%D0%BF%D0%B5%D1%80%D0%B5%D0%BD%D0%B0%D0%BF%D1%80%D0%B0%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D1%8F-proxy_redirect-%D0%B8-redirect/​|NGINX перенаправления proxy_redirect и redirect]]   * [[https://​blog.sefdar.ru/​nginx-%D0%BF%D0%B5%D1%80%D0%B5%D0%BD%D0%B0%D0%BF%D1%80%D0%B0%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D1%8F-proxy_redirect-%D0%B8-redirect/​|NGINX перенаправления proxy_redirect и redirect]]
Line 915: Line 925:
 === Подключение,​ тестирование,​ применение и мониторинг конфигурации === === Подключение,​ тестирование,​ применение и мониторинг конфигурации ===
 <​code>​ <​code>​
-# ln -s /​etc/​nginx/​sites-available/​user1 /​etc/​nginx/​sites-enabled/​user1+# ln -s /​etc/​nginx/​sites-available/​user1 /​etc/​nginx/​sites-enabled/​
  
 # service nginx configtest # service nginx configtest
сервис_http.1763796026.txt.gz · Last modified: 2025/11/22 10:20 by val