Fix: Add X-Frame-Options by default

This commit is contained in:
Ji Qu
2021-10-02 20:12:36 +08:00
committed by GitHub
parent 49452b1ad5
commit 4a68b44288

View File

@@ -8,6 +8,9 @@ server {
root /pinry/pinry-spa/dist/;
client_max_body_size 50M;
add_header X-Frame-Options sameorigin always;
location /static {
alias /data/static;
expires max;