301 Moved Permanently

Hi,
We are trying to install MAAS, after successful installation of MAAS on a server with Ubuntu 22.04 server version, we are facing an issue.
When we try to curl MAAS URL, we are getting a message saying it’s “permanently moved”.

curl http://172.16.11.60:5240/MAAS

301 Moved Permanently

301 Moved Permanently


nginx/1.18.0 (Ubuntu)

MAAS version installed --> 3.2.6-12016-g.19812b4da
Any help would be appreciated, Thank you.

Also in that message should be the url that it “moved” to. I believe the field name is location but it will be obvious when you see it. The “fix” is probably something as simple as adding a trailing / or switching from http to https

Try curl -sv http://172.16.11.60:5240/MAAS and look at the Location header in the reply, it will tell you where the document moved to.