How to manage redirects #27
Unanswered
apelliciari
asked this question in
Q&A
Replies: 0 comments
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.
-
Hi,
I love your images, great work.
What is the best way to manage redirects (aka rewrites, 301) on this image?
Actually I'm adding to
/etc/nginx/default.conf
an include with redirects through the docker volumes (in other words, I've copied the default.conf and added the include line)the included file are just rewrite commands, without a server directive
include /etc/nginx/conf.d/site.redirects;
Thanks
Beta Was this translation helpful? Give feedback.
All reactions