################################################################################### #################### Webinoly Configuration file #################### ################################################################################### # Don't like our defaults? Every part of Webinoly is overrideable! # # # # You should NEVER modify this file if you are not sure about what you are doing. # # We have made a very detailed and extensive documentation just for you! # # Please, read: https://webinoly.com/documentation/ # # # # 1 - Uncomment the variable (Remove the '#' at the beggining) # # 2 - Set your custom value (var:value) # # 3 - And then 'sudo webinoly -server-reset' to changes take effect. # # # # * Reset only one package is allowed: -server-reset=php (os,nginx,php,mysql) # ################################################################################### ############################ ##### Operating System ##### ############################ # Timezone # Values: https://www.php.net/manual/en/timezones.php # Default: # Same as: sudo webinoly -timezone ########################### #timezone:America/Mexico_City # Kernel Optimization # Values: boolean (true/false) # Default: true ########################### #kernel-optim:true # Percentage of RAM assigned to /run folder # Values: numeric int (10 < % < 70) # Default: 25 ########################### #run-folder-size:25 # Size of linux swap file # Values: numeric int (GB) # Default: (calculated based on your server resources) # Note: (server-reset with 'recalculate' is needed) ########################### #swap-mem:1 # IAM Role (AWS Credentials) # Values: boolean (true/false) # Default: false # Note: (server-reset not needed) # Note: Set to 'true' if your EC2 instance has an IAM Role attached with full access to S3 # Same as: sudo webinoly -aws-s3-credentials=awsiamrole ########################### #awsiamrole:false ########################### ##### NGINX ##### ########################### # Nginx Branch # Values: stable | mainline # Default: stable # Note: (set before installing, server-reset not needed) # Note: NEVER change this value here when Nginx package is already installed ########################### #nginx-ppa:stable # Maximum Upload file size # Values: numeric int (MB) # Default: 100 # Note: PHP is also affected by this setting (max file/post size) ########################### #max-mb-uploads:100 # Saved Email Address # Values: # Default: # Note: (server-reset not needed) # Note: Let's Encrypt uses this email to register your certs. # Note: Existing accounts won't be updated, in that case you better use the proper command shown below to update all your current certs. # Same as: sudo webinoly -email=user@example.com ########################### #mail:user@example.com # SFTP Access for www-data user # Values: boolean (true/false) # Default: false # Same as: sudo webinoly -login-www-data=on ########################### #sftp-www-data:false # Nginx Access Logs Disabled # Values: boolean (true/false) # Default: true # Note: This setting will be applied to new sites, or for existing sites 'access log' needs to be reenabled (same for global). # Same as: sudo log -only-error=on ########################### #global-access-log-off:true # Nginx Log Format # Values: basic | extended | custom # Default: basic # With server reset only the global setting is applied. # Note: This setting will be applied to new sites, or for existing sites 'access log' needs to be reenabled (same for global). # Note: https://webinoly.com/documentation/logs/#format ########################### #nginx-log-format:basic # Nginx Error Log Level # Values: info | notice | warn | error | crit | alert | emerg # Default: error # With server reset only the global setting is applied. # Note: This setting will be applied to new sites, or for existing sites 'access log' needs to be reenabled (same for global). ########################### #nginx-error-log-level:error # Nginx Default Response # Values: default | blackhole | # Default: default (Nginx Welcome Page) # Note: For better security 'blackhole' is highly recommended. # Same as: sudo webinoly -default-site=blackhole ########################### #default-response:default # Admin Tools Access # Values: default | # Default: default # Same as: sudo webinoly -tools-site ########################### #tools-site:default # Admin Tools Access Port # Values: numeric int (< 65535) # Default: 22222 # Same as: sudo webinoly -tools-port ########################### #tools-port-set:22222 # HTTP Authentication Whitelist IP # Values: ,,... # Default: # Same as: sudo httpauth -whitelist ########################### #auth-whitelist-ip:1.1.1.1,2.2.2.2 # Block IP Access # Values: ,,... # Default: # Same as: sudo webinoly -blockip ########################### #blockip:1.1.1.1,2.2.2.2 # Block/Deny files and extensions # Values: |... (with this extension only: txt|html|htm|md) # Values: |... (any file using any of these extensions) # Note: This is a security feature, please don't modify unless you are sure about it. # Note: For example, any request to 'readme.txt' or 'name.log' will be blocked (case insensitive) by default. # Note: To revert any changes and set the original Webinoly defaults, just #comment these two variables and then server-reset. # Note: You can remove some extensions like 'exe' if you are distributing installers, for instance, or you can add any of your preference. ########################### #locations-deny-files:changelog|example|installation|legalnotice|license|readme|wp-config #locations-deny-extensions:7z|asc|asp|aspx|ba|bak|bash|bat|bin|bz2|c|cfg|cgi|class|com|conf|cpp|crt|cs|dat|db|dbf|deb|der|dll|dmg|dmp|dump|ear|exe|git|gz|h|hg|hqx|img|ini|iso|jar|jsp|log|mdb|msi|msm|msp|old|orig|original|out|pem|php#|php_bak|php~|pkg|pl|ppk|py|rar|rdf|rpm|run|save|sh|sql|srv|svn|swo|swp|sys|tar|taz|tcl|tgz|tk|tmp|tpl|tz|vb|war|wsf|z|zip # FastCGI Cache # Values: