定制 mortenscheel/nginx-proxyman 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mortenscheel/nginx-proxyman

Composer 安装命令:

composer require mortenscheel/nginx-proxyman

包简介

CLI tool for nginx-proxy-manager

README 文档

README

Screenshot 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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-05-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固