Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lsu2l-0004zr-3M for pgsql-novice@arkaria.postgresql.org; Mon, 14 Jun 2021 21:22:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lsu2k-0007Zm-29 for pgsql-novice@arkaria.postgresql.org; Mon, 14 Jun 2021 21:22:50 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lsu2j-0007Wr-RO for pgsql-novice@lists.postgresql.org; Mon, 14 Jun 2021 21:22:49 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lsu2h-0004Tn-Nf for pgsql-novice@postgresql.org; Mon, 14 Jun 2021 21:22:48 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1lsu2g-0008L8-Ua; Mon, 14 Jun 2021 17:22:46 -0400 Date: Mon, 14 Jun 2021 17:22:46 -0400 From: Bruce Momjian To: Sammy K Cc: pgsql-novice@postgresql.org Subject: Re: Mime Type Error Linux Message-ID: <20210614212246.GA18623@momjian.us> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Jun 14, 2021 at 12:25:49AM +0200, Sammy K wrote: > Hello, > I just installed pgAdmin according to  > https://www.pgadmin.org/docs/pgadmin4/development/server_deployment.html# > nginx-configuration-with-uwsgi > on my Linux Server behind uWSGI and Nginx.  > I cant get past the login page however since i get javascript errors: > > Refused to apply style from 'http://---/login?next= > %2Fbrowser%2Fbrowser.css%3Fver%3D50300' because its MIME type ('text/html') is > not a supported stylesheet MIME type, and strict MIME checking is enabled. > > Refused to execute script from 'http://---/login?next= > %2Fuser_management%2Fcurrent_user.js%3Fver%3D50300' because its MIME type > ('text/html') is not executable, and strict MIME type checking is enabled. > > I tried accessing the page with Chrome and Firefox, neither worked. Whilst > looking for solutions i only found fixes for pgAdmin hosted on windows, i am > howevery running linux which doesnt have a registry. Am i doing something > wrong? For pgAdmin support, see: https://www.pgadmin.org/support/list/ or email pgadmin-support@postgresql.org -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com If only the physical world exists, free will is an illusion.