tools

command
v0.0.0-...-42eee10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

nginx.conf.go: Generate nginx virtual host conf files @Copyright (C) amenoyoya 2020. https://github.com/amenoyoya/ @License: MIT

$ go run tools/nginx.conf.go << EOS [

{
    "host": "<string> server_name (required)",
    "root": "<string> document root directory (required | port)",
    "port": "<int> proxy target port (required | root)",
    "certfile": "<string> ssl_certificate (optional)",
    "cerkey": "<string> ssl_certificate_key (optional)",
    "basicauth": "<string> auth_basic_user_file (optional)"
},
...

] EOS

=> generate: tools/nginx.conf/[each "host"].conf

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL