• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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