Skip to content
Snippets Groups Projects
Unverified Commit 7ad0d860 authored by Sebastian Höffner's avatar Sebastian Höffner
Browse files

Adding route /grammar to nginx to serve the grammar file.

parent cae208af
No related branches found
No related tags found
No related merge requests found
......@@ -3,4 +3,11 @@ server {
include uwsgi_params;
uwsgi_pass unix:/tmp/ccgapp.sock;
}
location /grammar {
alias /OpenCCG.ebnf;
add_header Content-Disposition 'inline; filename="OpenCCG.ebnf"';
default_type text/plain;
charset utf-8;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment