Fixed ca cert issue on api
This commit is contained in:
22
.env
22
.env
@@ -1,11 +1,12 @@
|
||||
RUST_LOG=warn,api=info
|
||||
|
||||
HTTPD_DOMAIN=localhost
|
||||
HTTPD_PROTOCOL=http
|
||||
HTTPD_PORT=8080
|
||||
HTTPD_MINIO_HOST=host.docker.internal
|
||||
HTTPD_API_HOST=host.docker.internal
|
||||
HTTPD_UI_HOST=host.docker.internal
|
||||
NGINX_HOST=localhost
|
||||
NGINX_PROTOCOL=https
|
||||
NGINX_HTTP_PORT=8080
|
||||
NGINX_HTTPS_PORT=8443
|
||||
NGINX_MINIO_HOST=host.docker.internal
|
||||
NGINX_API_HOST=host.docker.internal
|
||||
NGINX_UI_HOST=host.docker.internal
|
||||
|
||||
POSTGRES_HOST=localhost
|
||||
POSTGRES_USER=aviation
|
||||
@@ -23,7 +24,7 @@ MINIO_BUCKET=aviation
|
||||
MINIO_PROTOCOL=http
|
||||
MINIO_PORT=9000
|
||||
MINIO_PORT_INTERNAL=9001
|
||||
MINIO_BROWSER_REDIRECT_URL=${HTTPD_PROTOCOL}://${HTTPD_DOMAIN}:${HTTPD_PORT}/minio/
|
||||
MINIO_BROWSER_REDIRECT_URL=${NGINX_PROTOCOL}://${NGINX_HOST}:${NGINX_HTTPS_PORT}/minio/
|
||||
|
||||
UI_PROTOCOL=http
|
||||
UI_PORT=3000
|
||||
@@ -32,7 +33,12 @@ API_PROTOCOL=http
|
||||
API_HOST=0.0.0.0
|
||||
API_PORT=5000
|
||||
|
||||
VITE_API_URL=${HTTPD_PROTOCOL}://${HTTPD_DOMAIN}:${HTTPD_PORT}/api
|
||||
SSL_CA_NAME=ca
|
||||
SSL_CA_PATH=../ssl/${SSL_CA_NAME}.pem
|
||||
SSL_CERT_PATH=../ssl/localhost.crt
|
||||
SSL_CERT_KEY_PATH=../ssl/localhost.key
|
||||
|
||||
VITE_API_URL=${NGINX_PROTOCOL}://${NGINX_HOST}:${NGINX_HTTPS_PORT}/api
|
||||
|
||||
ENVIRONMENT=development
|
||||
ADMIN_EMAIL=admin@example.com
|
||||
|
||||
Reference in New Issue
Block a user