add report uri everywhere
parent
141c54f760
commit
b3e6cdd9d0
|
@ -3,8 +3,6 @@
|
||||||
<head>
|
<head>
|
||||||
<meta name="description" content="People die and this is the place to see it. You only have one life, don't make the mistakes seen here.">
|
<meta name="description" content="People die and this is the place to see it. You only have one life, don't make the mistakes seen here.">
|
||||||
|
|
||||||
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; style-src 'self'; font-src 'self'; img-src 'self';">
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="/assets/css/main.css?v=4032">
|
<link rel="stylesheet" href="/assets/css/main.css?v=4032">
|
||||||
<link rel="stylesheet" href="/assets/css/midnight.css?v=4000">
|
<link rel="stylesheet" href="/assets/css/midnight.css?v=4000">
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
<head>
|
<head>
|
||||||
<meta name="description" content="rdrama.net caters to drama in all forms such as: Real life, videos, photos, gossip, rumors, news sites, Reddit, and Beyond™. There isn't drama we won't touch, and we want it all!">
|
<meta name="description" content="rdrama.net caters to drama in all forms such as: Real life, videos, photos, gossip, rumors, news sites, Reddit, and Beyond™. There isn't drama we won't touch, and we want it all!">
|
||||||
|
|
||||||
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; style-src 'self'; font-src 'self'; img-src 'self';">
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="/assets/css/main.css?v=4032">
|
<link rel="stylesheet" href="/assets/css/main.css?v=4032">
|
||||||
<link rel="stylesheet" href="/assets/css/midnight.css?v=4000">
|
<link rel="stylesheet" href="/assets/css/midnight.css?v=4000">
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
include includes/headers;
|
include includes/headers;
|
||||||
add_header Content-Security-Policy "default-src 'none';";
|
add_header Content-Security-Policy "default-src 'none'; report-uri /csp_violations;";
|
||||||
sendfile on;
|
sendfile on;
|
||||||
sendfile_max_chunk 1m;
|
sendfile_max_chunk 1m;
|
||||||
tcp_nopush on;
|
tcp_nopush on;
|
||||||
|
|
|
@ -5,7 +5,7 @@ server {
|
||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
include includes/headers;
|
include includes/headers;
|
||||||
add_header Content-Security-Policy "default-src 'none';";
|
add_header Content-Security-Policy "default-src 'none'; report-uri /csp_violations;";
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://localhost:5000/;
|
proxy_pass http://localhost:5000/;
|
||||||
|
@ -19,7 +19,7 @@ server {
|
||||||
proxy_set_header Connection "Upgrade";
|
proxy_set_header Connection "Upgrade";
|
||||||
proxy_pass http://localhost:5001/socket.io;
|
proxy_pass http://localhost:5001/socket.io;
|
||||||
include includes/headers;
|
include includes/headers;
|
||||||
add_header Content-Security-Policy "default-src 'none';";
|
add_header Content-Security-Policy "default-src 'none'; report-uri /csp_violations;";
|
||||||
}
|
}
|
||||||
location /chat {
|
location /chat {
|
||||||
proxy_pass http://localhost:5001/chat;
|
proxy_pass http://localhost:5001/chat;
|
||||||
|
@ -78,7 +78,7 @@ server {
|
||||||
}
|
}
|
||||||
location =/offline.html {
|
location =/offline.html {
|
||||||
alias /rDrama/files/assets/offline.html;
|
alias /rDrama/files/assets/offline.html;
|
||||||
add_header Content-Security-Policy "default-src 'none'; style-src 'unsafe-inline'; img-src data:;";
|
add_header Content-Security-Policy "default-src 'none'; style-src 'unsafe-inline'; img-src data:; report-uri /csp_violations;";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -87,5 +87,6 @@ server {
|
||||||
location =/502.html {
|
location =/502.html {
|
||||||
alias /rDrama/files/templates/errors/rDrama/502.html;
|
alias /rDrama/files/templates/errors/rDrama/502.html;
|
||||||
add_header Cache-Control "no-store";
|
add_header Cache-Control "no-store";
|
||||||
|
add_header Content-Security-Policy "default-src 'none'; style-src 'self'; font-src 'self'; img-src 'self'; report-uri /csp_violations;";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue