FSPBX on Debian 13 behind Pangolin reverse proxy for DASHBOARD

yaboc

New Member
Nov 23, 2017
28
3
3
35
Hi

I installed FSPBX on Debian 13 LXC using the script (it did not ask me for SignalWire token maybe i need to log in to the dashboard ?) but when i try to access it behind Pangolin reverse proxy (just for SSL handling), it's not loading and complains about

Blocked loading mixed active content “http://mydomain.net/storage/vite/assets/tailwind-adfb3225.css”
Blocked loading mixed active content “http://mydomain.net/storage/vite/assets/vue-7d493090.js”
Loading failed for the module with source “http://mydomain.net/storage/vite/assets/vue-7d493090.js”
Cookie “XSRF-TOKEN” has been rejected for invalid domain.
Cookie “mypbx_fs_pbx_session” has been rejected for invalid domain.

From edge
Mixed Content: The page at 'https://mydomain.net/login' was loaded over HTTPS, but requested an insecure stylesheet 'http://mydomain.net/storage/vite/assets/tailwind-adfb3225.css'. This request has been blocked; the content must be served over HTTPS.

so it seems like the page is loading over httpS but it requests hardcoded httP css?

Any ideas on how to get around this ?
 
Last edited:
i've used solution 2 to fix the problem

is that gonna have any effect on future updates? is that the best way to accomplish it?

Also i was getting 419 error after updating env file was able to login to the dashboard however no signalwire token was prompted/requested.
 
Last edited:
The fix you found for mixed context when proxies are involved is good. If you make any changes to the files you modified, you may need to stash them and reaply. Those files are not likely to be modified very often, if at all.
Signalwire token is no longer required. We found a workaround for that.
Enjoy FS PBX!
 
  • Like
Reactions: yaboc