Merge branch 'develop' into dist/eole/2.6.2/develop
This commit is contained in:
commit
11aca56f4e
|
@ -4,6 +4,7 @@
|
||||||
# default "";
|
# default "";
|
||||||
# ~/CN=(?<CN>[^/]+) $CN;
|
# ~/CN=(?<CN>[^/]+) $CN;
|
||||||
#}
|
#}
|
||||||
|
%set %%webDomain = %%authWebName.split('.',1)[1]
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
|
@ -40,6 +41,8 @@ server {
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
fastcgi_split_path_info ^(.*\.psgi)(/.*)$;
|
fastcgi_split_path_info ^(.*\.psgi)(/.*)$;
|
||||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||||
|
fastcgi_hide_header Content-Security-Policy;
|
||||||
|
add_header Content-Security-Policy "default-src 'self'; form-action 'self' http://*.%%webDomain https://*.%%webDomain; object-src 'none'";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue