Plesk: Difference between revisions
Johan Efendi (talk | contribs) (Created page with "=Location= ==Node & PHP== <syntaxhighlight lang="bash"> # Node /opt/plesk/node # PHP /opt/plesk/php </syntaxhighlight>") |
Johan Efendi (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 10: | Line 10: | ||
/opt/plesk/php | /opt/plesk/php | ||
</syntaxhighlight> | |||
Jika NPM tidak dikenali sebagai program di shell | |||
<syntaxhighlight lang="bash"> | |||
export PATH=$PATH:/opt/plesk/node/21/bin | |||
</syntaxhighlight> | |||
=Whitelist Cloudflare IP's= | |||
<syntaxhighlight lang="bash"> | |||
plesk bin ip_ban --add-trusted "173.245.48.0/20" -description "Cloudflare Proxy" | |||
plesk bin ip_ban --add-trusted "173.245.48.0/20" -description "Cloudflare Proxy" | |||
plesk bin ip_ban --add-trusted "103.21.244.0/22" -description "Cloudflare Proxy" | |||
plesk bin ip_ban --add-trusted "103.22.200.0/22" -description "Cloudflare Proxy" | |||
plesk bin ip_ban --add-trusted "103.31.4.0/22" -description "Cloudflare Proxy" | |||
plesk bin ip_ban --add-trusted "141.101.64.0/18" -description "Cloudflare Proxy" | |||
plesk bin ip_ban --add-trusted "108.162.192.0/18" -description "Cloudflare Proxy" | |||
plesk bin ip_ban --add-trusted "190.93.240.0/20" -description "Cloudflare Proxy" | |||
plesk bin ip_ban --add-trusted "188.114.96.0/20" -description "Cloudflare Proxy" | |||
plesk bin ip_ban --add-trusted "197.234.240.0/22" -description "Cloudflare Proxy" | |||
plesk bin ip_ban --add-trusted "198.41.128.0/17" -description "Cloudflare Proxy" | |||
plesk bin ip_ban --add-trusted "162.158.0.0/15" -description "Cloudflare Proxy" | |||
plesk bin ip_ban --add-trusted "104.16.0.0/13" -description "Cloudflare Proxy" | |||
plesk bin ip_ban --add-trusted "104.24.0.0/14" -description "Cloudflare Proxy" | |||
plesk bin ip_ban --add-trusted "172.64.0.0/13" -description "Cloudflare Proxy" | |||
plesk bin ip_ban --add-trusted "131.0.72.0/22" -description "Cloudflare Proxy" | |||
</syntaxhighlight> | </syntaxhighlight> |
Latest revision as of 07:42, 10 September 2024
Location
Node & PHP
# Node
/opt/plesk/node
# PHP
/opt/plesk/php
Jika NPM tidak dikenali sebagai program di shell
export PATH=$PATH:/opt/plesk/node/21/bin
Whitelist Cloudflare IP's
plesk bin ip_ban --add-trusted "173.245.48.0/20" -description "Cloudflare Proxy"
plesk bin ip_ban --add-trusted "173.245.48.0/20" -description "Cloudflare Proxy"
plesk bin ip_ban --add-trusted "103.21.244.0/22" -description "Cloudflare Proxy"
plesk bin ip_ban --add-trusted "103.22.200.0/22" -description "Cloudflare Proxy"
plesk bin ip_ban --add-trusted "103.31.4.0/22" -description "Cloudflare Proxy"
plesk bin ip_ban --add-trusted "141.101.64.0/18" -description "Cloudflare Proxy"
plesk bin ip_ban --add-trusted "108.162.192.0/18" -description "Cloudflare Proxy"
plesk bin ip_ban --add-trusted "190.93.240.0/20" -description "Cloudflare Proxy"
plesk bin ip_ban --add-trusted "188.114.96.0/20" -description "Cloudflare Proxy"
plesk bin ip_ban --add-trusted "197.234.240.0/22" -description "Cloudflare Proxy"
plesk bin ip_ban --add-trusted "198.41.128.0/17" -description "Cloudflare Proxy"
plesk bin ip_ban --add-trusted "162.158.0.0/15" -description "Cloudflare Proxy"
plesk bin ip_ban --add-trusted "104.16.0.0/13" -description "Cloudflare Proxy"
plesk bin ip_ban --add-trusted "104.24.0.0/14" -description "Cloudflare Proxy"
plesk bin ip_ban --add-trusted "172.64.0.0/13" -description "Cloudflare Proxy"
plesk bin ip_ban --add-trusted "131.0.72.0/22" -description "Cloudflare Proxy"