Views: 3176
Last Modified: 22.03.2021

By default, Apache is configured for default site in the catalog /var/www/html.

The main setup is required for Apache config is as follows:

  • update catalog for the site at var/www/html/bx-site;
  • update port that service listens (because nginx is used as an external service);
  • import site settings from virtual appliance.

All configuration files can be downloaded in archive . Config files for Apache are located in the folder: sles15/httpd.

Place them in the directory /etc/apache2/.

Two files must be configured:

  • vhosts.d/default.conf - replace directory in site description to var/www/html/bx-site;
  • httpd/listen.conf - indicate port 8090 for Listen.

After that, start the service

systemctl --now enable apache2


Courses developed by Bitrix24