This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/nginx/global/php-restrictions.conf | |
| # Don't throw any errors for missing favicons and don't display them in the logs | |
| location = /favicon.ico { | |
| log_not_found off; | |
| access_log off; | |
| } | |
| # Don't log missing robots or show them in the nginx logs | |
| location = /robots.txt { | |
| allow all; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-get update | |
| sudo apt-get upgrade | |
| Установка программ | |
| sudo apt install apache2 mysql-server mysql-client vsftpd ssh mc git | |
| Настройка php | |
| Включаем php в виде модуля апачи: | |
| sudo apt install php7.0 libapache2-mod-php7.0 | |
| sudo a2enmod rewrite |