Correcting:

Dockerfile-ubuntu
End of statement block Jinja
This commit is contained in:
AxyFr 2023-06-01 10:34:57 +02:00
parent 3ab4a59b6e
commit fff21746a9
2 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,7 @@ server {
listen {{ API_LISTEN_IP }}:{{ API_HTTP_PORT }};
{% if API_LISTEN_IP != "127.0.0.1" +%}
listen 127.0.0.1:{{ API_HTTP_PORT }};
{% endif +%}
{% endif %}
# maximum body size for API
client_max_body_size 1G;

View File

@ -20,7 +20,8 @@ RUN mkdir -p /usr/share/bunkerweb/deps && \
rm -rf /tmp/req
# Nginx
RUN apt-get install curl gnupg2 ca-certificates lsb-release ubuntu-keyring software-properties-common -y && \
RUN apt update && \
apt-get install curl gnupg2 ca-certificates lsb-release ubuntu-keyring software-properties-common -y && \
echo "deb https://nginx.org/packages/ubuntu/ jammy nginx" > /etc/apt/sources.list.d/nginx.list && \
echo "deb-src https://nginx.org/packages/ubuntu/ jammy nginx" >> /etc/apt/sources.list.d/nginx.list && \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ABF5BD827BD9BF62 && \