Work on nginx and server names
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user