Contact us Login LIVE DEMO FREE TRIAL

Install SSL certificate

Navixy is using web server called “nginx”. This article describes how to quickly install SSL certificate for nginx web server on any OS.

  1. Find configuration files for your sites. On linux they are typically in /etc/nginx/sites-enabled/ folder
  2. Change the listening port from 80 to 443, and add the following lines to each site’s configuration, specifying the correct path to your certificate and key files.
    ssl_certificate /etc/nginx/ssl/certificate.crt;
    ssl_certificate_key /etc/nginx/ssl/private.key;
    ssl on;
    ssl_session_cache shared:SSL:10m;
    ssl_session_timeout 10m;

    Here’s an example for API site configuration:

    server {
        listen   443 ssl; ## listen for ipv4
        server_name  api.domain.com;
        access_log  /var/log/nginx/api.domain.com_ssl.access.log;
        client_max_body_size 20m;
    
        ssl_certificate /etc/nginx/ssl/certificate.crt;
        ssl_certificate_key /etc/nginx/ssl/private.key;
        ssl on;
        ssl_session_cache shared:SSL:10m;
        ssl_session_timeout 10m;
    
        location / {
            proxy_pass http://127.0.0.1:8084;
        }
    }
  3. Restart nginx web server. For linux
    nginx -t && nginx -s reload

    Ensure nginx doesn’t give any error related to SSL.

  4. Next we need to tell Navixy to use HTTPS protocol instead of HTTP. Open the following files:
    /var/www/panel-v2/PConfig.js
    /var/www/pro-ui/Config.js
    In both files, edit the parameter “apiRoot”, changing “http” to “https”:

    apiRoot: 'https://api.domain.com',

    No need to restart Navixy services after this, the changes should take effect immidiately.

  5. In case the page is still trying to load over HTTP, clear your browser’s cache

If you have more questions please contact our support team

Contacts

USA: +1 858 815 9045

Mexico: +52 334 1642158

UK: +44 808 1641499

Germany: +49 1573 5988250

Russia: +7 495 317 1622

Log in

Loading...

We use сookies to improve our website, products and related services, analyze site traffic, and serve targeted advertisements. If you continue to use our services, you consent to our use of сookies. Read more