Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 52577999 authored by Arnau Vàzquez's avatar Arnau Vàzquez
Browse files

Merge branch 'dev/1832-fix-redirections-in-doc-e-foundation' into 'master'

1832 Fix redirections in doc.e.foundation

See merge request e/documentation/user!974
parents 62012b87 4eb833ea
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -7,8 +7,8 @@ server {
    rewrite ^(/.+)/$ $scheme://$http_host$1 permanent;
    rewrite ^(/.+)/index.html$ $scheme://$http_host$1 permanent;

    rewrite ^/faq(/.*)?$ $scheme://$http_host/support-topics$1 redirect;
    rewrite ^/how-tos(/.*)?$ $scheme://$http_host/support-topics$1 redirect;
    rewrite ^/faq(/.*)?$ $scheme://$http_host/support-topics$1 permanent;
    rewrite ^/how-tos(/.*)?$ $scheme://$http_host/support-topics$1 permanent;

    location / {
      root   /usr/share/nginx/html;