gitwebhook.conf 359 B

1234567891011121314
  1. server {
  2. listen 80;
  3. server_name www.shenggh.top;
  4. access_log /data/log/nginx/test.nginx.error.log main;
  5. proxy_redirect off;
  6. proxy_set_header Host $host;
  7. proxy_set_header X-Real-IP $remote_addr;
  8. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  9. location / {
  10. proxy_pass http://unix:/var/run/test.sock;
  11. }
  12. }