Changing the port the web server uses

Asked by UntouchedWagons

Hello, I would like to know if it's possible and if so how to change the port that the MAAS webserver uses from 5420 to 80.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu maas Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1
Revision history for this message
UntouchedWagons (untouchedwagons) said :
#2

I don't see anything about changing the web server port.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Security
Security protocols
By default, TLS (Transport Layer Security) is disabled in MAAS. However, if you want to enable TLS to ensure secure communication, you can follow these instructions:

Open the command-line interface (CLI) on the machine running MAAS.

Run the following command as a superuser (sudo):

sudo maas config-tls enable $key $cert --port YYYY

This command will enable TLS for the MAAS instance. More information about MAAS native TLS can be found here

Will give SSL (you'll need to raise a certificate) on the port you specify. Another way is to install nginx, then have that redirect traffic on port 80 to 5420 for you

Can you help with this problem?

Provide an answer of your own, or ask UntouchedWagons for more information if necessary.

To post a message you must log in.