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

Reverse Proxy #119

Closed
6 of 7 tasks
refs opened this issue Feb 21, 2020 · 2 comments
Closed
6 of 7 tasks

Reverse Proxy #119

refs opened this issue Feb 21, 2020 · 2 comments
Assignees

Comments

@refs
Copy link
Member

refs commented Feb 21, 2020

  1. Select a port from the list of available port ranges
  2. Register route handlers
  3. Proxy TLS support
  4. Ocis-konnectd toggle tls (Add option to disable TLS ocis-konnectd#37)
  5. Update the default registration yaml (identifier-registration.yml for reverse proxy ocis-konnectd#32)
  6. Bridge host address configurable
  7. Add ocis-bridge to runtime to start with ocis-server

How to run the single binary behind the proxy

pre-requirements

until point 4 (ocis-konnectd tls toggler) if available, you'd need to manually disable tls on the konnectd extension and update your go.mod with your local ocis-konnectd. Hence why this is using go run for ease of mind.

Create the require folder structure by reva

mkdir /var/tmp/reva/{data,root}

1. Run ocis fullstack server

KONNECTD_ISS=https://localhost:9200 \
REVA_OIDC_ISSUER=https://localhost:9200 \
PHOENIX_OIDC_AUTHORITY=https://localhost:9200 \
PHOENIX_WEB_CONFIG_SERVER=https://localhost:9200 \
go run cmd/ocis/main.go server

2. visit https://localhost:9200

3. Log in

credentials:

username: albert
password: relativity

4. Once you log in you should see the files app

@PVince81
Copy link
Contributor

Fixes #136

@IljaN IljaN linked a pull request Mar 11, 2020 that will close this issue
@IljaN IljaN removed a link to a pull request Mar 11, 2020
@IljaN
Copy link
Member

IljaN commented Mar 27, 2020

@micbar Is ocis-bridge command still a priority?

@IljaN IljaN closed this as completed Jul 12, 2020
refs pushed a commit that referenced this issue Sep 18, 2020
change hashing algorithm from SHA-512 to bcrypt
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