Skip to content

b-kneisel/GSG-Webhosting

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GSG-Webhosting

This repo will create a simple express based webserver you can use on any system with nodeJS installed.

Install

Clone this repo Check if NodeJS & npm are installed
run npm i
rename .env.example to .env
run node ./index.js

.env

environment - You can choose build or dev.
log - You can choose true or false this will log all requests.
maxlogsize - The size of the logfile (Rotating logfile).
maxlogage - The time when the logfile should rotate.
behindproxy - You can choose 0 or 1, use 1 if you are behind cloudflare or apache/nginx proxy.
enableplugins - You can choose true or false this will load plugins if you need a REST Backend.
webport - The webserver port this app should lisen to.

Plugins

For more informations about plugins see https://github.com/EBG-PW/EBG-API-Plugins/blob/master/README.md

To-DO

  • Add HTTPS support.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 84.5%
  • HTML 13.9%
  • Shell 1.6%