Myvideo

Guest

Login

05 - Уроки Linux. Настройка nginx

Uploaded By: Myvideo
19 views
0
0 votes
0

Настройка nginx в ОС Linux: Базовый конфиг. Для yii2 пропишем новый в следующем уроке. server { listen 80 default_server; listen [::]:80 default_server ipv6only=on; #Настроить здесь путь к своему сайту! #root /var/www/site/; root /var/www/yii/project/backend/web/; index ; # Make site accessible from http://localhost/ server_name localhost; location / { try_files $uri $uri/ =404; include /etc/nginx/fastcgi_params; fastcgi_pass unix:/run/php/; fastcgi_param SCRIPT_FILENAME $document_root/; } }

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later