How do I setup SFTPGo so the scripts have nonces? #2105
-
|
I need to setup the Content Security Policy for SFTPGo. Some of the scripts keep changing after a page refresh, so I can not use SHA hashes. The other solution would be Nonces. I see that there are references in the source code for them, for example: but still, after I have installed the app, it seems that the nonces are not generated: What do I need to configure to fix this? |
Beta Was this translation helpful? Give feedback.
Answered by
cosmin-ionut
Nov 13, 2025
Replies: 1 comment
-
|
Fixed it with the solution here #1779 , but I still think Content Security Policy config should be properly documented here https://docs.sftpgo.com/enterprise/ |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
cosmin-ionut
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fixed it with the solution here #1779 , but I still think Content Security Policy config should be properly documented here https://docs.sftpgo.com/enterprise/