By default, the
Nginx web server in Shares is configured to listen on IPv6 ports in addition to the
standard IPv4 ports. If your operating system does not support IPv6, Nginx is unable
to start and Shares fails to load for your users. To disable IPv6
support in Shares, you must edit the nginx.conf configuration
file.
-
Edit the nginx.conf configuration file, located at:
/opt/aspera/shares/etc/nginx/nginx.conf
-
In the
server
sections, comment out the following lines:
listen [::]:80;
listen [::]:443;
After making the changes, your
nginx.conf
server
sections may look like the following example:
server {
listen 80;
# listen [::]:80;
return ^ 301 https://$host$request_uri;
}
server {
listen 443;
# listen [::]:443;
ssl on;
[...]
}
-
Save your changes.
-
Reload the nginx.conf file with the following
command:
# /opt/aspera/shares/sbin/nginx -s reload
-
Test your changes. Try to access Shares by entering an IPv6 address in the
browser.