Created
March 3, 2013 14:26
-
-
Save umrashrf/5076313 to your computer and use it in GitHub Desktop.
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
GNU nano 2.2.4 File: /etc/nginx/sites-enabled/gitlab | |
# GITLAB | |
# Maintainer: @randx | |
# App Version: 4.0 | |
upstream gitlab { | |
server unix:/home/gitlab/gitlab/tmp/sockets/gitlab.socket; | |
} | |
server { | |
listen *:80; # e.g., listen 192.168.1.1:80; | |
server_name gitlab-ci.local; # e.g., server_name source.example.com; | |
root /home/gitlab/gitlab/public; | |
# individual nginx logs for this gitlab vhost | |
access_log /var/log/nginx/gitlab_access.log; | |
error_log /var/log/nginx/gitlab_error.log; | |
location / { | |
# serve static files from defined root folder;. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment