From 96fbca2b2c067ac7f65cea6077f61a7c421dda01 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Fri, 29 Mar 2024 19:08:16 -0400 Subject: [PATCH] I don't know --- ...enabled_aether_api_v5_fastapi_gunicorn.conf | 2 +- .../site-enabled_aether_fastapi_gunicorn.conf | 2 +- .../site-enabled_aether_flask_gunicorn.conf | 2 +- conf/nginx/site.conf | 2 +- docker-compose.yml | 18 ++++++++++++++++++ 5 files changed, 22 insertions(+), 4 deletions(-) diff --git a/conf/nginx/site-enabled_aether_api_v5_fastapi_gunicorn.conf b/conf/nginx/site-enabled_aether_api_v5_fastapi_gunicorn.conf index f8b51e0..23a42b0 100644 --- a/conf/nginx/site-enabled_aether_api_v5_fastapi_gunicorn.conf +++ b/conf/nginx/site-enabled_aether_api_v5_fastapi_gunicorn.conf @@ -66,7 +66,7 @@ server { server { listen 443 ssl; listen [::]:443 ssl; - http2 on; + # http2 on; server_name ${DOCKER_AE_API_V5_SERVER_NAME} v5-fastapi.localhost api-v5.localhost; # server_name diff --git a/conf/nginx/site-enabled_aether_fastapi_gunicorn.conf b/conf/nginx/site-enabled_aether_fastapi_gunicorn.conf index 3b716d8..54ac60c 100644 --- a/conf/nginx/site-enabled_aether_fastapi_gunicorn.conf +++ b/conf/nginx/site-enabled_aether_fastapi_gunicorn.conf @@ -71,7 +71,7 @@ server { server { listen 443 ssl; listen [::]:443 ssl; - http2 on; + # http2 on; server_name ${DOCKER_AE_API_SERVER_NAME} diff --git a/conf/nginx/site-enabled_aether_flask_gunicorn.conf b/conf/nginx/site-enabled_aether_flask_gunicorn.conf index 6581334..ea0ce4d 100644 --- a/conf/nginx/site-enabled_aether_flask_gunicorn.conf +++ b/conf/nginx/site-enabled_aether_flask_gunicorn.conf @@ -77,7 +77,7 @@ server { server { listen 443 ssl; listen [::]:443 ssl; - http2 on; + # http2 on; # The Docker nginx envsubst with templates does not work for multiple server names. # server_name diff --git a/conf/nginx/site.conf b/conf/nginx/site.conf index 0c81ea6..24ab585 100644 --- a/conf/nginx/site.conf +++ b/conf/nginx/site.conf @@ -68,7 +68,7 @@ server { server { listen 443 ssl; listen [::]:443 ssl; - http2 on; + # http2 on; server_name _; diff --git a/docker-compose.yml b/docker-compose.yml index 88d5f9e..c747ac4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -142,6 +142,9 @@ services: - "${AE_API_GUNICORN_PORT}:5005" extra_hosts: - "${DOCKER_AE_SERVER_EXTRA_HOST}" + # - "${DOCKER_AE_APP_SERVER_EXTRA_HOST}" + # - "${DOCKER_AE_API_SERVER_EXTRA_HOST}" + # - "${DOCKER_AE_API_BAK_SERVER_EXTRA_HOST}" # expose: # - 5005 # networks: @@ -180,6 +183,9 @@ services: - "${AE_API_GUNICORN_PORT_RED}:5005" extra_hosts: - "${DOCKER_AE_SERVER_EXTRA_HOST}" + # - "${DOCKER_AE_APP_SERVER_EXTRA_HOST}" + # - "${DOCKER_AE_API_SERVER_EXTRA_HOST}" + # - "${DOCKER_AE_API_BAK_SERVER_EXTRA_HOST}" # expose: # - 5005 # networks: @@ -218,6 +224,9 @@ services: - "${AE_API_GUNICORN_PORT_BLUE}:5005" extra_hosts: - "${DOCKER_AE_SERVER_EXTRA_HOST}" + # - "${DOCKER_AE_APP_SERVER_EXTRA_HOST}" + # - "${DOCKER_AE_API_SERVER_EXTRA_HOST}" + # - "${DOCKER_AE_API_BAK_SERVER_EXTRA_HOST}" # expose: # - 5005 # networks: @@ -256,6 +265,9 @@ services: - "${AE_API_GUNICORN_PORT_GREEN}:5005" extra_hosts: - "${DOCKER_AE_SERVER_EXTRA_HOST}" + # - "${DOCKER_AE_APP_SERVER_EXTRA_HOST}" + # - "${DOCKER_AE_API_SERVER_EXTRA_HOST}" + # - "${DOCKER_AE_API_BAK_SERVER_EXTRA_HOST}" # expose: # - 5005 # networks: @@ -294,6 +306,9 @@ services: - "${AE_API_GUNICORN_PORT_BLACK}:5005" extra_hosts: - "${DOCKER_AE_SERVER_EXTRA_HOST}" + # - "${DOCKER_AE_APP_SERVER_EXTRA_HOST}" + # - "${DOCKER_AE_API_SERVER_EXTRA_HOST}" + # - "${DOCKER_AE_API_BAK_SERVER_EXTRA_HOST}" volumes: - ./conf/aether_fastapi_gunicorn_conf.py:/conf/gunicorn_fastapi_conf.py - ./conf/aether_fastapi_requirements_current.txt:/requirements_current.txt @@ -324,6 +339,9 @@ services: # - "${AE_API_GUNICORN_PORT_WHITE}:5005" # extra_hosts: # - "${DOCKER_AE_SERVER_EXTRA_HOST}" + # - "${DOCKER_AE_APP_SERVER_EXTRA_HOST}" + # - "${DOCKER_AE_API_SERVER_EXTRA_HOST}" + # - "${DOCKER_AE_API_BAK_SERVER_EXTRA_HOST}" # volumes: # - ./conf/aether_fastapi_gunicorn_conf.py:/conf/gunicorn_fastapi_conf.py # - ./conf/aether_fastapi_requirements_current.txt:/requirements_current.txt