Re: Mime Type Error Linux

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Sammy K <miater(dot)logto(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Mime Type Error Linux
Date: 2021-06-14 21:22:46
Message-ID: 20210614212246.GA18623@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

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(at)postgresql(dot)org

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

If only the physical world exists, free will is an illusion.

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Laurenz Albe 2021-06-15 07:03:27 Re: Azure Postgres PAAS
Previous Message Ron Watkins 2021-06-14 18:43:08 Azure Postgres PAAS