Comments (3)
For now, all need to be accessible from the outside. To give you an overview:
PUBLIC_APP_URL
is the main one (where you access the dashboard)PUBLIC_API_URL
is for API access (which is also sometimes used by the APP, but you'd likely want to be accessible outside anyway)PUBLIC_COLLAB_URL
is a dedicated WebSocket server to support collaboration, primarly in the editor. It applies even if you only use it for yourself, as it receives and saves edits in real time.PUBLIC_ASSETS_URL
serves uploaded assets, i.e. images. Recently, it also supports URL params for image optimization -format
,w
(width),h
(height), andfit
.
It's how it was originally structured, partially due to technical limitations and partially to better suit the Vrite Cloud setup. I'm not planning to change it right now, but I might try to optimize it for v1.
from vrite.
Do you have the following env vars set?
PUBLIC_COLLAB_URL=
PUBLIC_APP_URL=
PUBLIC_API_URL=
PUBLIC_ASSETS_URL=
They should reflect the URLs your services are accessible at, e.g. PUBLIC_APP_URL=http://10.10.10.10:7171
You can also try setting the following to explicitly specify the Domain
attribute for auth cookies (which might be the source of the issue):
COOKIE_DOMAIN=10.10.10.10
from vrite.
Thanks, the tip with the cookie domain solved the problem.
I already had the URLs set in my .env file.
I have a related question about those URLs: if I put my vrite instance behind a reverse proxy, which of those URLs needs to be publicly accessible? Is it just PUBLIC_APP_URL? I assume the others only need to be accessible to each other and not from "outside"?
from vrite.
Related Issues (20)
- Issues with embed input selection in Firefox HOT 5
- Code blocks fail to display properly when under a numbered list HOT 3
- Easy self-hosting support HOT 4
- render CSS HOT 1
- Kanban: Drag Item into Board Title HOT 2
- Content piece sharing HOT 1
- Feat: add deploy button to trigger a webhook HOT 6
- Transitioning from link mode to plain text mode is quite challenging. HOT 2
- Trying to get in touch regarding a security issue HOT 1
- Feat: Gist embeds HOT 4
- Gitea/Forgejo support? HOT 3
- error: vrite-app | No email service configured HOT 9
- GPT-3.5 block action button not always showing. HOT 1
- Show running Gifs in Preview HOT 3
- Request to enable GitHub Private Vulnerability Reporting in vrite repository HOT 2
- Feat: Full nestable table content support HOT 3
- Captions for images HOT 1
- Change a text block wrapper after it is specified. HOT 4
- Feat: Embed X Posts HOT 1
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 vrite.