fix: put EXTRA_CONFIG before the proxy starts (#49)

Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
This commit is contained in:
Mario Trangoni 2024-04-02 11:36:30 +02:00 committed by GitHub
parent 37066552b8
commit eabbb17fa5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,12 +27,13 @@ auth strong
allow {{ auth.login }}{{#auth.extra_accounts.*}},{{ * }}{{/auth.extra_accounts.*}} allow {{ auth.login }}{{#auth.extra_accounts.*}},{{ * }}{{/auth.extra_accounts.*}}
{{/auth.password=}}{{/auth.login=}} {{/auth.password=}}{{/auth.login=}}
proxy -a -p{{ ports.proxy }} {{^extra_config=}}
socks -a -p{{ ports.socks }}
flush{{^extra_config=}}
# Additional configuration # Additional configuration
{{extra_config}} {{extra_config}}
{{/extra_config=}} {{/extra_config=}}
proxy -a -p{{ ports.proxy }}
socks -a -p{{ ports.socks }}
flush