Skip to content

kurbaitis/hosting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

The application is for any kind of game servers hosting but initially designed for Counter-Strike 1.6 game servers hosting

Requirements

Install

Login as root and run:

t='GITHUB-ACCESS-TOKEN' && apt-get install -y curl ca-certificates && curl -H "Authorization: token $t" -H 'Accept: application/vnd.github.v3.raw' -O -L https://api.github.com/repos/kurbaitis/hosting/contents/public/s && bash s $t

Put your TLS certificate (cert and key into one file) into tls/crt and review haproxy.conf to make sure your configuration is correct

Edit .env file

vi .env

Optional

Add HTTP server startup script to your boot scripts (need to be run as root user):

logout
cd /home/w
cp bin/http /etc/init.d/
update-rc.d http defaults
update-rc.d http enable

Start

./bin/start

Stop

./bin/stop

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published