Comments (6)
Currenty, on the Acc & Prod server (ianalyzer(.acc).hum.uu.nl) there is a Apache proxy configured that redirects Angular calls to ES. This is not a permanent solution because anyone could approach ES.
Note, however, that as long as reaching ES is configured like this, creating an index does not work, because the ES_HOST setting is not set to 'localhost' and, for the proxy to work, ES_PORT should be an empty string.
from i-analyzer.
Could perhaps use proxy settings for this (similar to how this is done for the api)?
from i-analyzer.
What do you mean by "proxy settings"?
from i-analyzer.
This file: https://github.com/UUDigitalHumanitieslab/I-analyzer/blob/develop/web-ui/proxy.conf.json You can set the node server to proxy calls directly to another one, based on some address prefix. I believe the same could also be done using Docker. This way you do not need cross server requests from the client, because they are still just going directly to the server.
from i-analyzer.
Oh, right. Yes, I have done that before with Microcontact. It can be nice to make the software such that the ES index can also be on a different server, though. ES indexes are sometimes heavy.
from i-analyzer.
See issue #80 .
from i-analyzer.
Related Issues (20)
- Github actions don't cache
- DBNL: "view book" shows reverse chapter order
- Large downloads for non-authenticated users HOT 1
- List of most frequent bigrams/trigrams HOT 1
- Add lemmatized data to ES index HOT 1
- Check corpus data status
- Robots.txt HOT 1
- View document context is not closing the document pop-up HOT 1
- Add `url` display type
- Improve documentation of `addcorpus.models.Field.language` HOT 2
- Change data model for corpus attachments
- Backend testing: allow postgres database access in elasticsearch indexing fixtures
- Infer upper/lower for RangeFilter and DateFilter HOT 1
- Indexing lifecycles hooks HOT 1
- Merge Corpus and CorpusConfiguration models?
- Default Highlight Behavior HOT 1
- Index corpus without Python definition
- Endless `formatInnerHtml` loop HOT 2
- Word models not accessible to unauthorized users?
- Anonymous users cannot see coverage data
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from i-analyzer.