I'm trying to move a static webpage to nginx running on the docker.I try this first on my local server.I moved the site's files. I completed Docker compose and nginx configurations. However, when I log in, I see that it is not installed correctly.When I look at chrome inspect mode, I get this error.(DD_roundies.js:54 Uncaught DOMException: Failed to execute 'insertBefore' on 'Node': This node type does not support this method.(http://www.blablabla.com/js/DD_roundies.js:54:39) at Object.createVmlStyleSheet) What could be the problem?
My Nginx Conf;
events { worker_connections 1024; }
http {
server {
index index.html;
server_name cicekcisite1.com www.cicekcisite1.com;
listen 80;
root /usr/share/nginx/html/cicekcisite1;
location / {
try_files $uri $uri/ =404;
location ~ \.css {
add_header Content-Type text/css;
}
location ~ \.js {
add_header Content-Type application/x-javascript;
}
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass php:9000;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
}
}
}
}