Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.
/ dom-old-rootkit Public archive

Helper scripts to manage servers (old!)

Notifications You must be signed in to change notification settings

domcloud/dom-old-rootkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dom-nginx

This a tool to manage NginX config file in per-server basis. It also validates every input config it receives so there's no way to broke the whole server or circumvent the limited config available to individual.

Running your own

Virtualmin and R/W access to your nginx.conf file.

Config

It receives config using JSON, but because DOM Cloud config uses yaml, so we use YAML here. You can also see available config here

Available values:

nginx:
  ssl: on
  passenger:
    enabled: off
    # all other passenger config
  index: index.html index.htm index.php
  locations:
  - match: /
    try_files: $uri
    return: 301 http://example.com$request_uri
  error_pages:
  - 403 404 /404.html

About

Helper scripts to manage servers (old!)

Resources

Stars

Watchers

Forks