probando config nginx

This commit is contained in:
Mauro Torrez 2019-10-11 23:00:03 -03:00
parent 710c2a572f
commit 3440685ee5

View File

@ -93,11 +93,14 @@
{{ nginx_config | default({}) | combine({ {{ nginx_config | default({}) | combine({
nextcloud_domain: { nextcloud_domain: {
"locations": { "locations": {
nextcloud_web_root.rstrip('/')+'/': { '~ ^\/(?:index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|oc[ms]-provider\/.+)\.php(?:$|\/)': {
"proxy_pass": "http://{}:9000/".format(nextcloud_container) "proxy_pass": "http://{}:9001/".format(nextcloud_container)
} },
'/': {
"proxy_pass": "http://{}:9002/".format(nextcloud_container)
} }
} }
}
}, recursive=True) }} }, recursive=True) }}
- name: inspect nextcloud volume - name: inspect nextcloud volume