Knowledge Base
All Categories How to's Nginx Configuration

Nginx Configuration

If you are running Freelance Cockpit on Nginx you need to use the following configuration instead of the .htaccess file:

location / {
    try_files $uri $uri/ /index.php?r=$request_uri;
}

location ~* \.(zip)$ {
  rewrite ^(.*)$ /index.php?/$1;  
}

Was this article helpful?