Mime Type Error Linux

From: Sammy K <miater(dot)logto(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Mime Type Error Linux
Date: 2021-06-13 22:25:49
Message-ID: CAE7wMLa0EGzVmQKRebyna5OYr=YdxW63_rC-PymF7LtYpBpAoQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

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?

Best Regards,
Paul

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Ron Watkins 2021-06-14 18:43:08 Azure Postgres PAAS
Previous Message Simon Connah 2021-06-09 15:04:03 Re: Where does PostgreSQL store extensions on OpenSUSE?