remove nginx config - replaced by caddy

This commit is contained in:
2026-02-24 00:20:59 +01:00
parent 50e3206b56
commit fb31698ce8
2 changed files with 0 additions and 39 deletions

View File

@@ -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 "$@"

View File

@@ -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;
}
}