From 74e474bf80312d58e43cbafcebb60e6c42bb1917 Mon Sep 17 00:00:00 2001 From: proffapt Date: Tue, 2 Jul 2024 16:34:15 +0530 Subject: [PATCH] format nginx conf; removed nginx installation in dockerfile --- Dockerfile | 2 +- metaploy/heimdall.metaploy.conf | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index f4a4ffc..60aeb5b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN CGO_ENABLED=1 GOOS=linux go build -o ./build --tags "fts5" -a -ldflags '-lin FROM alpine:latest AS app -RUN apk --no-cache add bash nginx ca-certificates tzdata +RUN apk --no-cache add ca-certificates tzdata bash ENV TZ="Asia/Kolkata" diff --git a/metaploy/heimdall.metaploy.conf b/metaploy/heimdall.metaploy.conf index 6156ce8..f757e8d 100644 --- a/metaploy/heimdall.metaploy.conf +++ b/metaploy/heimdall.metaploy.conf @@ -1,11 +1,11 @@ upstream heimdall_server { - server heimdall:3333; + server heimdall:3333; } server { - server_name heimdall-api.metakgp.org; + server_name heimdall-api.metakgp.org; - location / { - proxy_pass http://heimdall_server; - } + location / { + proxy_pass http://heimdall_server; + } } \ No newline at end of file