# _ _ ___ __ _ (R) # | | (_)_ _____ / __|___ _ _ / _(_)__ _ # | |__| \ V / -_) (__/ _ \ ' \| _| / _` | # |____|_|\_/\___|\___\___/_||_|_| |_\__, | # |___/ # Copyright (c) 2009-2023 LiveConfig GmbH. # ---------------------------------------------------------------------------- # Configuration file # ---------------------------------------------------------------------------- # ---------------------------------------------------------------------------- # General settings # ---------------------------------------------------------------------------- # base directory for relative file/path names # If you use a relative path name (like eg. "."), then we use the location of # the LiveConfig executable as start point. # base_path = . # license_file: license key file # license_file = /etc/liveconfig/liveconfig.key # log_file: main log file # log_file = /var/log/liveconfig/liveconfig.log # pid_file: the file to store the process id in # pid_file = /run/liveconfig/liveconfig.pid # resource_path: the path where LiveConfig resource files are stored # resource_path = /usr/share/liveconfig # library_path: the path for LiveConfig's additional libraries & Lua scripts # library_path = /usr/lib/liveconfig # libexec_path: the path to utility programs # libexec_path = /usr/lib/liveconfig # user: the system user to switch to for all unprivileged operations (like # the frontend webserver, querying system statistics, etc.) # If not defined, the user id '-1' will be used. # LiveConfig must be started as root user in order to switch to a lesser # privileged user. If started as non-root user, LiveConfig will continue to # run as that user. user = liveconfig # group: the system group to switch to for all unprivileged operations. If not # set, the default group of the user defined by the "user" command will be # used. group = liveconfig # proxy_http: If this option is set, LiveConfig uses the defined proxy server # for outbound HTTP(S) connections. # proxy_http = http://proxy.example.org # ---------------------------------------------------------------------------- # Database settings # ---------------------------------------------------------------------------- # SQLite example: db_driver = sqlite db_name = /var/lib/liveconfig/liveconfig.db # MySQL example: # db_driver = mysql # db_host = localhost # db_name = LIVECONFIG # db_user = liveconfig # db_password = LiVeCoNfIg # ---------------------------------------------------------------------------- # HTTP protocol settings # ---------------------------------------------------------------------------- # http_socket: network socket for incoming HTTP connections (unencrypted) # http_socket = socket:/run/liveconfig/liveconfig.http.sock # http_ssl_socket: network socket for incoming HTTPS connections (TLS/SSL) http_ssl_socket = *:8443 # http_access_log: log file for HTTP requests (combined log format) # http_access_log = /var/log/liveconfig/access.log # htdocs_path: directory for static files (eg. customer logos, ...) # Must be writable by the LiveConfig user! # http_htdocs_path = /var/lib/liveconfig/htdocs # http_read_timeout: the number of seconds to wait for data until read # operations time out # http_read_timeout = 60 # http_keepalive_timeout: the number of seconds to wait for next request # on HTTP/1.1 Keep-Alive connections # http_keepalive_timeout = 15 # http_keepalive_requests: maximum number of HTTP requests within a # HTTP/1.1 Keep-Alive connection # http_keepalive_requests = 100 # http_max_connections: maximum number of concurrent HTTP connections # http_max_connections = 150 # http_ssl_certificate: SSL certificate file (containing both certificate and # private key, PEM encoded) http_ssl_certificate = /etc/liveconfig/sslcert.pem # http_redirect: define redirects # format: http_redirect = # must be 301 or 302 http_redirect = 301 / /liveconfig/login http_redirect = 301 /liveconfig /liveconfig/login # http_rewrite: define URL rewriting # format: http_rewrite = http_rewrite = /robots.txt /liveconfig/res/lc/robots.txt # http_url_prefix: this prefix is prepended to every URL regarding LiveConfig # The http_url_prefix will not be considered in "http_redirect" # and "http_rewrite" settings # http_url_prefix = "/liveconfig" # http_canonical_host: define canonical name for LiveConfig web interface # http_canonical_host = liveconfig.example.org # http_canonical_redirect: if http_canonical_host is defined, and a browser # sends a differing "Host:" header, it will be redirected to the defined URL: # http_canonical_redirect = http://www.example.org # http_nonssl_redirect: if a plain HTTP request (via a "http_socket") arrives, # redirect to the defined URL. # format: http_nonssl_redirect = # http_nonssl_redirect = 301 https://liveconfig.example.org/liveconfig/login # http_hsts_time: enable HTTP Strict Transport Security (HSTS), forcing all # clients to use secure connections only. # Please read the manual before enabling this option! # http_hsts_time = 31536000 # http_cors_origin: define one or more allowed origins for CORS # (cross origin resource sharing). CORS access is restricted to /api/ URLs # anyway. DO NOT enable this unless you know exactly what you're doing. # http_cors_origin = https://example.org # ---------------------------------------------------------------------------- # LCCP protocol settings # ---------------------------------------------------------------------------- # lccp_local: local UNIX socket for connecting services to LiveConfig # lccp_local = socket:/run/liveconfig/liveconfig.sock # lccp_socket: network socket for incoming LCCP connections # (LiveConfig Business Server only!) # lccp_socket = *:788 # lccp_data_port_offset: port number offset for incoming LCCP data connections # Default value "1": when a LCCP port is opened at :788, the corresponding # data port will be opened at 788+1 = port 789. # lccp_data_port_offset = 1 http_socket = 127.0.0.1:82 http_proxy_ip_from = 127.0.0.1 http_proxy_url = https://cp.moradiconnect.de # wenn Sie Apache als Proxy-Webserver nutzen: http_proxy_ip_header = X-Forwarded-For # -----------------------------------------------------------------------