m
This commit is contained in:
1 parent
0cacf79f8d
commit
3a80e08fa3
1 file changed
+7
-1
@@ -1,3 +1,9 @@
|
||||
map $http_origin $allow_origin {
|
||||
~^https://(.*\.)?zinomedia\.de$ $http_origin;
|
||||
default "";
|
||||
}
|
||||
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
@@ -22,7 +28,7 @@ server {
|
||||
client_max_body_size 0;
|
||||
|
||||
# Wordpress migration support
|
||||
add_header 'Access-Control-Allow-Origin' 'https://zinomedia.de' always;
|
||||
add_header 'Access-Control-Allow-Origin' $allow_origin;
|
||||
|
||||
location / {
|
||||
resolver 127.0.0.11;
|
||||
|
||||
Reference in new issue
Block a user