Skip to content

Commit

Permalink
deploy(tor-hidden-services): set HiddenServicePoWDefensesEnabled for …
Browse files Browse the repository at this point in the history
…the Source Interface

(cherry picked from commit a232a54)
  • Loading branch information
cfm authored and zenmonkeykstop committed Jun 13, 2024
1 parent 299e4d0 commit ed554f6
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ RunAsDaemon 1
HiddenServiceDir /var/lib/tor/services/sourcev3
HiddenServicePort 80 127.0.0.1:80

{% if securedrop_app_pow_on_source_interface|default(True) %}
HiddenServicePoWDefensesEnabled 1
{% endif %}

{% if securedrop_app_https_on_source_interface|default(False) %}
HiddenServicePort 443 127.0.0.1:443
{% endif %}
Expand Down

0 comments on commit ed554f6

Please sign in to comment.