Skip to content
This repository has been archived by the owner on Oct 27, 2021. It is now read-only.

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
medcl committed Apr 5, 2018
1 parent e0c3fcd commit 55338d7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 35 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ PROXY, a simple elasticsearch proxy written in Go.

# Features
- Enable auto handling elasticsearch failure, via disk based indexing queue(WIP)
- Enable Opt-in TLS/HTTPS protect
- Enable opt-in TLS/HTTPS protect
- Enable replicate indexing request to multi remote elasticsearch clusters(WIP)
- Enable load balancing(indexing and search request), algorithm configurable(WIP)

Expand Down
9 changes: 0 additions & 9 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,6 @@ func main() {
//modules
module.New()

//load core modules first
//module.Register(module.Database, persist.DatabaseModule{})
//module.Register(module.Storage, storage.StorageModule{})
//module.Register(module.Filter, filter.FilterModule{})
//module.Register(module.Stats, stats.SimpleStatsModule{})
//module.Register(module.Queue, queue.DiskQueue{})
//module.Register(module.Index, index.IndexModule{})
//module.Register(module.System, pipeline.PipelineFrameworkModule{})
//module.Register(module.System, cluster.ClusterModule{})
module.Register(module.API, api.APIModule{})
module.Register(module.UI, ui.UIModule{})

Expand Down
26 changes: 1 addition & 25 deletions proxy.yml
Original file line number Diff line number Diff line change
@@ -1,41 +1,17 @@
path.data: data
path.logs: log

path.certs: test/cert

tls_enabled: false

cookie_secret: PROXY-SECRET

logging.level: debug

#http_bind: 0.0.0.0:9001
api_bind: 0.0.0.0:2900

modules:

- name: api
enabled: true

- name: web
enabled: false
auth:
enabled: false
oauth_provider: github
oauth_authorize_url: https://github.com/login/oauth/authorize
oauth_token_url: https://github.com/login/oauth/access_token
client_id: 850d747174ace88ce889
client_secret: 3d437b64e06371d6f62769320438d3dfc95a8d8e
authorized_admin:
- medcl
- your_github_login_name

- name: queue
enabled: true

- name: persist
enabled: true
driver: sqlite

plugins:
- name: proxy
enabled: true
Expand Down

0 comments on commit 55338d7

Please sign in to comment.