-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Labels
Description
使用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?