first docker draft
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
FROM nginx:latest
|
||||
|
||||
COPY ./default.conf /etc/nginx/conf.d/default.conf
|
||||
COPY ./bashrc /root/.bashrc
|
||||
COPY ./inputrc /root/.inputrc
|
||||
@@ -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'
|
||||
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
set show-all-if-ambiguous on
|
||||
set completion-ignore-case on
|
||||
Reference in New Issue
Block a user