poprawki do deployu

This commit is contained in:
Patryk Koreń
2026-07-09 22:34:24 +02:00
parent fa9e3b5ce7
commit 6aa9db54f4
7 changed files with 63 additions and 20 deletions

View File

@@ -5,7 +5,8 @@ server {
# FRONTEND (Vite)
# =========================
location / {
proxy_pass http://frontend:5173;
# proxy_pass http://papryk-com-frontend:5173;
proxy_pass http://papryk-com-frontend:80;
proxy_http_version 1.1;
proxy_set_header Host $host;
@@ -19,7 +20,7 @@ server {
location /api/ {
rewrite ^/api/(.*)$ /$1 break;
proxy_pass http://backend:3000;
proxy_pass http://papryk-com-backend:3000;
proxy_http_version 1.1;
proxy_set_header Host $host;