You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I need to add this rewrite lines into puppet
if '($remote_addr = !10.10.10.){
rewrite ^(/(admin|hmc|cmscockpit)/)(.) /maintenance/404.html
}
With following lines I can add in puppet the rewrites to the vhost file.
But I can't check the ip range I need.
location_cfg_append => {
'rewrite' => '^(/(admin|hmc|cmscockpit)/)(.*) /maintenance/404.html
},
Has anyone an Idea how I can add this lines in puppet for rewrite?
The text was updated successfully, but these errors were encountered:
Hi,
I need to add this rewrite lines into puppet
if '($remote_addr = !10.10.10.){
rewrite ^(/(admin|hmc|cmscockpit)/)(.) /maintenance/404.html
}
With following lines I can add in puppet the rewrites to the vhost file.
But I can't check the ip range I need.
location_cfg_append => {
'rewrite' => '^(/(admin|hmc|cmscockpit)/)(.*) /maintenance/404.html
},
Has anyone an Idea how I can add this lines in puppet for rewrite?
The text was updated successfully, but these errors were encountered: