Skip to content
Snippets Groups Projects
Commit 1a0867ff authored by MichiK's avatar MichiK
Browse files

Fix angelguide nginx config

parent 46f3a37d
Branches
No related tags found
Loading
......@@ -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;"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment