## Configuration file for a typical Tor user
##
## Lines that begin with "## " try to explain what's going on. Lines
## that begin with just "#" are disabled commands: you can enable them
## by removing the "#" symbol.
##
## See 'man tor', or https://www.torproject.org/docs/tor-manual.html,
## for more options you can use in this file.
##
## Tor will look for this file in various places based on your platform:
## https://www.torproject.org/docs/faq#torrc

## Tor opens a SOCKS proxy on port 9050 by default -- even if you don't
## configure one below. Set "SOCKSPort 0" if you plan to run Tor only
## as a relay, and not make any local application connections yourself.
# Default: Bind to localhost:9050 for local connections.
SOCKSPort 127.0.0.1:9051

## Logs go to stdout at level "notice" unless redirected by something
## else, like one of the below lines. You can have as many Log lines as
## you want.
##
## We advise using "notice" in most cases, since anything more verbose
## may provide sensitive information to an attacker who obtains the logs.
##
## Send all messages of level 'notice' or higher to /var/log/tor/notices.log
Log notice file /var/tor/notice.log
#Log info file /var/tor/info.log
## Send every possible message to /var/log/tor/debug.log
#Log debug file /var/tor/debug.log
## Use the system log instead of Tor's logfiles
#Log debug syslog
## To send all messages to stderr:
#Log debug stderr

## Uncomment this to start the process in the background... or use
## --runasdaemon 1 on the command line. This is ignored on Windows;
## see the FAQ entry if you want Tor to run as an NT service.
RunAsDaemon 1

## The directory for keeping all the keys/etc. By default, we store
## things in $HOME/.tor on Unix, and in Application Data\tor on Windows.
DataDirectory /var/tor

############### This section is just for location-hidden services ###

## Once you have configured a hidden service, you can look at the
## contents of the file ".../hidden_service/hostname" for the address
## to tell people.
##
## HiddenServicePort x y:z says to redirect requests on port x to the
## address y:z.

HiddenServiceDir /var/tor/nanochan
HiddenServicePort 80 127.0.0.1:37566
HiddenServicePort 443 127.0.0.1:37567

HiddenServiceDir /var/tor/nano3chan
HiddenServiceVersion 3
HiddenServicePort 80 127.0.0.1:37564
HiddenServicePort 443 127.0.0.1:37565

HiddenServiceDir /var/tor/nano3chanv2
HiddenServiceVersion 3
HiddenServicePort 80 127.0.0.1:37568
HiddenServicePort 443 127.0.0.1:37569

User _tor

#MaxClientCircuitsPending 500

# >Tor connection opening is the biggest delay
# True. Some options in torrc could help:
NumCPUs 4 # Sometimes Tor doesn't select all cpu cores.
MaxMemInQueues 768MB # If the server has a good amount of memory, let Tor use it
AvoidDiskWrites 1 # Will write to memory whenever possible
#Schedulers KISTLite # On Linux you could use KIST, but on OpenBSD only KISTLite works
