Update README.md
This commit is contained in:
parent
ef248708f7
commit
1f86bf59f5
1 changed files with 2 additions and 1 deletions
|
@ -265,7 +265,8 @@ If you notice any issue with your UI style configuration, please update your HTT
|
|||
Here is a example configuration for nginx:
|
||||
```
|
||||
# add style-src for mangane
|
||||
proxy_set_header Content-Security-Policy "upgrade-insecure-requests;script-src 'self';connect-src 'self' blob: https://example.com wss://example.com;media-src 'self' https:;img-src 'self' data: blob: https:;default-src 'none';base-uri 'self';frame-ancestors 'none';style-src 'self' 'unsafe-inline';font-src 'self';manifest-src 'self';";
|
||||
proxy_hide_header Content-Security-Policy:
|
||||
add_header Content-Security-Policy "upgrade-insecure-requests;script-src 'self';connect-src 'self' blob: https://example.com wss://example.com;media-src 'self' https:;img-src 'self' data: blob: https:;default-src 'none';base-uri 'self';frame-ancestors 'none';style-src 'self' 'unsafe-inline';font-src 'self';manifest-src 'self';" always;
|
||||
```
|
||||
*Please replace https://example.com with your own domain*
|
||||
|
||||
|
|
Loading…
Reference in a new issue