Move Apache site conf file to a dedicated directory

This commit is contained in:
Alexandre CATTEAU 2022-03-21 12:02:33 +01:00
parent b266e8b498
commit 5bcd9619f1
2 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ tls_cert() {
set_apache() { set_apache() {
echo "Setting up Apache HTTP Server" echo "Setting up Apache HTTP Server"
cp $run_directory_path/scanservjs.conf $apache_sites_directory_path/ cp $run_directory_path/apache-sites/scanservjs.conf $apache_sites_directory_path/
a2dissite * a2dissite *
a2ensite scanservjs a2ensite scanservjs
a2enmod ssl proxy proxy_http proxy_http2 a2enmod ssl proxy proxy_http proxy_http2