Giter Site home page Giter Site logo

Comments (4)

mpisat avatar mpisat commented on August 16, 2024 3

I can't get the latest version of OME work with LetsEncrypt. It always fails if I enable tls port for WS on port 3334

So, I put an nginx reverse websocket proxy on top of that with letsencrypt. It works flawlessly.

`server {

listen [::]:3334 ssl ipv6only=on; # managed by Certbot
listen 3334 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/domain.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/domain.com/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

location / {
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  proxy_set_header Host $host;

  proxy_pass http://domain.com:3333;

  proxy_ssl_certificate     /etc/letsencrypt/live/domain.com/fullchain.pem;
  proxy_ssl_certificate_key /etc/letsencrypt/live/domain.com/privkey.pem;

  proxy_http_version 1.1;
  proxy_set_header Upgrade $http_upgrade;
  proxy_set_header Connection "upgrade";
}

}`

from ovenplayer.

SangwonOh avatar SangwonOh commented on August 16, 2024

@enigmathion Hi. Please read this. https://airensoft.gitbook.io/ovenmediaengine/tls-encryption

And If you have further issues, please open the issue at https://github.com/AirenSoft/OvenMediaEngine/issues.

from ovenplayer.

SangwonOh avatar SangwonOh commented on August 16, 2024

Great job. It's helpful for us too. Thank. Whenever you want to use ssl via OvenMediaEngine, Please contact with OME team.

from ovenplayer.

enigmathion avatar enigmathion commented on August 16, 2024

from ovenplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.