Changed the default port to 80
This commit is contained in:
parent
e832032cd6
commit
ae806542e3
2
.env
2
.env
@ -2,7 +2,7 @@ API_URL_BASE=https://api.digitalocean.com/v2
|
||||
API_TOKEN=""
|
||||
HTPASSWD=.htpasswd
|
||||
HOST=0.0.0.0
|
||||
PORT=8000
|
||||
PORT=80
|
||||
LOG_LEVEL=info
|
||||
DEBUG=true
|
||||
|
||||
|
@ -5,6 +5,5 @@ or with custom ip address
|
||||
http://[USERNAME]:[PASSWORD]@tanshu.com/update?hostname=[DOMAIN]&ip=[IP]
|
||||
The users are maintained in the .htpasswd file in the production.ini directory.
|
||||
The way to add/update users is "htpasswd .htpasswd [USERNAME]
|
||||
the domains should be in the "dns_info" file in the format "domain:ipaddress"
|
||||
The location of both the files can be changed in the ini file.
|
||||
Also, the webfaction username and password needs to be configured in the ini file.
|
||||
The location of the files can be changed in the environment variables.
|
||||
Also, the digital ocean api key needs to be configured in the environment variables.
|
@ -2,7 +2,6 @@ from environs import Env
|
||||
|
||||
env = Env()
|
||||
env.read_env() # read .env file, if it exists
|
||||
print("env reloaded")
|
||||
|
||||
|
||||
class Settings:
|
||||
|
Loading…
x
Reference in New Issue
Block a user