linux

Connecting Vortex Tab 75 via bluetooth in Linux

Vortex Tab 75 can be connected to PC via cable or bluetooth. But in some cases keyboard won’t connect to pc. It will pair and almost immediatly disconnect.Problem is with bletooth agent. How to connect vortex tab 75 to linux pc: We will use bluetoothctl. Open this application in terminal; Unpair keyboard if it has been already paired with command unpair {MAC}; Add new agent with command agent NoInputNoOutput; Switch to default agent with command defaut-agent; Switch keyboard into pairing mode (Pn + J/K/L); On PC start scan for new devices with scan on in bluetoothctl; After keyboard found - pair it ether with pair {MAC} or connect {MAC}; Now we can stop scan with scan off.

Nginx config for unbundling GitLab with SSL

Here is my configuration for GitLab with unbundled nginx (via passenger) and working SSL (via letsencrypt). GitLab was running on host with another web applications, so my main target was to use only one nginx instance on 80 and 443 ports. As we know letsencrypt allows to secure only this two ports, so it is impossible to setup with their certs another SSL secured nginx on different ports. upstream gitlab-workhorse { server unix://var/opt/gitlab/gitlab-workhorse/socket fail_timeout=0; } server { listen 443; server_name $GITHOST; ssl_certificate /etc/letsencrypt/live/$GITHOST/fullchain.