mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
move SHIMS
This commit is contained in:
parent
4ac822d24e
commit
79c5c34182
5 changed files with 0 additions and 0 deletions
13
roles/moodle/templates/moodle-nginx.conf.j2
Normal file
13
roles/moodle/templates/moodle-nginx.conf.j2
Normal file
|
@ -0,0 +1,13 @@
|
|||
location /moodle {
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header Host $host;
|
||||
proxy_pass http://127.0.0.1:{{ apache_port }};
|
||||
}
|
||||
location ~ ^/moodle.*\.php$ {
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header Host $host;
|
||||
proxy_pass http://127.0.0.1:{{ apache_port }};
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue