提问人:MantiS 提问时间:11/15/2023 最后编辑:MantiS 更新时间:11/15/2023 访问量:27
Akeneo 图像未加载(ns_error_dom_bad_uri、ns_error_unexpected)
Akeneo images are not loading (ns_error_dom_bad_uri, ns_error_unexpected)
问:
登录 Akeneo CE 6.0.108 后,图像不显示。可能是什么原因?
以下错误示例和 nginx 配置。
nginx 站点-可用 conf
server {
listen 80;
listen [::]:80;
server_name 192.168.0.78;
return 301 https://192.168.0.78$request_uri;
}
server {
listen 443 ssl http2;
server_name 192.168.0.78;
access_log /var/log/nginx/akeneo.prod-access.log;
error_log /var/log/nginx/akeneo.prod-error.log;
ssl_certificate /etc/nginx/ssl/crt.pem;
ssl_certificate_key /etc/nginx/ssl/private.key;
ssl_trusted_certificate /etc/nginx/ssl/crt.pem;
ssl_session_cache shared:SSL:50m;
ssl_session_timeout 5m;
ssl_stapling on;
ssl_stapling_verify on;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers "ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:DES-CBC3-SHA:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4";
location / {
proxy_pass http://127.0.0.1:8080$request_uri;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header Host $host;
proxy_set_header X-Scheme https;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Port 443;
proxy_set_header X-Secure on;
proxy_set_header Accept-Encoding "";
proxy_set_header Connection "";
proxy_http_version 1.1;
proxy_read_timeout 7200s;
proxy_send_timeout 7200s;
}
}
在 nginx 配置中添加证书和设置重定向之前,会显示图像。
答: 暂无答案
评论