Apache communicates via HTTP/2

master
rohhie 2023-05-28 14:45:44 +00:00
parent 7153dcae2c
commit 9c83f0057a
1 changed files with 2 additions and 1 deletions

View File

@ -94,7 +94,7 @@ sudo a2ensite example.net gitea kopano test
[ ! -d /var/www/test ] && sudo mkdir /var/www/test && sudo chown $(whoami):$(whoami) /var/www/test [ ! -d /var/www/test ] && sudo mkdir /var/www/test && sudo chown $(whoami):$(whoami) /var/www/test
secho 3 "=== モジュールの有効化" secho 3 "=== モジュールの有効化"
sudo a2enmod ssl rewrite proxy_http headers sudo a2enmod ssl rewrite proxy_http headers http2
secho 3 "=== 警告を止める設定" secho 3 "=== 警告を止める設定"
echo "ServerName localhost" | sudo tee /etc/apache2/conf-available/fqdn.conf > /dev/null echo "ServerName localhost" | sudo tee /etc/apache2/conf-available/fqdn.conf > /dev/null
@ -222,4 +222,5 @@ echo "================================================"
echo "8" > $SCRIPTHOME/.setupphase.txt echo "8" > $SCRIPTHOME/.setupphase.txt
secho 3 "=== セットアップ完了" secho 3 "=== セットアップ完了"
echo "rmvコマンドが正しく動作するように、一度端末を開き直してください"
exit exit