diff options
author | terminaldweller <thabogre@gmail.com> | 2022-04-01 22:05:40 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-04-01 22:05:40 +0000 |
commit | e43d90efe20ed06090ad1034b789e7a1b6ee00fe (patch) | |
tree | eceacdd49995fcb08cfde73c836e3c0adc7ebb81 /docker-entrypoint.sh | |
parent | added README. /wiki is working now. (diff) | |
download | devourer-e43d90efe20ed06090ad1034b789e7a1b6ee00fe.tar.gz devourer-e43d90efe20ed06090ad1034b789e7a1b6ee00fe.zip |
wip
Diffstat (limited to '')
-rwxr-xr-x | docker-entrypoint.sh | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 92e2537..43159f2 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -1,7 +1,21 @@ #!/usr/bin/env sh if [ "$SERVER_DEPLOYMENT_TYPE" = "deployment" ]; then - uvicorn devourer:app --host 0.0.0.0 --port 80 --ssl-certfile /certs/server.cert --ssl-keyfile /certs/server.key + uvicorn devourer:app \ + --host 0.0.0.0 \ + --port 80 \ + --ssl-certfile /certs/server.cert \ + --ssl-keyfile /certs/server.key \ + --no-proxy-headers \ + --no-server-headers \ + --no-date-headers elif [ "$SERVER_DEPLOYMENT_TYPE" = "test" ]; then - uvicorn devourer:app --host 0.0.0.0 --port 80 --ssl-certfile /certs/server.cert --ssl-keyfile /certs/server.key + uvicorn devourer:app \ + --host 0.0.0.0 \ + --port 80 \ + --ssl-certfile /certs/server.cert \ + --ssl-keyfile /certs/server.key \ + --no-proxy-headers \ + --no-server-headers \ + --no-date-headers fi |