Results

Configure http

All major client implementations (Firefox, Chrome, Safari, Opera, IE, Edge) have stated that they will only support HTTP/2 over TLS, which makes encryption de facto mandatory.

MAIA contains an nginx web server. Settings are edited in the default template file:

installation path/opt/data/t2maia/sysconfig.db/nginx/default.nginx.conf

By default MAIA listens to port number 8888

Activate https to listen to port 7777 through:

  • Uncommenting lines described in the example below.
  • Adding a ssl_certificate.
  • Adding a ssl_certificate_key.

Restart MAIA Software.

ipv maia_core restart

Example

maia@install-test1:/opt/data/t2maia/var/log/maia_core$ cat /opt/data/t2maia/sysconfig.db/nginx/default.nginx.conf
server {
    root /opt/data/t2maia/htdocs;
    server_name localhost;

    listen 8888;
    port_in_redirect off;

    #  Uncomment these lines to enable HTTPS
    #
    # listen 7777 ssl;
    # ssl_certificate /etc/pki/tls/certs/ssl.crt;
    # ssl_certificate_key /etc/pki/tls/private/ssl.key;

    client_max_body_size 2M;

    include /opt/data/t2maia/etc/nginx/subsites/*;
}