Brugerværktøjer

Webstedsværktøjer


web3.hosting.gl

Forskelle

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.

Link til denne sammenlinings vising

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:
 </code> </code>
  
 +===== Misc =====
 +
 +==== GeoIP update ====
 +Used to determine which country clients are accessing the site and deciding weather they should use 3D Secure or not
 <code> <code>
 +apt install geoipupdate
 +</code>
 +
 +Add file ''/etc/GeoIP.conf''
 +<code>
 +# Please see http://dev.maxmind.com/geoip/geoipupdate/ for instructions
 +# on setting up geoipupdate, including information on how to download a
 +# pre-filled GeoIP.conf file.
 +
 +# Enter your user ID and license key below. These are available from
 +# https://www.maxmind.com/en/my_license_key. If you are only using free
 +# 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 /usr/local/share/GeoIP
 +# DatabaseDirectory /usr/local/share/GeoIP
 +
 +# The server to use. Defaults to "updates.maxmind.com".
 +# Host updates.maxmind.com
 +
 +# The desired protocol either "https" (default) or "http".
 +# Protocol https
 +
 +# The proxy host name or IP address. You may optionally specify a
 +# port number, e.g., 127.0.0.1:8888. If no port number is specified, 1080
 +# will be used.
 +# Proxy 127.0.0.1:8888
 +
 +# The user name and password to use with your proxy server.
 +# ProxyUserPassword username:password
 +
 +# Whether to skip host name verification on HTTPS connections.
 +# Defaults to "0".
 +# SkipHostnameVerification 0
 +
 +# Whether to skip peer verification on HTTPS connections.
 +# Defaults to "0".
 +# SkipPeerVerification 0
 +
 +# The lock file to use. This ensures only one geoipupdate process can run at a
 +# time.
 +# Defaults to ".geoipupdate.lock" under the DatabaseDirectory.
 +# LockFile /usr/local/share/GeoIP/.geoipupdate.lock
 +</code>
 +
 +
 +==== Crontab ====
 +<code>
 +13 01 * * 6     /usr/bin/geoipupdate
 +
 +1 4 * * *       /usr/bin/php -q /var/vhost/hosting.gl/crons/cron.php
 +15 */6 * * *    /usr/bin/php -q /var/vhost/hosting.gl/crons/domainsync.php
 +*/5 * * * *     /usr/bin/php -q /var/vhost/hosting.gl/crons/pop.php >> /var/log/whmcs-pop.log
 +14 8 * * *      /usr/bin/php -q /var/vhost/hosting.gl/crons/COCCApoll.php
 +14 7 * * *      /usr/bin/php -q /var/vhost/hosting.gl/crons/deletemails.php
 +
 +32 11 * * *     /root/certbot-auto renew --quiet --no-self-upgrade
 </code> </code>
  
 <code> <code>
 </code> </code>
web3.hosting.gl.1509202979.txt.gz · Sidst ændret: 2017/10/28 15:02 af noer