Commit cd9270e3 authored by omega8cc's avatar omega8cc

Allow some known php files also in profiles - a fix for Nginx config regression.

parent 02a2f9e3
......@@ -365,7 +365,7 @@ location ~* /(?:cross-?domain)\.xml$ {
###
### Allow some known php files (like serve.php in the ad module).
###
location ~* ^/sites/.*/(?:modules|libraries)/(?:contrib/)?(?:ad|tinybrowser|f?ckeditor|tinymce|wysiwyg_spellcheck|ecc|civicrm|fbconnect|radioactivity)/.*\.php$ {
location ~* /(?:modules|libraries)/(?:contrib/)?(?:ad|tinybrowser|f?ckeditor|tinymce|wysiwyg_spellcheck|ecc|civicrm|fbconnect|radioactivity)/.*\.php$ {
access_log off;
try_files $uri =404;
fastcgi_pass 127.0.0.1:9000;
......
......@@ -351,7 +351,7 @@ location ~* /(?:cross-?domain)\.xml$ {
###
### Allow some known php files (like serve.php in the ad module).
###
location ~* ^/sites/.*/(?:modules|libraries)/(?:contrib/)?(?:ad|tinybrowser|f?ckeditor|tinymce|wysiwyg_spellcheck|ecc|civicrm|fbconnect|radioactivity)/.*\.php$ {
location ~* /(?:modules|libraries)/(?:contrib/)?(?:ad|tinybrowser|f?ckeditor|tinymce|wysiwyg_spellcheck|ecc|civicrm|fbconnect|radioactivity)/.*\.php$ {
access_log off;
try_files $uri =404;
fastcgi_pass 127.0.0.1:9000;
......
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