allow remote administration by boolean
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3e53b8c353
commit
0a0dabd37d
|
@ -11,6 +11,7 @@ cups_listen_address: print.example.org
|
||||||
|
|
||||||
cups_log_level: warn
|
cups_log_level: warn
|
||||||
cups_server_admin: admin@example.com
|
cups_server_admin: admin@example.com
|
||||||
|
cups_remote_admin_enabled: False
|
||||||
|
|
||||||
cups_iptables_enabled: False
|
cups_iptables_enabled: False
|
||||||
cups_open_ports:
|
cups_open_ports:
|
||||||
|
|
|
@ -31,6 +31,9 @@ WebInterface Yes
|
||||||
|
|
||||||
# Restrict access to the server...
|
# Restrict access to the server...
|
||||||
<Location />
|
<Location />
|
||||||
|
{% if cups_remote_admin_enabled %}
|
||||||
|
Allow all
|
||||||
|
{% endif %}
|
||||||
Order allow,deny
|
Order allow,deny
|
||||||
</Location>
|
</Location>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user