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
+6
View File
@@ -0,0 +1,6 @@
FROM nginx
MAINTAINER "Ivan Ermilov <mailto:ivan.s.ermilov@gmail.com>"
COPY default.conf /etc/nginx/conf.d/default.conf
COPY custom.html /data/bde-css/custom.html
+59
View File
@@ -0,0 +1,59 @@
body {
background: #F1F1F1;
}
body > .container {
margin: 5rem auto;
background: white;
box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
}
header.bs-docs-nav {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 3rem;
border: none;
background: #A94F74;
box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
}
header.bs-docs-nav .navbar-brand {
background: inherit;
}
#ui-tabs .active a {
background: #B96A8B;
}
#ui-tabs > li > a {
color: white;
}
.navbar-inverse .navbar-nav > .dropdown > a .caret {
border-top-color: white;
border-bottom-color: white;
}
.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
background-color: #B96A8B;
}
.dropdown-menu > li > a {
color: #A94F74;
}
.modal-dialog .panel-success {
border-color: lightgrey;
}
.modal-dialog .panel-heading {
background-color: #A94F74 !important;
}
.modal-dialog .panel-heading select {
margin-top: 1rem;
}
+77
View File
File diff suppressed because one or more lines are too long
+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/ {
}
}
+16
View File
File diff suppressed because one or more lines are too long