Upload files to 'Docs/docs'
This commit is contained in:
26
Docs/docs/Dev-Adding-Webserver.md
Normal file
26
Docs/docs/Dev-Adding-Webserver.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# List of possible Files and expected Structure
|
||||
* CoreModules/`<webserverName>`/
|
||||
* conf.sh
|
||||
* preconf.sh
|
||||
* apt.list
|
||||
* appendCMS-conf.sh
|
||||
* config/*
|
||||
# File Explanation
|
||||
| File Name | Description |
|
||||
| -------- | ------------ |
|
||||
| preconf.sh | Pre config/apt install commands (ex: repo setup) |
|
||||
| conf.sh | Configuration for webserver and php |
|
||||
| apt.list | packagelist for this webserver and php |
|
||||
| appendCMS-conf.sh | Runs when a domain gets added after inital install by appendCMS.sh |
|
||||
|
||||
# Defining in the menu
|
||||
Add the following to ModulesMenu.list
|
||||
## For Whiptail
|
||||
Add under the previous “webservers+”
|
||||
```
|
||||
<WebserverName>Options=("<WebserverName>:" "Will install <WebserverName> Webserver." OFF)
|
||||
```
|
||||
## For legacy
|
||||
Add to the “webservers” variable after last entry
|
||||
Make sure the the entry is quoted, otherwise the installer will break
|
||||
Make sure that <webserver>CMS and <webserver>Options are created
|
||||
Reference in New Issue
Block a user