This repository has been archived on 2019-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
goget/goget.conf

17 lines
473 B
Plaintext

server {
listen 80;
server_name golang.org www.golang.org go.googlesource.com;
proxy_set_header Accept-Encoding "";
gzip on;
gzip_min_length 1000;
gzip_buffers 4 16k;
gzip_types text/plain application/x-javascript text/css text/html
application/xml;
gzip_disable "MSIE [1-6]\.";
location / {
proxy_pass http://localhost:8080/;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
}
}