@willie_grady
Для настройки серверных блоков в Nginx:
1 2 3 4 5 6 |
server { listen 80; server_name example.com www.example.com; root /var/www/example.com; index index.html; } |
1
|
sudo ln -s /etc/nginx/sites-available/example.com /etc/nginx/sites-enabled/ |
1
|
sudo systemctl restart nginx |