Proxy: Path blocking & CSS Assets #1373
-
Hello, When clicked on the url to retrieve passwords, no css is loading. Attached. Best! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
It seems that i am blocking css /assets/application-4811f9a7a475b60ae3c5070af5928801ee5707f0f8caff8d03bea292d17da0f3.css, with a too restrictive mathing path_regexp:
I am just trying to block anything that not cointains /p/ in the url to only allow access to the ephemeral link from the outside. With no luck. Any ideas? Best |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
The easiest way to achieve this is to simply use
PWP__ALLOW_ANONYMOUS=false
which will require people to log in to access the front page. Secret URLs will still be public. This feature requires logins to be enabled.All of the settings are laid out in the Configuration documentation.
If that's not a solution for you, some other ideas:
PWP_PRECOMPILE=true
so that assets are recompiled