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

11 lines
301 B
Text

location /nextcloud {
proxy_pass http://127.0.0.1:{{ apache_port }}/nextcloud;
}
location ~ /nextcloud/.*\.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 }};
}