first docker draft

This commit is contained in:
2022-04-25 10:12:27 +02:00
commit 8eaa2a1143
33 changed files with 1497 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
FROM nginx:latest
COPY ./default.conf /etc/nginx/conf.d/default.conf
COPY ./bashrc /root/.bashrc
COPY ./inputrc /root/.inputrc
+3
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'
+16
View File
@@ -0,0 +1,16 @@
server {
listen 80;
root /var/www/html/performance-art.fr/static_html;
index index.html index.js index.css index.json index.woff index.ttf index.png index.gif;
server_name static.performance-art.fr;
rewrite ^/(fr|en)/(sites|modules|misc)/(.*)$ /$2/$3 last;
rewrite ^/(fr|en)/perfart/ajax/(.*)$ /$1/perfart/ajax/$2.json last;
charset utf-8;
access_log on;
error_log /var/log/nginx/error.log error;
}
+2
View File
@@ -0,0 +1,2 @@
set show-all-if-ambiguous on
set completion-ignore-case on