Kobo Phase 1: Enable Book Transfer/Sync

This commit is contained in:
aditya.chandel
2025-08-22 21:23:23 -06:00
committed by Aditya Chandel
parent a092d629c9
commit 6e6861b329
92 changed files with 3084 additions and 198 deletions

View File

@@ -9,7 +9,7 @@ http {
client_max_body_size 1000M;
server {
listen 6060; # Listen on port 6060 for both API and UI
listen ${BOOKLORE_PORT};
# Set the root directory for the server (Angular app)
root /usr/share/nginx/html;
@@ -33,11 +33,9 @@ http {
# Proxy API requests that start with /api/ to the backend
location /api/ {
proxy_pass http://localhost:8080; # Backend API running on port 8080
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://localhost:8080;
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header X-Forwarded-Host $host;
}
# Proxy WebSocket requests (ws://) to the backend