Work on nginx and server names

This commit is contained in:
Scott Idem
2023-02-24 14:21:54 -05:00
parent ea007cda13
commit 56fb54a38e
6 changed files with 56 additions and 21 deletions

View File

@@ -2,12 +2,13 @@ server {
listen 80;
listen [::]:80;
server_name
fastapi_gunicorn.localhost
dev-api.localhost
dev-api.oneskyit.com
test-api.oneskyit.com
;
server_name ${DOCKER_AE_API_SERVER_NAME};
# server_name
# fastapi_gunicorn.localhost
# dev-api.localhost
# dev-api.oneskyit.com
# test-api.oneskyit.com
# ;
access_log /logs/nginx/access_fastapi_gunicorn.log;
error_log /logs/nginx/error_fastapi_gunicorn.log;
@@ -39,12 +40,13 @@ server {
listen 443 ssl;
listen [::]:443 ssl http2;
server_name
fastapi_gunicorn.localhost
dev-api.localhost
dev-api.oneskyit.com
test-api.oneskyit.com
;
server_name ${DOCKER_AE_API_SERVER_NAME};
# server_name
# fastapi_gunicorn.localhost
# dev-api.localhost
# dev-api.oneskyit.com
# test-api.oneskyit.com
# ;
access_log /logs/nginx/access_fastapi_gunicorn.log;
error_log /logs/nginx/error_fastapi_gunicorn.log;