mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-25 14:08:09 +00:00
Disable IPv6 for SSL as well
This commit is contained in:
parent
6ddc208fed
commit
1d152b52c3
@ -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
|
||||
|
||||
@ -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}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user