As I have followed the documentation to configure oauthd mount below a path of my main site, I can't access the administration interface at all.
Here is my config:
var local_config = {
// Here you can override any configuration field that is specifig to a local machine.
// The config.local.js is git ignored.
host_url: 'https://domain.com',
base: "/oauthd",
base_api: "/oauthd/api",
port: 6284,
bind: '127.0.0.1'
};
Here is my nginx mount point:
location ^~ /oauthd/ {
proxy_pass http://127.0.0.1:6284;
}
If I goto /oauthd/admin, I got the main page, but all resources are still on /lib etc, which means everything is a 404 because the path should be /oauthd/ prefixed.
As I have followed the documentation to configure oauthd mount below a path of my main site, I can't access the administration interface at all.
Here is my config:
var local_config = { // Here you can override any configuration field that is specifig to a local machine. // The config.local.js is git ignored. host_url: 'https://domain.com', base: "/oauthd", base_api: "/oauthd/api", port: 6284, bind: '127.0.0.1'
};
Here is my nginx mount point: location ^~ /oauthd/ { proxy_pass http://127.0.0.1:6284; }
If I goto /oauthd/admin, I got the main page, but all resources are still on /lib etc, which means everything is a 404 because the path should be /oauthd/ prefixed.