DejàVu
DejàVu
CCConvex Community
Created by DejàVu on 3/1/2025 in #self-hosted
thread about urls
Thank you so much
24 replies
CCConvex Community
Created by DejàVu on 3/1/2025 in #self-hosted
thread about urls
I set a subdomain for it and it's worked
24 replies
CCConvex Community
Created by DejàVu on 3/1/2025 in #self-hosted
thread about urls
No description
24 replies
CCConvex Community
Created by DejàVu on 3/1/2025 in #self-hosted
thread about urls
I tried that CONVEX_CLOUD_ORIGIN and NEXT_PUBLIC_DEPLOYMENT_URL to https://vinang.vn/convex also but dashboard keep showing error like before
24 replies
CCConvex Community
Created by DejàVu on 3/1/2025 in #self-hosted
thread about urls
Do you know why when I remove this part location /dashboard { # Remove the /dashboard prefix when proxying to the backend rewrite ^/dashboard(/.*)$ $1 break; rewrite ^/dashboard$ / break; proxy_pass http://vinang.vn:6791; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; 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; } It's not worked also
24 replies
CCConvex Community
Created by DejàVu on 3/1/2025 in #self-hosted
thread about urls
Ah one more thing
24 replies
CCConvex Community
Created by DejàVu on 3/1/2025 in #self-hosted
thread about urls
Thank you
24 replies
CCConvex Community
Created by DejàVu on 3/1/2025 in #self-hosted
thread about urls
Ok let me try that
24 replies
CCConvex Community
Created by DejàVu on 3/1/2025 in #self-hosted
thread about urls
Ah it's worked
24 replies
CCConvex Community
Created by DejàVu on 3/1/2025 in #self-hosted
thread about urls
But my picture still showing this GET https://vinang.vn:3210/api/storage/bbb0cccf-1622-4943-bb28-3af0834f8344 net::ERR_SSL_PROTOCOL_ERROR
24 replies
CCConvex Community
Created by DejàVu on 3/1/2025 in #self-hosted
thread about urls
dashboard is able to connect to backend now
24 replies
CCConvex Community
Created by DejàVu on 3/1/2025 in #self-hosted
thread about urls
server { listen 443 ssl; server_name vinang.vn www.vinang.vn; root /var/www/vinang; index index.html; # SSL Configuration ssl_certificate /etc/letsencrypt/live/vinang.vn/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/vinang.vn/privkey.pem; location /api/ { proxy_pass http://localhost:3210; # The URL of your WebSocket server proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header Host $http_host; proxy_cache_bypass $http_upgrade; 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; } location /dashboard { # Remove the /dashboard prefix when proxying to the backend rewrite ^/dashboard(/.*)$ $1 break; rewrite ^/dashboard$ / break; proxy_pass http://vinang.vn:6791; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; 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; } location /assets { alias /var/www/vinang/assets; try_files $uri $uri/ =404; } location / { try_files $uri $uri/ /index.html; } } server { listen 80; server_name vinang.vn www.vinang.vn; # Redirect HTTP to HTTPS return 301 https://$host$request_uri; } Like this?
24 replies
CCConvex Community
Created by DejàVu on 3/1/2025 in #self-hosted
thread about urls
Ok
24 replies
CCConvex Community
Created by DejàVu on 3/1/2025 in #self-hosted
thread about urls
vinang.vn is hosting a frontend react also
24 replies
CCConvex Community
Created by DejàVu on 3/1/2025 in #self-hosted
thread about urls
24 replies