Advertisement
Guest User

Nginx server configuration.

a guest
Mar 30th, 2021
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. upstream gitlab-workhorse {
  2. server unix:/var/opt/gitlab/gitlab-workhorse/sockets/socket fail_timeout=0;
  3. }
  4.  
  5. server {
  6. listen 443 ssl;
  7.  
  8. server_name gitlab.сайт;
  9.  
  10. access_log /var/log/nginx/gitlab_access.log;
  11. error_log /var/log/nginx/gitlab_error.log;
  12.  
  13. location / {
  14. proxy_set_header Host $http_host;
  15.  
  16. proxy_pass http://gitlab-workhorse;
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement