mirror of
https://github.com/YunoHost-Apps/limesurvey_ynh.git
synced 2024-09-03 19:36:32 +02:00
Update nginx.conf
This commit is contained in:
parent
7f1136b5da
commit
fa26063741
1 changed files with 2 additions and 2 deletions
|
@ -4,6 +4,8 @@ location __PATH__/ {
|
||||||
# Path to source
|
# Path to source
|
||||||
alias __FINALPATH__/ ;
|
alias __FINALPATH__/ ;
|
||||||
|
|
||||||
|
more_set_headers "X-Frame-Options : ALLOWALL";
|
||||||
|
|
||||||
index index.php;
|
index index.php;
|
||||||
|
|
||||||
# if (!-e $request_filename)
|
# if (!-e $request_filename)
|
||||||
|
@ -37,5 +39,3 @@ location __PATH__/ {
|
||||||
location ~ ^__PATH__/(data|config|\.ht|db_structure\.xml|README) {
|
location ~ ^__PATH__/(data|config|\.ht|db_structure\.xml|README) {
|
||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
|
|
||||||
more_set_headers "X-Frame-Options : ALLOWALL";
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue