I would like to know how I can customize the Shinyproxy landing page below.
I have read somewhere on the community that the html file can be found in this folder: src/main/resources/templates
but I don’t have such folder in my Linux EC2 instance.
Thanks in advance.
Max
I’m having the same issue / question. My one idea was to modify the jar file directly in the templates folder or in the containerproxy-0.8.3.jar. However, when I recompile the jar (even without any changes) the app does not load.
Any ideas for how to do this with containerproxy in particular?
hi @Mav9rick,
you can check https://github.com/openanalytics/shinyproxy-config-examples/tree/master/04-custom-html-template for explanation. There is a link there to find original login.html (https://github.com/openanalytics/containerproxy/blob/master/src/main/resources/templates/login.html), so you can download it, modify and then put into the templates folder that you specify in the application.yaml
Hello Maxim ! I’m absolutely sorry, I had not seen the notification of your reply…
My main issue is that I am not able to locate where to re-upload the modified login.html
version.
When I do cd /usr/src
I only have inside two folders: debug
and kernels
.
Should I be looking somewhere else ?
You don’t need to upload it, but just to put into some location on the server, and then point application.yaml’s proxy.template-path
line to that chosen location.
Once again, please refer to the repository link above