binwiederhier / ntfy

Send push notifications to your phone or desktop using PUT/POST
https://ntfy.sh
Apache License 2.0
18.68k stars 734 forks source link

Web application restriction for Intranet #850

Open girishpadia opened 1 year ago

girishpadia commented 1 year ago

At present web application can be disabled via config file. Is it possible to restrict web application to Intranet (local network) IP addresses so that I don't expose web application to Internet. Only the internal user should be able to access it. I tried to do it through reverse proxy Apache, but it blocks whole application.

lazee486 commented 1 year ago

I think you could restrict it to Lan ip ranges if you use nginx reverse proxy proxy ( I use NPM) and if you block / and just allow /yourtopichere