In my case, my nginx reverse proxy config is:
wiki.ckc.im -> Nginx -> Xwikihost:8080/wiki
location / {
proxy_pass http://10.0.2.3:8080/xwiki/;
}
And my config file (/xwiki/WEB-INF/xwiki.cfg) is changed as following:
#-# xwiki.home=http://wiki.mycompany.net:8080/
xwiki.home=http://wiki.ckc.im/
Tried both / and empty
xwiki.webapppath=
And I found few location still represent /xwiki/…
developerShortcutsRestCall("/xwiki/rest/currentuser/properties/usertype/next",
Then I cannot use Edit
and got 404:
jquery.js:9175 GET https://wiki.ckc.im/xwiki/rest/wikis/xwiki/spaces/Main/pages/WebHome?timestamp=1611659359218 404
send @ jquery.js:9175
ajax @ jquery.js:8656
n. @ jquery.js:8807
getJSON @ jquery.js:8788
reload @ InplaceEditing?language=en&docVersion=1.1:9
z @ InplaceEditing?language=en&docVersion=1.1:14
(anonymous) @ jquery.js:3366
i @ jquery.js:3187
fireWith @ jquery.js:3317
(anonymous) @ jquery.js:3373
i @ jquery.js:3187
fireWith @ jquery.js:3317
(anonymous) @ jquery.js:3373
i @ jquery.js:3187
fireWith @ jquery.js:3317
z @ jquery.js:8757
(anonymous) @ jquery.js:9123
load (async)
send @ jquery.js:9142
ajax @ jquery.js:8656
n. @ jquery.js:8807
getJSON @ jquery.js:8788
lock @ InplaceEditing?language=en&docVersion=1.1:9
p @ InplaceEditing?language=en&docVersion=1.1:12
n @ InplaceEditing?language=en&docVersion=1.1:12
editPage @ InplaceEditing?language=en&docVersion=1.1:28
(anonymous) @ InplaceEditing?language=en&docVersion=1.1:30
execCb @ require.min.js?r=1:5
check @ require.min.js?r=1:5
enable @ require.min.js?r=1:5
init @ require.min.js?r=1:5
(anonymous) @ require.min.js?r=1:5
setTimeout (async)
req.nextTick @ require.min.js?r=1:5
s @ require.min.js?r=1:5
requirejs @ require.min.js?r=1:5
(anonymous) @ InplaceEditing?language=en&docVersion=1.1:30
dispatch @ jquery.js:4737
r.handle @ jquery.js:4549
Am I somewhere wrong? Or could anyone tell me how actually to do?
Thanks