Hello All
I am building OpenOndemand behind a ReverseProxy, but the URLs are incorrect so the menus don’t work and I get a 404 Not Found error.
Could you help me with the settings for this configuration?
Issue
I can access the first page of Open Ondemand, but the URLs for each menu are incorrect so I get a 404 Not Found error.
The URLs are as follows:
First page https://rp/ood/pun/sys/dashboard
Menu (Files>HomeDirectory) https://rp/pun/sys/dashboard/files/fs/home/user
The URL for the menu (Files>HomeDirectory) must be https://rp/ood/pun/sys/dashboard/files/fs/home/user
for it to work, but I don’t know where to set this, so please help me.
Configuration and settings
[Web browser] — [host:rp(reverseproxy nginx)] — [host:ood(openondemand)]
Reverse proxy host:rp settings(Relevant parts are excerpted)
location /ood/ {
proxy_pass https://ood/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
host:ood ood-portal.yml settings(Relevant parts are excerpted)
proxy_server: ‘rp’
root_uri: ‘/ood/pun/sys/dashboard’
Thank you