From fb31698ce8939d890e06e0e227b5626e6724c232 Mon Sep 17 00:00:00 2001 From: Kevin Midboe Date: Tue, 24 Feb 2026 00:20:59 +0100 Subject: [PATCH] remove nginx config - replaced by caddy --- docker-entrypoint.sh | 9 --------- nginx.conf | 30 ------------------------------ 2 files changed, 39 deletions(-) delete mode 100644 docker-entrypoint.sh delete mode 100644 nginx.conf diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh deleted file mode 100644 index 24e7b29..0000000 --- a/docker-entrypoint.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -set -eu - -export SEASONED_API=${SEASONED_API:-http://localhost:31459} -export SEASONED_DOMAIN=${SEASONED_DOMAIN:-localhost} - -envsubst '$SEASONED_API,$SEASONED_DOMAIN' < /etc/nginx/conf.d/default.conf.template > /etc/nginx/conf.d/default.conf - -exec "$@" diff --git a/nginx.conf b/nginx.conf deleted file mode 100644 index 968ecaf..0000000 --- a/nginx.conf +++ /dev/null @@ -1,30 +0,0 @@ -server { - listen 5000 default_server; - listen [::]:5000 default_server; - - server_name _; - root /usr/share/nginx/html; - - gzip on; - gzip_types application/javascript; - gzip_min_length 1000; - gzip_static on; - - location /favicons { - autoindex on; - } - - location /dist { - add_header Content-Type application/javascript; - try_files $uri =404; - } - - location /api { - proxy_pass $SEASONED_API; - } - - location / { - try_files $uri $uri/ /index.html; - index index.html; - } -}