fix proxy_pass on regexp location
This commit is contained in:
parent
3440685ee5
commit
38726fbe39
@ -94,7 +94,7 @@
|
|||||||
nextcloud_domain: {
|
nextcloud_domain: {
|
||||||
"locations": {
|
"locations": {
|
||||||
'~ ^\/(?:index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|oc[ms]-provider\/.+)\.php(?:$|\/)': {
|
'~ ^\/(?:index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|oc[ms]-provider\/.+)\.php(?:$|\/)': {
|
||||||
"proxy_pass": "http://{}:9001/".format(nextcloud_container)
|
"proxy_pass": "http://{}:9001".format(nextcloud_container)
|
||||||
},
|
},
|
||||||
'/': {
|
'/': {
|
||||||
"proxy_pass": "http://{}:9002/".format(nextcloud_container)
|
"proxy_pass": "http://{}:9002/".format(nextcloud_container)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user