I updated the Dockerfile in the web folder by adding a line "pip3 install --upgrade aiortc" to fix an issue, when a request was sent to the service it was displaying an error "unkown ip address format". This fixed it.
I setup nginx as a reverse proxy so i can use certbot to create a certificate to use a FQDN (Fully qualified domain name)
I ran the command sudo docker-compose up -d.
The issue
when i access the url to view the webpage it only loads the html file. The js and css files aren't found (as the error 404 describes in the console)
However
If i access the page via the ip address https://ipadress it loads the webpage with all the files.
I click the start button it turns red and shows connecting for a while then
I get a long message from client.js on line 51
Then i get a POST error message service unavailable at the /offer route
then followed by a syntax error from client.js on line 68
Has anyone successfully deployed this on an ec2 instance without any issues or can anyone assist with these problems I'm encountering.
What I have done so far
sudo docker-compose up -d
.The issue
However
https://ipadress
it loads the webpage with all the files.Has anyone successfully deployed this on an ec2 instance without any issues or can anyone assist with these problems I'm encountering.