Skip to main content

Default public web root

If you installed Mixpost using the Standalone method you may instruct your web server(Nginx/Apache/Anything else) the default public web root.

You should set the default public web root to the "/public" folder of the Mixpost Standalone project.

An example of Nginx:

Nginx

server {
    listen 80;
    root /var/www/your-mixpost-project/public;
    index index.php index.html;

	// your nginx configs
}

Apache

<VirtualHost *:80>
    ServerAdmin webmaster@yourdomain.com
    DocumentRoot "/var/www/your-mixpost-project/public"
    ServerName yourdomain.com
    ServerAlias www.yourdomain.com

    <Directory "/var/www/your-mixpost-project/public">
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>

    // your apache configs
</VirtualHost>