Correction nginx install

This commit is contained in:
Mathieu Sanchez 2019-04-03 17:00:02 +09:00
parent 7d17c873ab
commit 26faa6189e
2 changed files with 5 additions and 5 deletions

View File

@ -1,11 +1,11 @@
mkdir /home/c2a/conf
mkdir /home/c2a/conf/nginx
mkdir /home/c2a/conf/nginx/applications
cp conf/nginx.conf /home/c2a/conf/nginx/
cp conf/mime.types /home/c2a/conf/nginx/
cp conf/applications/* /home/c2a/conf/nginx/applications/
cp ./docker/conf/nginx.conf /home/c2a/conf/nginx/
cp ./docker/conf/mime.types /home/c2a/conf/nginx/
cp ./docker/conf/applications/* /home/c2a/conf/nginx/applications/
docker run --detach \
--name gitlab \
--name nginx \
--publish 80:80 \
--publish 443:443 \
--volume /home/c2a/conf/nginx/nginx.conf:/etc/nginx/nginx.conf \

View File

@ -9,7 +9,7 @@ apt-get install \
curl \
gnupg2 \
software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
apt-key fingerprint 0EBFCD88
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/debian \