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