next-pwa
next-pwa copied to clipboard
PWA behind nginx or node balancer
Summary
I dont know if this is expected behaviour but i cant seem to get this working when i put next behind an nginx or node balancer like traefik. It seems like it doesnt register the service worker unless i access the site via localhost. Is this expected or would i need to proxy something directly to the service worker files for it to register or how is it expected to be setup?
Versions
-
next-pwa: 5.5.4 -
next: 12