Sindbad~EG File Manager
# Checklist of things to check / change depending on where the openresty is being deployed
`#lua_code_cache off;`
* Make sure that this directive is commented everywhere ! It appear on multiple files, `grep` for `#lua_code_cache` everywhere to check.
`/etc/nginx/openresty/nginx.conf`
* `user` : nginx on edge servers
* `worker_processes` : auto or a fix number like 3-4 on mutu
* `error_log` : don't forget to put it in critical and not debug
* `access_log` : on or off depending on the context
* `ssl_certificate_key` and `ssl_certificate` those default values are not the same on mutu vs. an edge server like ipxtender
* `ssl_session_cache` : lower the default value on mutu + low cost VPS
* `lua_shared_dict` : up the value on mass-visited edge servers, like 512M or a little bit more
* `internal_vhosts/*` : some of them will be activated or not depending on context
* `limit_rate` : remove this on the forwarder / mutu
* `gzip` and `brotli` off on a forwarder server, dont re-compress.
* `limit_req_zone` some of them must be removed when used in a forwarder cache or it causes a start error.
`/etc/nginx/openresty-update/restrict.inc`
* Don't forget to get a recent version for this file.
`/etc/nginx/openresty/internal_vhosts/forwarder_vhost.conf`
* `listen` : change the listen depending on context. `8888` on ipxtender acting as a fallback, `80` on a cache server acting as the forwarder
* `add_header` : remove the `X-Bypass` when acting as a forwarder
`/etc/nginx/openresty/internal_vhosts/backends.conf`
* `server` : change it depending on what cache server is configured/linked with the ipxtender one
`/etc/nginx/openresty/lua/lib/o2switch_common.lua`
* `o2switch.serverType` : change to `edge` or `mutu` depending on the context
* `o2switch.redisConfig` : may be changed too depending on the context. `6379` on mutu & ipxtender and generally `6080` on cache/forwarder.
`/etc/nginx/openresty/proxy_pass/forwarder_proxy_pass.conf`:
* `proxy_set_header Accept-Encoding '';` may be necessary on cache server if we have problem with encoding for instance
`/etc/nginx/openresty/geoip_db`
* `GeoIP2-Country.mmdb` and `GeoIP2-ISP.mmdb` must be here
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists