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,6 +2,9 @@ server {
listen 80;
listen [::]:80;
# server_name
# ${NGINX_SERVER_NAMES}
# ;
server_name
flask_gunicorn.localhost demo.localhost dev.localhost
@@ -53,6 +56,10 @@ server {
listen 443 ssl;
listen [::]:443 ssl http2;
# The Docker nginx envsubst with templates does not work for multiple server names.
# server_name
# ${NGINX_SERVER_NAMES}
# ;
server_name
flask_gunicorn.localhost demo.localhost dev.localhost