跳到主要内容

Adding a Trusted Proxy IP to my Instance

在 Managing an Instance 中
作者列表
已发布: 2022年8月30日|最后更新: 2022年8月30日

Question: How do I add a trusted proxy host IP to my on premise instance?

Answer: You can set a trusted proxy IP on a per instance basis. This is done in the following config file with INSTANCE replaced with your helpdesk's instance name:

/opt/deskpro/data/instances/INSTANCE/services/deskpro/config/deskpro-config.php
copy

If you scroll through the file you will have the following entry:

//###################################################################### // env //###################################################################### $CONFIG['env'] = [ 'set_umask' => 0000, 'environment' => 'prod', 'debug_mode' => false, ]; // If requests are coming from a NB or proxy, // you must specify the host(s) here so //$CONFIG['env']['trust_proxy_data'] = [ // '0.0.0.0/0' //]; $CONFIG['env']['trust_proxy_data'] = [ '127.0.0.0/8', '172.24.0.0/16', ];
copy

You can additonal IPs to the configuration here.

有帮助没有帮助
下一个页面Changing the Elasticsearch Index
上一个页面Adding an SSL Certificate to my Instance

请登录或注册以提交评论。