mirror of https://gitlab.com/bashrc2/epicyon
Set port for onion or i2p
parent
c12e23f07a
commit
076b2753e2
|
@ -868,7 +868,11 @@ configPort = getConfigParam(baseDir, 'port')
|
|||
if configPort:
|
||||
port = configPort
|
||||
else:
|
||||
port = 8085
|
||||
if domain.endswith('.onion') or \
|
||||
domain.endswith('.i2p'):
|
||||
port = 80
|
||||
else:
|
||||
port = 443
|
||||
|
||||
configProxyPort = getConfigParam(baseDir, 'proxyPort')
|
||||
if configProxyPort:
|
||||
|
|
Loading…
Reference in New Issue