Disable IPv6 for SSL as well

This commit is contained in:
Sameer Naik 2014-12-23 19:20:33 +05:30
parent 6ddc208fed
commit 1d152b52c3
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,8 @@
# Changelog
**latest**
- disable nginx ipv6 if host does not support it.
**7.6.0**
- add support for configuring piwik
- gitlab-shell: upgrade to v.2.4.0

View File

@ -606,6 +606,7 @@ fi
# disable ipv6 support
if [ ! -f /proc/net/if_inet6 ]; then
sed -e '/listen \[::\]:80/ s/^#*/#/' -i /etc/nginx/sites-enabled/gitlab
sed -e '/listen \[::\]:443/ s/^#*/#/' -i /etc/nginx/sites-enabled/gitlab
fi
# fix permission and ownership of ${GITLAB_DATA_DIR}