aboutsummaryrefslogtreecommitdiff
path: root/www/gitlab/files/patch-lib_support_nginx_gitlab-ssl
blob: cdcc25d5e2780546a50f8836206dbf03e5b7b525 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- lib/support/nginx/gitlab-ssl.orig	2023-04-05 16:11:51 UTC
+++ lib/support/nginx/gitlab-ssl
@@ -23,7 +23,7 @@
 upstream gitlab-workhorse {
   # GitLab socket file,
   # for Omnibus this would be: unix:/var/opt/gitlab/gitlab-workhorse/sockets/socket
-  server unix:/home/git/gitlab/tmp/sockets/gitlab-workhorse.socket fail_timeout=0;
+  server unix:%%PREFIX%%/www/gitlab-ce/tmp/sockets/gitlab-workhorse.socket fail_timeout=0;
 }
 
 map $http_upgrade $connection_upgrade_gitlab_ssl {
@@ -161,7 +161,7 @@ server {
   location ~ ^/(404|422|500|502|503)\.html$ {
     # Location to the GitLab's public directory,
     # for Omnibus this would be: /opt/gitlab/embedded/service/gitlab-rails/public
-    root /home/git/gitlab/public;
+    root %%PREFIX%%/www/gitlab-ce/public;
     internal;
   }
 }