Created
October 18, 2016 06:35
-
-
Save luceos/c2d5a63a89fa5be5a2fe7cfd34123402 to your computer and use it in GitHub Desktop.
gitlab.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nginx['custom_gitlab_server_config'] = "location ~ ^\/satis\/ {\n root /var/www/satis/public;\n index index.html index.php;\n rewrite ^\/satis(.*\.[json|html])$ $1 break;\n try_files $uri @satis;\n }\n location @satis {\n root /var/www/satis/public;\n fastcgi_pass unix:/var/run/php/php-fpm.sock;\n include /etc/gitlab/nginx/fastcgi_params;\n }\n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment