fix(docker): disallow embedding SwaggerUI served from docker by default (#9520)
This commit is contained in:
5
docker/embedding.conf
Normal file
5
docker/embedding.conf
Normal file
@@ -0,0 +1,5 @@
|
||||
#
|
||||
# Prevent displaying inside an iframe
|
||||
#
|
||||
add_header 'X-Frame-Options' 'DENY' always;
|
||||
add_header 'Content-Security-Policy' "frame-ancestors 'none'" always;
|
||||
Reference in New Issue
Block a user