This commit is contained in:
Jamie Curnow
2025-09-02 23:56:00 +10:00
parent a12553fec7
commit ebd9148813
355 changed files with 8621 additions and 18874 deletions

View File

@@ -12,6 +12,7 @@ server {
location /api/ {
add_header X-Served-By $host;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Scheme $scheme;
proxy_set_header X-Forwarded-Proto $scheme;
@@ -23,7 +24,14 @@ server {
}
location / {
index index.html;
try_files $uri $uri.html $uri/ /index.html;
add_header X-Served-By $host;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header X-Forwarded-Scheme $scheme;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_pass http://127.0.0.1:5173;
}
}

View File

@@ -15,7 +15,7 @@ if [ "$DEVELOPMENT" = 'true' ]; then
log_info 'Starting frontend ...'
s6-setuidgid "$PUID:$PGID" yarn install
exec s6-setuidgid "$PUID:$PGID" yarn watch
exec s6-setuidgid "$PUID:$PGID" yarn dev
else
exit 0
fi