server {
listen 80;
server_name localhost;
root /data;
gzip on;
location / {
proxy_pass http://127.0.0.1:8000;
proxy_set_header Accept-Encoding "";
}
location /bde-css/ {
}
}
server {
listen 127.0.0.1:8000;
location / {
proxy_pass http://127.0.0.1:8001;
sub_filter '' '
';
sub_filter_once on;
proxy_set_header Accept-Encoding "";
}
}
server {
listen 127.0.0.1:8001;
gunzip on;
location / {
proxy_pass http://namenode:50070;
proxy_set_header Accept-Encoding gzip;
}
}