User Tools

Site Tools


webapps:nitter

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
webapps:nitter [2021/03/06 03:46] – [Configure Nginx] lucidwebapps:nitter [2021/06/18 16:36] (current) – external edit 127.0.0.1
Line 14: Line 14:
  
 ====Configure Nginx==== ====Configure Nginx====
 +This configuration will obtain an A+ on Qualy's SSL Labs and Mozilla Observatory.
 +
   sudo vim /etc/nginx/conf.d/nitter.placeholder.domain.conf   sudo vim /etc/nginx/conf.d/nitter.placeholder.domain.conf
 <code> <code>
Line 47: Line 49:
     add_header X-Robots-Tag "none" always;     add_header X-Robots-Tag "none" always;
     add_header X-XSS-Protection "1; mode=block" always;     add_header X-XSS-Protection "1; mode=block" always;
-    add_header Content-Security-Policy "default-src 'self';" always;+    add_header Content-Security-Policy "default-src 'self' 'inline-unsafescript-src 'self' 'inline-unsafe'" always;
  
     location / {     location / {
webapps/nitter.1615002363.txt.gz · Last modified: 2021/06/18 16:36 (external edit)