Views: 4148
Last Modified: 26.09.2024
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/
.
Configure two files:
vhosts.d/default.conf
- replace directory in site description to var/www/html/bx-site
;
httpd/listen.conf
- indicate port 8090 for Listen port.
After that, start the service
systemctl --now enable apache2