You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but when i put in my server it should run correctly at https://project-one.org/v_call_ser/ but i only get the page not the static files like css, js etc, this is my nginx.conf file
server {
client_max_body_size 0;
server_name project-one.org;
# Set timeouts
proxy_read_timeout 300;
proxy_connect_timeout 300;
proxy_send_timeout 300;
# Frontend location
location / {
proxy_pass http://localhost:3005; # Direct to the frontend service
proxy_buffering off;
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;
}
# Jitsi Video Call Server
location /v_call_ser/ {
proxy_pass http://localhost:8085;
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;
# Rewrite paths for static files
sub_filter '/libs/' '/v_call_ser/libs/';
sub_filter '/css/' '/v_call_ser/css/';
sub_filter '/js/' '/v_call_ser/js/';
sub_filter_once off;
# Disable compression to allow sub_filter
proxy_set_header Accept-Encoding "";
}
# Handle 502 Bad Gateway
error_page 502 /project_one/index.html; # Custom error page for 502
# SSL and Certbot configurations
listen 443 ssl; # Managed by Certbot
ssl_certificate /etc/letsencrypt/live/project-one.org-0001/fullchain.pem; # Managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/project-one.org-0001/privkey.pem; # Managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # Managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # Managed by Certbot
}
server {
if ($host = project-one.org) {
return 301 https://$host$request_uri;
} # managed by Certbot
server_name project-one.org;
listen 80;
return 404; # managed by Certbot
}
The best setup is to leave it as is, in its own subdomain, say meet.yourcompany.com. Then if you want to use it from elsewhere in your backend, just reference that subdomain.
ok will try to do that way, but this still needs to be handled right. If this is possible there is no need to purchase another domain for the jitsi service.
I am working on running jisti web on my server i was able to work it correctly in my local at http://0.0.0.0:8085/ this is my docker compose file
but when i put in my server it should run correctly at https://project-one.org/v_call_ser/ but i only get the page not the static files like css, js etc, this is my nginx.conf file
and this is the .jitsi_env_demo env file
when i check the network tab in server I see the static files are not loaded correctly they are loading like this
https://project-one.org/libs/lib-jitsi-meet.min.js?v=8242
with 404 error
but when i check update the url and check like this
https://project-one.org/v_call_ser/libs/lib-jitsi-meet.min.js?v=8242
I get the correct page, so what I need to fix this ?
The text was updated successfully, but these errors were encountered: