Add Dockerfile, frontend image, and local compose stack

This commit is contained in:
megaproxy 2026-07-16 23:29:01 +01:00
parent ac72db9925
commit 3e2fbebac7
7 changed files with 199 additions and 1 deletions

20
frontend/nginx.conf Normal file
View file

@ -0,0 +1,20 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
# React Router owns the routing; every unknown path must fall through to the SPA.
location / {
try_files $uri $uri/ /index.html;
}
location /healthz {
access_log off;
return 200 "ok\n";
}
gzip on;
gzip_types text/css application/javascript application/json image/svg+xml;
gzip_min_length 1024;
}