From eabbb17fa583e69a43abbb2409341aa87eb442b8 Mon Sep 17 00:00:00 2001 From: Mario Trangoni Date: Tue, 2 Apr 2024 11:36:30 +0200 Subject: [PATCH] fix: put `EXTRA_CONFIG` before the proxy starts (#49) Signed-off-by: Mario Trangoni --- 3proxy.cfg.mustach | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/3proxy.cfg.mustach b/3proxy.cfg.mustach index fb414b5..9a390cc 100644 --- a/3proxy.cfg.mustach +++ b/3proxy.cfg.mustach @@ -27,12 +27,13 @@ auth strong allow {{ auth.login }}{{#auth.extra_accounts.*}},{{ * }}{{/auth.extra_accounts.*}} {{/auth.password=}}{{/auth.login=}} -proxy -a -p{{ ports.proxy }} -socks -a -p{{ ports.socks }} - -flush{{^extra_config=}} +{{^extra_config=}} # Additional configuration {{extra_config}} {{/extra_config=}} +proxy -a -p{{ ports.proxy }} +socks -a -p{{ ports.socks }} + +flush