removed temp files

This commit is contained in:
nvrl committed 2026-03-19 19:26:57 +01:00
1 parent f7aef85e7f
commit 3f4f65f39c
329 files changed
+60 -37721

No files matched your search

+29 -1
View File
@@ -31,7 +31,7 @@ COPY --from=build-stage /app/dist /usr/share/nginx/html
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
# Custom Nginx config to handle React Router (SPA)
# Custom Nginx config to handle React Router (SPA) and proxy API requests
RUN printf 'server {\n\
listen 80;\n\
location / {\n\
@@ -39,6 +39,34 @@ RUN printf 'server {\n\
index index.html index.htm;\n\
try_files $uri $uri/ /index.html;\n\
}\n\
location /api/ {\n\
proxy_pass http://holy-backend:8000/api/;\n\
proxy_set_header Host $host;\n\
proxy_set_header X-Real-IP $remote_addr;\n\
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n\
proxy_set_header X-Forwarded-Proto $scheme;\n\
}\n\
location /admin/ {\n\
proxy_pass http://holy-backend:8000/admin/;\n\
proxy_set_header Host $host;\n\
proxy_set_header X-Real-IP $remote_addr;\n\
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n\
proxy_set_header X-Forwarded-Proto $scheme;\n\
}\n\
location /static/ {\n\
proxy_pass http://holy-backend:8000/static/;\n\
proxy_set_header Host $host;\n\
proxy_set_header X-Real-IP $remote_addr;\n\
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n\
proxy_set_header X-Forwarded-Proto $scheme;\n\
}\n\
location /media/ {\n\
proxy_pass http://holy-backend:8000/media/;\n\
proxy_set_header Host $host;\n\
proxy_set_header X-Real-IP $remote_addr;\n\
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n\
proxy_set_header X-Forwarded-Proto $scheme;\n\
}\n\
}' > /etc/nginx/conf.d/default.conf
EXPOSE 80