How to switch web server running on the Instance (Amazon Linux 2023)
Movable Type AMI Edition with Amazon Linux 2023 supports both nginx and Apache httpd and switching web servers. The Apache httpd loads in default. The switch-webserver command switches nginx and Apache httpd.
sudo /app/tools/switch-webserver nginx
sudo /app/tools/switch-webserver httpd
sudo /app/tools/switch-webserver status
- The switch-webserver command switches the web server running on the instance, but does not touch configurations and settings such as .htaccess.