Skip to content

Instantly share code, notes, and snippets.

View wgzhao's full-sized avatar

wgzhao wgzhao

  • China
View GitHub Profile
server {
listen 8880;
server_name gollum;
location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_pass http://localhost:9090;
access_log /var/log/nginx/gollum.access.log;