AMIMOTO-AMI comes ready with Multisite config settings, however, these settings are disabled by default.

Step 1: Log in as Root

Follow this guide to log in as root on AMIMOTO.

Step 2: Edit NGINX Config

This file will either be the default file or a custom one you've created.




Next, located the line for wp-singlesite and comment that out and uncomment the line wp-multisite-subdir.

server {
    listen unix:/var/run/nginx-backend.sock default;
    root /var/www/vhosts/;
    index index.php index.html index.htm;
    access_log /var/log/nginx/ backend;
    keepalive_timeout 25;
    port_in_redirect off;
    gzip off;
    gzip_vary off;
    #include /etc/nginx/wp-singlesite;
    include /etc/nginx/wp-multisite-subdir;

Step 3: Restart NGINX

For these change to take affect restart NGINX.

$ service nginx restart
Did this answer your question?