Skip to content

Commit

Permalink
fix: put EXTRA_CONFIG before the proxy starts (#49)
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
  • Loading branch information
mjtrangoni authored Apr 2, 2024
1 parent 3706655 commit eabbb17
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions 3proxy.cfg.mustach
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit eabbb17

Please sign in to comment.