Comments (7)
Maybe use Caddy ? alot easier.
from server.
@gedw99 That won't fix this, it would just be switching the reverse proxy, gotify would still be listening on the HTTP port accessible from any IP.
from server.
I took at a look at this one, as it was tagged 'good first issue'. Although in my case it would be 'good first go issue'.
The current functionality is the gotify server listens on '::' which all IPv4 and IPv6 addresses, see here for http. It appears that '::' is the only way for go's net listen feature to allow multiple IPs to be bound to a port. There does not appear to be a way to allow both 127.0.0.1 and [::1], except with '::'.
Is sacrificing dualstack or multiple IP support an acceptable trade off? Previously, I had to deal with IPv4 only clients and IPv6 only clients and not dealing with IPv4->IPv6 or IPv6->IPv4 was preferred. That may not be the case with this application.
from server.
@geeseven In my case that would be totally fine since I only need 127.0.0.1
as endpoint for my nginx proxy.
It may even be enough to only use a unix socket so that only local clients (nginx) can connect but I'm not sure that is as easy as just binding to an IP address. But I'm not sure that is even possible...
from server.
I've the same issue. I would like to put gotify behind a reverse proxy (apache).
My VPS has a firewall, but despite it would be better, if I can bind gotify to ::1 or 127.0.0.1
from server.
This Feature is quite essential. Dropping dual stack is a non issue, as configuration behind a reverse proxy will fix it on one stack anyway, at least in amost cases..
from server.
The reverse proxy issue is almost solved. :-) Thanks.
It would be nice to bind the Server to IP "127.0.0.1" or "localhost". I do not see the binding to another IP as necessary.
from server.
Related Issues (20)
- [Request] Clear Messages After 30 Days HOT 1
- Update Message HOT 2
- Cant use emoji with sqlite3 HOT 3
- 403 when passing Origin header with Environment config HOT 7
- Fresh install on CasaOS (via BigBearCasaOS) HOT 2
- Clickable notification title when click.url is set HOT 1
- Removal of disabled flag on Refresh button
- Can't get Apache 2.4.38 proxy with sub path to upgrade to websocket HOT 13
- Cannot login behind Traefik, but ip:port works fine HOT 4
- Unable to Login with default credentials HOT 4
- Assistance with json format for multiple message extras HOT 3
- Accept priority as string HOT 6
- Is it Possible to Only Use a URL to Forward Messages? HOT 2
- 401 when logging in via Caddy, but ip:port works HOT 8
- Use gotify as 2FA with messages extras HOT 1
- Configure app graylog to use gotify for notifcations HOT 4
- Filter by Message HOT 1
- Websocket stream per application HOT 1
- Support for X-Forwarded-Prefix HOT 2
- Android App Notification: Could not connect / Bad Request HOT 7
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 server.