2020-04-22 14:33:55 +00:00
|
|
|
location {{ kolibri_url }} {
|
2019-11-28 08:11:49 +00:00
|
|
|
proxy_set_header Host $http_host;
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
proxy_set_header X-Scheme $scheme;
|
2020-04-22 15:00:59 +00:00
|
|
|
proxy_set_header X-Script-Name {{ kolibri_url_without_slash }};
|
2019-11-28 08:11:49 +00:00
|
|
|
proxy_pass http://127.0.0.1:8009;
|
2019-10-15 23:47:49 +00:00
|
|
|
}
|
|
|
|
|
2020-04-01 12:49:04 +00:00
|
|
|
location /static/mathjax/2.1/ {
|
|
|
|
rewrite ^(.*)$ /kolibri$1 permanent;
|
|
|
|
}
|
|
|
|
location /static/images/spinner.gif {
|
|
|
|
rewrite ^(.*)$ /kolibri$1 permanent;
|
|
|
|
}
|