Commit 385902e7 authored by Grace's avatar Grace Committed by mig5

Fix for broken pop-ups in wysiwyg editors (Grace)

parent b56cea11
......@@ -151,6 +151,15 @@
try_files $uri =404;
}
###
### allow some known php files (like serve.php in the ad module)
###
location ~* /(?:modules|libraries)/(?:ad|tinybrowser|f?ckeditor|tinymce|wysiwyg_spellcheck)/.*\.php$ {
access_log off;
try_files $uri =404;
fastcgi_pass 127.0.0.1:9000; ### php-fpm listening on port 9000
}
###
### deny listed requests for security reasons without 403 response
###
......@@ -234,15 +243,6 @@
access_log off;
try_files $uri @cache;
}
###
### allow some known php files (like serve.php in the ad module)
###
location ~* /(?:modules|libraries)/(?:ad|tinybrowser|f?ckeditor|tinymce|wysiwyg_spellcheck)/.*\.php$ {
access_log off;
try_files $uri =404;
fastcgi_pass 127.0.0.1:9000; ### php-fpm listening on port 9000
}
###
### deny direct access to backups
......
......@@ -137,6 +137,15 @@
try_files $uri =404;
}
###
### allow some known php files (like serve.php in the ad module)
###
location ~* /(?:modules|libraries)/(?:ad|tinybrowser|f?ckeditor|tinymce|wysiwyg_spellcheck)/.*\.php$ {
access_log off;
try_files $uri =404;
fastcgi_pass 127.0.0.1:9000; ### php-fpm listening on port 9000
}
###
### deny listed requests for security reasons without 403 response
###
......@@ -220,15 +229,6 @@
access_log off;
try_files $uri @cache;
}
###
### allow some known php files (like serve.php in the ad module)
###
location ~* /(?:modules|libraries)/(?:ad|tinybrowser|f?ckeditor|tinymce|wysiwyg_spellcheck)/.*\.php$ {
access_log off;
try_files $uri =404;
fastcgi_pass 127.0.0.1:9000; ### php-fpm listening on port 9000
}
###
### deny direct access to backups
......
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