- exit from
gp nginx -geoip-on
early if no Maxmind DB with info to grab an account - limits req zone fix for gp-cli - not update zone one when wp
- persist limits and zone bursts on configs update fix
- add redis cache valid command and persist
gp stack nginx redis -site-cache-valid {seconds.valid} {site.url}
Will follow up with more thorough geoip solution, using a user generated creds file to populae the conf and autoate the update/db download.
Goes with configs update to adjust redis cache configs, remove extraneous geoip configs, and add an http context include into nginx.conf
Geoip
gp stack nginx geoip -on {account.id}:{license.key}
gp stack nginx geoip -off
gp stack nginx geoip -update {country.code}:{yes.no},{country.code}:{yes.no}
gp stack nginx geoip -remove {country.code},{country.code}
PHP Date Timezone
gp stack php {php.ver} -date-timezone {date.timezone}
gp stack php -site-date-timezone {date.timezone} {site.url}
Accepted date timezones are found here:
https://www.php.net/manual/en/timezones.php
We store them locally here and parse check them from here:
/opt/gridpane/php-timezones/php-timezones.env
PHP Short open tag
gp stack php {php.ver} -short-open-tag {on.off}
gp stack php -site-short-open-tag {on.off} {site.url}