MToken

 view release on metacpan or  search on metacpan

conf/mtoken.conf  view on Meta::CPAN

#
# This file contains Your MToken configuration directives.
#
# NOTE!!
# All directives MUST BE written in Apache-config style!
# See https://metacpan.org/pod/Config::General#-ApacheCompatible
#

Include conf.d/*.conf

#
# Store section
#
# Section for connection with Your database. Recommended for use follow databases:
# SQLite (local, default), MySQL, PostgreSQL (pg) or Oracle
#

# SQLite example:
#<Store>
#    File       /tmp/test.db
#    Attributes RaiseError=0; PrintError=0; sqlite_unicode=1
#</Store>

# MySQL example:
#<Store>
#    DSN        DBI:mysql:database=mtoken;host=mysql.example.com
#    User       username
#    Password   password
#    Timeout    10
#    Attributes RaiseError=0; PrintError=0; mysql_enable_utf8=1; mysql_auto_reconnect=1
#</Store>

# PostgreSQL Example
#<Store>
#    DSN        DBI:Pg:dbname=mtoken;host=mysql.example.com
#    User       username
#    Password   password
#    Timeout    10
#    Attributes RaiseError=0; PrintError=0; pg_enable_utf8=1
#</Store>

# Oracle Example
#<Store>
#    DSN        DBI:Oracle:MYSID
#    User       username
#    Password   password
#    Timeout    10
#    Attributes RaiseError=0; PrintError=0
#</Store>

#
# Client configuration
#

#
# Maximum number of redirects the user agent will follow before it fails
#
#MaxRedirects	10

#
# Maximum amount of time in seconds establishing a connection may take
# before getting canceled
#
#ConnectTimeout	10

#
# Maximum amount of time in seconds a connection can be inactive before getting closed,
#
#InactivityTimeout	30

#
# Maximum amount of time in seconds establishing a connection, sending the request
# and receiving a whole response may take before getting canceled
#
#RequestTimeout     180


#
# Server configuration
#

#
# The location to listen on, defaults to *:8642 (shortcut for http://0.0.0.0:8642).
# See also "listen" in Mojo::Server::Daemon for more examples.
#
#Listen *:8642

#
# The separated listen address. Default to * (0.0.0.0)
#



( run in 0.879 second using v1.01-cache-2.11-cpan-f56aa216473 )