######################
# Web Site: Default 
########################################

port=80
root=/ /var/www/default
hosts=*    #OR your.com,*.your.com

# User=www-data

# AspNet.Workers=2       # Set the number of asp.net worker processes. Defauit is 1.
# AspNet.MaxCpuTime=3600 # Cpu time used by each worker process
# AspNet.MaxMemory=768   # Memory used by each working process

# addr=0.0.0.0
# CheckQuery=false
NoLog=true

# AppHost.Port=5000

# AppHost={cmd=dotnet /usr/local/x/app.dll; root=/usr/local/x; port=5000}

# NoFile=/index.aspx
# Keep_Alive=false
# UseGZIP=false

# UseHttps=true
# ssl.certificate=/x/xxx.crt  #or pem
# ssl.certificatekey=/x/xxx.key
# ssl.protocol=TLSv1.2 TLSv1.3
# ssl.ciphers=ECDHE-RSA-AES256-GCM-SHA384:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4:!DH:!DHE 
# ResponseHandler.Add=Strict-Transport-Security:max-age=15768000  #for https HSTS

# DenyFrom=192.168.0.233, 192.168.1.*, 192.168.2.0/24
# AllowFrom=192.168.*.*
# DenyDirs=~/cgi, ~/upfiles
# indexes=myindex.aspx


# Rewrite: URL rewite
# rewrite=^/test/(.+)(\.html)(|\?.+)$ /test/$1.aspx$3  #html to aspx

# Reject asp,cgi...: Rewrite the path to /.deny
# rewrite=^/.+?\.(asp|cgi|pl|sh|bash|dll)(\?.*|)$  /.deny


# Reproxy:Reverse proxies
# reproxy=/bbs/  1.1.1.1:8080/bbs/
# reproxy=/bbs/  1.1.1.1:8080/bbs/, 1.1.1.2:8080/bbs/


# Forwarding bound IPv4 address list:
# forward_bind=192.168.254.251,192.168.254.252

# host.Redirect=abc.com www.abc.com  301

# ResponseHandler.Add=myKey:myValue
ResponseHandler.Add=X-Frame-Options:SAMEORIGIN

# Jexus php fastcgi address is '/var/run/jexus/phpsvr'
#######################################################
# fastcgi.add=php|socket:/var/run/jexus/phpsvr

# php-fpm listen address is '127.0.0.1:9000'
############################################
# fastcgi.add=php|tcp:127.0.0.1:9000


