Not a developer? Go to MovableType.com

Documentation

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.

Switch from Apache httpd to nginx

sudo /app/tools/switch-webserver nginx

Switch from nginx to Apache httpd

sudo /app/tools/switch-webserver httpd

Confirm current web server running

sudo /app/tools/switch-webserver status

Note

  • The switch-webserver command switches the web server running on the instance, but does not touch configurations and settings such as .htaccess.
Back