add all project files

This commit is contained in:
Julien Aldon
2026-01-08 10:57:31 +01:00
parent 2873f6fd1b
commit 9766e18fd5
40 changed files with 22638 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;
}