You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
742 B
36 lines
742 B
5 years ago
|
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 '</head>' '<link rel="stylesheet" type="text/css" href="/bde-css/materialize.min.css">
|
||
|
<link rel="stylesheet" type="text/css" href="/bde-css/bde-hadoop.css"></head>';
|
||
|
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;
|
||
|
}
|
||
|
}
|