added nginx with include after body style with materialize CSS

This commit is contained in:
Ivan Ermilov
2016-05-18 16:33:38 +02:00
parent a8bbe0d4b7
commit b3522d1662
7 changed files with 264 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
server {
listen 80;
server_name localhost;
root /data;
add_after_body /bde-css/custom.html;
location / {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_cache_bypass $http_upgrade;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-NginX-Proxy true;
proxy_redirect off;
proxy_pass http://namenode:50070;
#rewrite ^/sparql/(.*)$ /$1 break;
}
location /bde-css/ {
}
}