mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-24 19:31:32 +00:00
Rename nginx default site config
This commit is contained in:
parent
8cd0665c03
commit
49b728ee6c
@ -73,7 +73,7 @@ RUN echo "shopt -s cmdhist\n" \
|
|||||||
'PROMPT_COMMAND="history -a"\n' \
|
'PROMPT_COMMAND="history -a"\n' \
|
||||||
>> /home/${AVATAO_USER}/.bashrc
|
>> /home/${AVATAO_USER}/.bashrc
|
||||||
|
|
||||||
COPY nginx/nginx.conf ${TFW_NGINX_CONF}
|
COPY nginx/default.conf ${TFW_NGINX_CONF}
|
||||||
COPY nginx/components/ ${TFW_NGINX_COMPONENTS}
|
COPY nginx/components/ ${TFW_NGINX_COMPONENTS}
|
||||||
RUN chown -R ${AVATAO_USER} /var/log/nginx /var/lib/nginx &&\
|
RUN chown -R ${AVATAO_USER} /var/log/nginx /var/lib/nginx &&\
|
||||||
sed -i 's#pid /run/nginx.pid;#pid /tmp/nginx.pid;#g' /etc/nginx/nginx.conf &&\
|
sed -i 's#pid /run/nginx.pid;#pid /tmp/nginx.pid;#g' /etc/nginx/nginx.conf &&\
|
||||||
|
Loading…
Reference in New Issue
Block a user