Skip to content
omgslinux edited this page Mar 6, 2025 · 1 revision

Drupal, as all php templates, takes care of the basic php files.

Then, let's take a look at its custom variables:

# Set your drupal version as integer 
DRUPALVERSION="8"

# Subnet allowed to read logs and txt files
LOG_ALLOW_SUBNET="192.168.0.0/16";
  • The DRUPALVERSION variable takes care of some issues regarding the version. So, set an integer for your Drupal version.
  • The LOG_ALLOW_SUBNET is a security measure to avoid log files to be read by anybody. This generates an allow directive for the specified network range(s). More info at https://nginx.org/en/docs/http/ngx_http_access_module.html#allow
Clone this wiki locally