1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 19:52:06 +00:00
iiab/roles/nextcloud/templates/nextcloud-nginx.conf.j2

11 lines
327 B
Text
Raw Normal View History

location {{ nextcloud_url }} {
proxy_pass http://127.0.0.1:{{ apache_port }}{{ nextcloud_url }};
2019-10-15 17:42:04 +00:00
}
location ~ {{ nextcloud_url }}/.*\.php$ {
2019-10-15 17:42:04 +00:00
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 }};
}