don't be default
This commit is contained in:
parent
6cc844c8ed
commit
7e693ff6d0
1 changed files with 4 additions and 4 deletions
8
debian/conf/nginx.conf.example
vendored
8
debian/conf/nginx.conf.example
vendored
|
@ -17,7 +17,7 @@
|
|||
## See installation.md#using-https for additional HTTPS configuration details.
|
||||
|
||||
upstream gitlab-workhorse {
|
||||
server unix:/home/git/gitlab/tmp/sockets/gitlab-workhorse.socket fail_timeout=0;
|
||||
server unix:/usr/share/gitlab/tmp/sockets/gitlab-workhorse.socket fail_timeout=0;
|
||||
}
|
||||
|
||||
## Normal HTTP host
|
||||
|
@ -26,11 +26,11 @@ server {
|
|||
## or delete the /etc/nginx/sites-enabled/default file. This will cause gitlab
|
||||
## to be served if you visit any address that your server responds to, eg.
|
||||
## the ip address of the server (http://x.x.x.x/)n 0.0.0.0:80 default_server;
|
||||
listen 0.0.0.0:80 default_server;
|
||||
listen [::]:80 default_server;
|
||||
listen 0.0.0.0:80;
|
||||
listen [::]:80;
|
||||
server_name YOUR_SERVER_FQDN; ## Replace this with something like gitlab.example.com
|
||||
server_tokens off; ## Don't show the nginx version number, a security best practice
|
||||
root /home/git/gitlab/public;
|
||||
root /usr/share/gitlab/public;
|
||||
|
||||
## See app/controllers/application_controller.rb for headers set
|
||||
|
||||
|
|
Loading…
Reference in a new issue