Project

General

Profile

How to install » History » Revision 2

Revision 1 (Olivier Bitsch, 11/10/2023 02:57 PM) → Revision 2/5 (Olivier Bitsch, 11/10/2023 03:00 PM)

# How to install 

 Installation of edumeet package is straight forward: 

 ~~~ 
 echo "deb [trusted=yes] https://projects.iabsis.com/repository/edumeet-pkg/debian . main" > /etc/apt/sources.list.d/edumeet.list 
 apt update 
 apt install edumeet 
 ~~~ 

 Then you can configure for nginx, here a sample config file. 

 ~~~ 
 map $http_upgrade $connection_upgrade { 
         default upgrade; 
         '' close; 
     } 


 server { 
     listen 80; 
     server_name _; 

     location / { 
        root /usr/share/edumeet/public; 
        try_files $uri $uri/ /index.html; 
     } 

     location /api) { 
         proxy_set_header Host $host; 
         proxy_pass http://127.0.0.1:8080; 
         proxy_http_version 1.1; 
         proxy_set_header X-Forwarded-Proto $scheme; 
         proxy_set_header X-Forwarded-Port $server_port; 
         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 
     } 

     location /socket.io { 
         proxy_pass http://127.0.0.1:8080; 
         proxy_http_version 1.1; 
         proxy_set_header Upgrade $http_upgrade; 
         proxy_set_header Connection "upgrade"; 
     } 

 } 
 ~~~ 

 > Don't forgot to replace `server_name _;` by your domain if you are not behind a reverse proxy and install `python3-certbot-nginx` to issue certificate then.