mortenscheel/nginx-proxyman
Composer 安装命令:
composer require mortenscheel/nginx-proxyman
包简介
CLI tool for nginx-proxy-manager
关键字:
README 文档
README
Proxyman is a simple cli tool for nginx-proxy-manager
I've written it for my own use cases, but feature requests and pull-requests are welcome.
Dependencies
- PHP >= 8.0
- mkcert (for generating self-signed certificates)
Installation
Composer
composer global require mortenscheel/nginx-proxyman
Manual
Download binary from latest release and place it in PATH
Usage
List proxy hosts
$ proxyman hosts:list +--------------+----------------------+------+-----+---------+ | Domains | Host | Port | SSL | Enabled | +--------------+----------------------+------+-----+---------+ | mailhog.test | host.docker.internal | 8025 | ✓ | ✓ | | proxy.test | proxy | 81 | ✓ | ✓ | +--------------+----------------------+------+-----+---------+
Add proxy host
$ proxyman hosts:add [options] <domains>
| Description | |
|---|---|
| domains | Space separated list of domain names (incl. wildcards) |
| --host | Name of host or docker-compose service (default: host.docker.internal) |
| --port | Default: 80 |
| --https | Will create a self-signed certificate for the supplied domain names and force http requests to https |
List self-signed certificates
$ proxyman cert:list +------------------------+---------------------------------------------------+ | Name | Expires on | +------------------------+---------------------------------------------------+ | mailhog.test | Saturday, May 25, 2024 6:26 PM (2 years from now) | | proxy.test | Saturday, May 25, 2024 6:25 PM (2 years from now) | +------------------------+---------------------------------------------------+
Get self-signed certificate
$ proxyman cert:get <name> [--write]
Writes the key and crt to stdout, or writes them to files in the current directory
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-05-08