Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tons of 404 when trying to do base with nginx #140

Open
goodwill opened this issue Jan 29, 2015 · 2 comments
Open

Tons of 404 when trying to do base with nginx #140

goodwill opened this issue Jan 29, 2015 · 2 comments

Comments

@goodwill
Copy link

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.

@apoczobut
Copy link

I've the same problem with nginx, any help?

@angelxmoreno
Copy link

Are you having an Nginx config issue or an oauthd issue ? Does the app work when you go to http://127.0.0.1:6284 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants