Image not loaded and etc



  • Hello NodeBB, thanks for great forum and engine.

    But now i want tell you about so strange bug today.
    I use 1.0.3 NodeBB @ Nginx web server
    My nginx config for this site get from your forum:

     proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header Host $http_host;
            proxy_set_header X-NginX-Proxy true;
            proxy_redirect off;
    
            # Socket.io Support
            proxy_http_version 1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection "upgrade";
    ...
    

    Also all static accessible by direct link and not help me...
    I can't see any images on forum... only this code for it:

    <a href="about:blank" target="_blank"><img src="about:blank" alt="0_1461669672534_file.PNG" class="img-responsive img-markdown" data-src="/uploads/files/1461669680454-file.png" data-state="unloaded"></a>

    Also Websoket not resolved deffered yet in network tab



  • location ~ ^/(images|language|sounds|templates|uploads|vendor|src/modules|nodebb.min.js|stylesheet.css|admin.css) {
    root /nodebb/public/;
    try_files $uri $uri/ 404;

    Files load by direct path, but not as page image and has about:blank in a link on genered pages :(


  • Admin

    location ~ ^/(images|language|sounds|templates|uploads|vendor|src/modules|nodebb.min.js|stylesheet.css|admin.css) {
    root /nodebb/public/;
    try_files $uri $uri/ 404;
    

    Remove this section.



  • Thank, but this issue calling when i change css :)
    Remove one string from Custom CSS

    html {
      overflow: hidden; // this section has been removed for work :)
    }
    
    body {
      overflow: auto;
    }
    

Log in to reply
 

Looks like your connection to NodeBB was lost, please wait while we try to reconnect.