14 lines
569 B
Plaintext
14 lines
569 B
Plaintext
error_page 403 =404 /lain_404.gif;
|
|
error_page 404 /lain_404.gif;
|
|
location = /lain_404.gif {
|
|
root /opt/pleroma/instance/static/static/error/404;
|
|
internal;
|
|
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload";
|
|
add_header X-Content-Type-Options "nosniff";
|
|
add_header X-XSS-Protection "1; mode=block";
|
|
add_header X-Permitted_Cross-Domain-Policies none;
|
|
add_header X-Frame-Options "self";
|
|
add_header Referrer-Policy "same-origin";
|
|
add_header X-Download-Options noopen;
|
|
}
|