Skip to content

Custom listening port 80 443 81 #4748

@907739769

Description

@907739769

使用host网络模式安装npm,自定义80 81 443监听端口,目前我是挂载./templates:/app/templates和./default.conf:/etc/nginx/conf.d/default.conf,手动修改文件里面的端口。存量数据是修改了/data/nginx/proxy_host/*.conf文件里面的端口。能不能增加环境变量调整监听端口?

Install npm using host network mode, customize the 80 81 443 listening port, currently I am mounting ./templates:/app/templates and ./default.conf:/etc/nginx/conf.d/default.conf, and manually modify the port in the file. The stock data is the port in the /data/nginx/proxy_host/*.conf file that has been modified. Can you add environment variables to adjust the listening port?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions