Skip to content

Instantly share code, notes, and snippets.

config/index.js change default url
make alise nginx
# Backward compatibility
location ~ /external_api.* {
root /opt/jitsi-meet/libs;
}
copy /opt/jitsi-meet/libs/extenal_api.min.js /opt/jitsi-meet/libs/extenal_api.js
@supun19
supun19 / npm-using-https-for-git.sh
Created October 1, 2018 08:27 — forked from taoyuan/npm-using-https-for-git.sh
Force git to use https:// instead of git://
git config --global url."https://github.com/".insteadOf [email protected]:
git config --global url."https://".insteadOf git://
@supun19
supun19 / CheetSheet
Last active November 12, 2018 13:06
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
mac os commands:
printenv
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Docker Commands:
===============================
login container
sudo docker exec -i -t 7fbb78213417 /bin/bash
===============================
stop all container
server {
if ($host = barcode.meetrix.io) {
return 301 https://$host$request_uri;
} # managed by Certbot
listen 80;
server_name barcode.meetrix.io;
return 301 https://$host$request_uri;
@supun19
supun19 / nginx-socketio-ssl-reverse-proxy.conf
Created February 6, 2019 07:54 — forked from gmanau/nginx-socketio-ssl-reverse-proxy.conf
How to setup nginx as nodejs/socket.io reverse proxy over SSL
upstream upstream-apache2 {
server 127.0.0.1:8080;
}
upstream upstream-nodejs {
server 127.0.0.1:3000;
}
server {
listen 80;