Dette viser forskellene mellem den valgte og den nuværende udgave af dokumentet. Gul er linjer der findes i den gamle udgave, og grøn er linjer der findes i den nuværende.
|
web3.hosting.gl [2017/10/28 15:02] noer oprettet |
web3.hosting.gl [2017/10/29 21:42] (nuværende) noer |
||
|---|---|---|---|
| Linje 31: | Linje 31: | ||
| </ | </ | ||
| + | ===== Misc ===== | ||
| + | |||
| + | ==== GeoIP update ==== | ||
| + | Used to determine which country clients are accessing the site and deciding weather they should use 3D Secure or not | ||
| < | < | ||
| + | apt install geoipupdate | ||
| + | </ | ||
| + | |||
| + | Add file ''/ | ||
| + | < | ||
| + | # Please see http:// | ||
| + | # on setting up geoipupdate, | ||
| + | # pre-filled GeoIP.conf file. | ||
| + | |||
| + | # Enter your user ID and license key below. These are available from | ||
| + | # https:// | ||
| + | # GeoLite databases, you make leave the 0 values. | ||
| + | UserId 0 | ||
| + | LicenseKey 000000000000 | ||
| + | |||
| + | # Enter the product IDs of the databases you would like to update. | ||
| + | # Multiple product IDs are separated by spaces. | ||
| + | ProductIds GeoLite2-Country GeoLite2-City | ||
| + | |||
| + | # The following are for the GeoLite Legacy databases. To update them, | ||
| + | # uncomment. | ||
| + | # ProductIds 506 517 533 GeoLite-Legacy-IPv6-Country GeoLite-Legacy-IPv6-City | ||
| + | |||
| + | # The remaining settings are OPTIONAL. | ||
| + | |||
| + | # The directory to store the database files. Defaults to / | ||
| + | # DatabaseDirectory / | ||
| + | |||
| + | # The server to use. Defaults to " | ||
| + | # Host updates.maxmind.com | ||
| + | |||
| + | # The desired protocol either " | ||
| + | # Protocol https | ||
| + | |||
| + | # The proxy host name or IP address. You may optionally specify a | ||
| + | # port number, e.g., 127.0.0.1: | ||
| + | # will be used. | ||
| + | # Proxy 127.0.0.1: | ||
| + | |||
| + | # The user name and password to use with your proxy server. | ||
| + | # ProxyUserPassword username: | ||
| + | |||
| + | # Whether to skip host name verification on HTTPS connections. | ||
| + | # Defaults to " | ||
| + | # SkipHostnameVerification 0 | ||
| + | |||
| + | # Whether to skip peer verification on HTTPS connections. | ||
| + | # Defaults to " | ||
| + | # SkipPeerVerification 0 | ||
| + | |||
| + | # The lock file to use. This ensures only one geoipupdate process can run at a | ||
| + | # time. | ||
| + | # Defaults to " | ||
| + | # LockFile / | ||
| + | </ | ||
| + | |||
| + | |||
| + | ==== Crontab ==== | ||
| + | < | ||
| + | 13 01 * * 6 / | ||
| + | |||
| + | 1 4 * * * / | ||
| + | 15 */6 * * * / | ||
| + | */5 * * * * / | ||
| + | 14 8 * * * / | ||
| + | 14 7 * * * / | ||
| + | |||
| + | 32 11 * * * / | ||
| </ | </ | ||
| < | < | ||
| </ | </ | ||