How to Fix Nextcloud Not Working With NGINX

Whether you install Nextcloud manually, with Softaculous, or using their Web Installer, you may login only to see CSS issues preventing you from using the web application.

Nextcloud CSS issues due to NGINX

See the image for an example of how this may appear:

If your new Nextcloud installation resembles this, the issue may be related to your NGINX cPanel Cache Manager settings.

Note: the cPanel Cache Manager is only available on our WordPress Hosting, Managed VPS Hosting, and Dedicated server hosting plans.

Our customized NGINX static content acceleration ignores .htaccess rules and serves data directly from the file system. This can create issues in Nextcloud and other content management systems (CMSs) that depend on .htaccess rules to serve content correctly.

Below we cover how to use Nextcloud on your NGINX server.

Per our Terms of Service, Nextcloud should only be installed on our top VPS hosting or higher. Contact our Live Support directly with questions regarding this.

Modify cPanel Cache Manager for Nextcloud

  1. Log into cPanel
  2. Select the Cache Manager
  3. Select the Nextcloud domain or parent domain from the drop-down menu
  4. Select the Options tab
  5. Select Show Advanced Options at the bottom for more settings
  6. Under Accelerate Static Content, select Disable
  7. Save Changes
  8. If you refresh Nextcloud (F5 or Ctrl+R), the application should look normal now

Remember, storing files online is risky by default. After you get Nextcloud working, consider some of these free Nextcloud apps:

If you have any issues with Nextcloud on NGINX, let us know in our Community Support Center.

J
Jacqueem Content Writer I

Technical writer focused on cybersecurity and musicianship.

More Articles by Jacqueem

Comments

It looks like this article doesn't have any comments yet - you can be the first. If you have any comments or questions, start the conversation!

Was this article helpful? Let us know!