Resolved Setting Global Nginx rules!

Xhuljo Skendaj

New Pleskian
Hello,

Is here anyway to to set nginx rules for all clients ?!

example if i want to set those rules
Code:
# =========================================
# "ANTI-SAPHYRA."
# =========================================
if ($args ~* "(.{1,})=(.{1,})" ){
rewrite ^/$ /444_rewrite?;
}
location /444_rewrite {
return 444;
}
# =========================================
# END SAPHYRA.
# =========================================
to all nginx configs files how can i do it? or only way is to edit them one by one?!

Thanks.
 
Hello,

Is here anyway to to set nginx rules for all clients ?!

example if i want to set those rules
Code:
# =========================================
# "ANTI-SAPHYRA."
# =========================================
if ($args ~* "(.{1,})=(.{1,})" ){
rewrite ^/$ /444_rewrite?;
}
location /444_rewrite {
return 444;
}
# =========================================
# END SAPHYRA.
# =========================================
to all nginx configs files how can i do it? or only way is to edit them one by one?!

Thanks.
Hello,
You can set them directly in your service plan.
 
Back
Top