sudo apt install apache2 sudo a2enmod rewrite sudo nano /etc/apache2/apache2.conf None All Override sudo apt install php php-curl php-ctype php-mbstring php-xml php-simplexml php-zip php-apcu php-opcache php-yaml php-gd echo "" | sudo tee /var/www/html/phpinfo.php lovCry git clone / cd /var/www/html sudo chown -R www-data:www-data . sudo find . -type f | sudo xargs chmod 664 sudo find ./bin -type f | sudo xargs chmod 775 sudo find ./bin -type f | sudo xargs chmod 775 sudo find . -type d | sudo xargs chmod +s -------------------------------------- ServerName dolgnub.gbox.network ServerAlias dolgnub.gbox.network DocumentRoot "/var/www/grav" Require all granted Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined systemctl reload apache2 sudo apt install certbot python3-certbot-apache sudo certbot --apache