diff --git a/host_vars/gabriel.c3heaven.de b/host_vars/gabriel.c3heaven.de index 78f2a35fdc8a94e60190eec92b40b110cba6a28a..5c6cabf9e40956ae86fbfbe58a8fa28a71003b41 100644 --- a/host_vars/gabriel.c3heaven.de +++ b/host_vars/gabriel.c3heaven.de @@ -21,10 +21,9 @@ nginx_https_sites: config: "return 301 https://wiki.c3heaven.de$1?$args;" - location: "~ /kanboard(.*)$" config: "return 301 https://kanboard.c3heaven.de$1?$args;" - - location: "~ /guide/(.*).pdf$" + - location: "/guide" config: |- - root {{ angelguide_deployment_path }}; - rewrite ^/guide(.*)$ $1; + alias {{ angelguide_deployment_path }}; add_header Access-Control-Allow-Origin *; - location: "/angelguide.pdf" config: "rewrite .* /guide/angelguide_$lang.pdf;"