Skip to content
 
 

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages