add project files

This commit is contained in:
Julien Aldon
2026-01-12 11:17:01 +01:00
parent 38293b1352
commit 4d5b4698c6
35 changed files with 23425 additions and 0 deletions

26
front/nginx/default.conf Normal file
View File

@@ -0,0 +1,26 @@
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name localhost;
root /srv/www/bookshelf;
index index.html;
location / {
try_files $uri /index.html;
}
location /api/ {
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_redirect off;
proxy_buffering off;
proxy_pass http://backend;
}
}
upstream backend {
server back:8000;
}