allow remote administration by boolean
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-02-13 00:22:25 +01:00
parent 3e53b8c353
commit 0a0dabd37d
2 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,7 @@ cups_listen_address: print.example.org
cups_log_level: warn
cups_server_admin: admin@example.com
cups_remote_admin_enabled: False
cups_iptables_enabled: False
cups_open_ports:

View File

@ -31,6 +31,9 @@ WebInterface Yes
# Restrict access to the server...
<Location />
{% if cups_remote_admin_enabled %}
Allow all
{% endif %}
Order allow,deny
</Location>