Page tree
Skip to end of metadata
Go to start of metadata
  1. Connect to master node via SSH
  2. Create a backup of configuration file:

    # cp -a /usr/local/svmstack/nginx/conf/services/legacy-master.conf{,.bkp}
  3. Replace every `listen PORT PROTOCOL` directive with `listen [::]:PORT PROTOCOL`:

    Before the changes:

    # grep -rin listen /usr/local/svmstack/nginx/conf/services/
    /usr/local/svmstack/nginx/conf/services/legacy-master.conf:2: listen 5656 ssl;
    /usr/local/svmstack/nginx/conf/services/legacy-master.conf:57: listen 443 ssl;
    /usr/local/svmstack/nginx/conf/services/legacy-master.conf:115: listen 80;
    /usr/local/svmstack/nginx/conf/services/legacy-master.conf:123: listen 5353;

    After changes:

    # grep -rin listen /usr/local/svmstack/nginx/conf/services/
    /usr/local/svmstack/nginx/conf/services/legacy-master.conf:2: listen [::]:5656 ssl;
    /usr/local/svmstack/nginx/conf/services/legacy-master.conf:57: listen [::]:443 ssl;
    /usr/local/svmstack/nginx/conf/services/legacy-master.conf:115: listen [::]:80;
    /usr/local/svmstack/nginx/conf/services/legacy-master.conf:123: listen [::]:5353;
  4. Restart svmstack-nginx:

    # service svmstack-nginx restart

notice that /usr/local/svmstack/nginx/conf/services/serial-console-socket.conf file was not touched here as it is not related to SolusVM interface but to HTML5 console. If you want HTML5 console to be available via IPv6, perform the similar changes in /usr/local/svmstack/nginx/conf/services/serial-console-socket.conf file.


  • No labels