Skip to content

Instantly share code, notes, and snippets.

View gajet5's full-sized avatar
🌍
42

Ilya gajet5

🌍
42
View GitHub Profile
@gajet5
gajet5 / linux-rails-and-redmin-in-ubuntu-1604-mint18.sh
Created April 26, 2018 19:17 — forked from rotexdegba/linux-rails-and-redmin-in-ubuntu-1604-mint18.txt
Installing Rails and Redmine in Ubuntu 16.04 LTS / Linux Mint 18
# Make sure you have already installed apache and mysql;
# see https://gist.github.com/rotexdegba/d0cab757b5194a58c93db5ab6df7dc67
# for instructions.
# install rails
# https://help.ubuntu.com/lts/serverguide/ruby-on-rails.html
sudo apt install rails
# install comman dependencies
sudo apt-get install build-essential patch ruby-dev zlib1g-dev liblzma-dev make libmysqlclient-dev imagemagick \
@gajet5
gajet5 / socket.io-1-0-apache-2.4-ssl.conf
Created April 26, 2018 11:53 — forked from iacchus/socket.io-1-0-apache-2.4-ssl.conf
Set reverse proxy websockets in Apache 2.4 using socket.io 1.0. Needs mod_rewrite module, this version uses SSL. As seen here https://serverfault.com/questions/616370/configuring-apache-2-4-mod-proxy-wstunnel-for-socket-io-1-0
<VirtualHost *:80>
ServerName forum.example.com
Redirect permanent / https://forum.example.com
</VirtualHost>
<VirtualHost *:443>
ServerName forum.example.com