mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Ivan Savav's workaround
This commit is contained in:
parent
5d03c5d23a
commit
606693c3f3
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 Host $http_host;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Scheme $scheme;
|
proxy_set_header X-Scheme $scheme;
|
||||||
|
@ -6,3 +6,9 @@ location /kolibri/ {
|
||||||
proxy_pass http://127.0.0.1:8009;
|
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_USER={{ kolibri_user }}
|
||||||
Environment=KOLIBRI_HOME={{ kolibri_home }}
|
Environment=KOLIBRI_HOME={{ kolibri_home }}
|
||||||
Environment=KOLIBRI_HTTP_PORT={{ kolibri_http_port }}
|
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 }}
|
User={{ kolibri_user }}
|
||||||
Group={{ apache_user }}
|
Group={{ apache_user }}
|
||||||
TimeoutStartSec=infinity
|
TimeoutStartSec=infinity
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue