You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have two site behind nginx-proxy. One is flask-app, the other is wordpress site.
When I enter www.wp-site-domain.ru, browser redirects me to wp-site-domain.ru with 301 redirect
With flask site, when I enter www.flask-site.ru, browser doesn't redirect me. Screenshot But I used similar docker command to launch both containers!!
I can't understand where the redirect magic happens!
I launch flask app using this docker run -d --restart=always -e VIRTUAL_HOST=*.flask-site.ru,flask-site.ru myflask
I launch wordress using this: docker run -d --restart=always --name wordpress1 --volumes-from wordpress1_data --link wordpress1_mariadb:mysql -e VIRTUAL_HOST=*.wp-site-domain.ru,wp-site-domain.ru wordpress
The text was updated successfully, but these errors were encountered:
I have two site behind nginx-proxy. One is flask-app, the other is wordpress site.
When I enter www.wp-site-domain.ru, browser redirects me to wp-site-domain.ru with 301 redirect
With flask site, when I enter www.flask-site.ru, browser doesn't redirect me.
Screenshot
But I used similar docker command to launch both containers!!
I can't understand where the redirect magic happens!
I launch flask app using this
docker run -d --restart=always -e VIRTUAL_HOST=*.flask-site.ru,flask-site.ru myflask
I launch wordress using this:
docker run -d --restart=always --name wordpress1 --volumes-from wordpress1_data --link wordpress1_mariadb:mysql -e VIRTUAL_HOST=*.wp-site-domain.ru,wp-site-domain.ru wordpress
The text was updated successfully, but these errors were encountered: