Skip to content

Commit

Permalink
Merge pull request #577 from appuio/set-Content-Security-Policy-headers
Browse files Browse the repository at this point in the history
Deny frame ancestors
  • Loading branch information
bastjan authored Feb 3, 2025
2 parents af83177 + 61758ec commit f59b656
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ server {
index index.html;

try_files $uri $uri/ /index.html?$args;

add_header X-Frame-Options "DENY";
add_header Content-Security-Policy "frame-ancestors 'none';";
}
location /appuio-api/ {
proxy_pass ${APPUIO_API};
Expand Down

0 comments on commit f59b656

Please # to comment.