CE: Nginx Settings

Hello,

I am currently setting up OpenVidu CE on Premise (Ubuntu 18) and I am looking to change some nginx settings but am unsure if it possible. If it is possible I have yet to find a way to do it so any help would be appreciated.

The following list is what I would like to set:

  • Set TLS to only use TLS-1.3
  • Set Basic Authentication on URL

I was thinking I might be able to add this information to the docker-compose file but I think I need to edit the actual nginx conf file and it seems you can not access it.

Any advice or guidance will be of great help as I am still new to using docker… this issue might be a lack of knowledge on my part.


The following I would like to double check since I am here…

  • Can you make it show online users even if they do not have a webcam? (currently it does not show them at all)
  • Can you view a list of all users and there current situation? Mic/Video on/off etc (currently just a list of names on the bottom and it seems you can click a button but nothing happens)

Thank you.

Hi @Bob_Smith

This issue was solved by an user here: Nginx: Increase client_max_body_size
We’re working also in an official way to customize NGINX in the next version 2.16.0

What I recommend to you is to execute OpenVidu normally, and when the nginx container is running, get the file from /etc/nginx/nginx.conf.

Ex:

docker exec openvidu_nginx_1 cat /etc/nginx/nginx.conf

Edit the file and after that apply that replace the original file using a volume as explained in the solution:

volumes:
            ...
            - ./nginx.conf:/etc/nginx/nginx.conf
            ...

This nginx.conf file can override all the rules in /etc/nginx/conf.d/default.conf, just redefine the rules in /etc/nginx/nginx.conf

1 Like

Thats awesome thank you! Shall give it a try.