improved bashrc; changed volumes for file migration eg: d7.materio.com

This commit is contained in:
2018-12-17 15:46:26 +01:00
parent 1b7efa8c25
commit 04bfc68b6b
11 changed files with 35 additions and 6 deletions

View File

@@ -1,3 +1,5 @@
FROM nginx:latest
COPY ./default.conf /etc/nginx/conf.d/default.conf
COPY ./bashrc /root/.bashrc
COPY ./inputrc /root/.inputrc

3
Docker/nginx/bashrc Normal file
View File

@@ -0,0 +1,3 @@
PS1='\e[36m\e[1mNGINX\e[0m:\e[90m\w\e[0m\n$ '
bind '"\e[A": history-search-backward'
bind '"\e[B": history-search-forward'

View File

@@ -1,6 +1,6 @@
server {
listen 80 default_server;
root /var/www/html;
root /var/www/html/d8.materio.com/public_html;
index index.html index.php;
server_name *.materio.com;

2
Docker/nginx/inputrc Normal file
View File

@@ -0,0 +1,2 @@
set show-all-if-ambiguous on
set completion-ignore-case on