Commit 155e8cab authored by Kevin Daudt's avatar Kevin Daudt 💻
Browse files

gitlab/nginx: link config in new location

In alpine 3.14, the vhost configuration is expected to be located in
`/etc/nginx/http.d/`

Fixes #6
parent a90737a6
......@@ -42,9 +42,9 @@ install_conf() {
install -Dm644 /home/git/gitlab/lib/support/logrotate/gitlab \
/etc/gitlab/logrotate/gitlab
fi
if [ ! -f "/etc/gitlab/nginx/conf.d/default.conf" ]; then
if [ ! -f "/etc/gitlab/nginx/http.d/default.conf" ]; then
install -Dm644 /home/git/gitlab/lib/support/nginx/gitlab \
/etc/gitlab/nginx/conf.d/default.conf
/etc/gitlab/nginx/http.d/default.conf
fi
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment