nginx root to www redirect - possible bug? #1523
Unanswered
stevelenoble
asked this question in
Support Requests
Replies: 2 comments 1 reply
-
I'm having the same problem and the longer I spend time I too believe it's a bug... All documents I find always use server directives. I can't find one example that doesn't. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I used this command to solve it ee site update example.com --add-alias-domains='www.example.com' |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. Here is my configuration:
Logically, there should be a manual way to add a redirect in one of the nginx configuration files (I can see existing configurations for some of my other domains)
I see 2 main places where that info could be inserted:
/opt/easyengine/services/nginx-proxy/conf.d/www.mydomain.com-redirect.conf
or even
opt/easyengine/sites/afrostellar.com/config/nginx/custom/user.conf
However, any insertion prevents the server from functioning (stopping all other vhosts when under the nginx-proxy conf directory)
I have also tried with two other places just to be sure:
/var/lib/docker/volumes/global-nginx-proxy_confd/_data/www.mydomain.com-redirect.conf
or
/var/lib/docker/volumes/wwwmydomaincom_config_nginx/_data/custom/user.conf
For the global configuration change (
www.mydomain.com-redirect.conf
), I get:However, all sites stop working after this change.
For the targeted configuration change (
user.conf
), I get:Can you help, please? I'm not sure if I'm doing something wrong or if there is a bug...
Here is the code: I try to insert:
Thanks for any help.
Steve
Beta Was this translation helpful? Give feedback.
All reactions