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
Click to show internal directories.
Click to hide internal directories.