Commit e343061c authored by Michael Kroes's avatar Michael Kroes

Prevent clickjacking of management interface

parent 65add24e
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
location /admin/ { location /admin/ {
proxy_pass http://127.0.0.1:10222/; proxy_pass http://127.0.0.1:10222/;
proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header X-Forwarded-For $remote_addr;
add_header X-Frame-Options "SAMEORIGIN";
} }
# ownCloud configuration. # ownCloud configuration.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment