mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
Merge pull request #2316 from tim-moody/kolibri-workaround
Ivan Savov's workaround [so Kolibri exercises work]
This commit is contained in:
commit
b619a1f455
2 changed files with 8 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
location /kolibri/ {
|
||||
location {{ kolibri_url_without_slash }} {
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Scheme $scheme;
|
||||
|
@ -6,3 +6,9 @@ location /kolibri/ {
|
|||
proxy_pass http://127.0.0.1:8009;
|
||||
}
|
||||
|
||||
location /static/mathjax/2.1/ {
|
||||
rewrite ^(.*)$ /kolibri$1 permanent;
|
||||
}
|
||||
location /static/images/spinner.gif {
|
||||
rewrite ^(.*)$ /kolibri$1 permanent;
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@ RemainAfterExit=yes
|
|||
Environment=KOLIBRI_USER={{ kolibri_user }}
|
||||
Environment=KOLIBRI_HOME={{ kolibri_home }}
|
||||
Environment=KOLIBRI_HTTP_PORT={{ kolibri_http_port }}
|
||||
Environment=KOLIBRI_URL_PATH_PREFIX={{ kolibri_url }}
|
||||
Environment=KOLIBRI_URL_PATH_PREFIX={{ kolibri_url_without_slash }}
|
||||
User={{ kolibri_user }}
|
||||
Group={{ apache_user }}
|
||||
TimeoutStartSec=infinity
|
||||
|
|
Loading…
Reference in a new issue