mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 19:52:06 +00:00
14 lines
416 B
Text
14 lines
416 B
Text
|
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 }};
|
||
|
}
|