mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-12-22 07:17:05 +00:00
Prevent clickjacking of management interface
This commit is contained in:
parent
65add24e2a
commit
e343061cf4
@ -6,6 +6,7 @@
|
||||
location /admin/ {
|
||||
proxy_pass http://127.0.0.1:10222/;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
add_header X-Frame-Options "SAMEORIGIN";
|
||||
}
|
||||
|
||||
# ownCloud configuration.
|
||||
|
Loading…
Reference in New Issue
Block a user