Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8792499
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T22:59:13+00:00 2026-06-13T22:59:13+00:00

I’m using cloudflare. My site is working good but not loading any images, css

  • 0

I’m using cloudflare. My site is working good but not loading any images, css files and js files.

look that

My server details;

ubuntu 12.04

nginx/1.1.19

php5-fpm

mysql

You can check live here

Check with www and without www.

I think that problem is related to proxy (cloudflare)

/etc/nginx.conf

user www-data;                                                                  
worker_processes 4;                                                             
pid /var/run/nginx.pid;                                                         
                                                                                
events {                                                                        
    worker_connections 768;                                                     
    # multi_accept on;                                                          
}                                                                               
                                                                                
http {                                                                          
                                                                                
    ##                                                                          
    # Basic Settings                                                            
    ##                                                                          
                                                                                
    sendfile on;                                                                
    tcp_nopush on;                                                              
    tcp_nodelay on;                                                             
    keepalive_timeout 65;                                                       
    types_hash_max_size 2048;                                                   
    # server_tokens off;                                                        
                                                                                
    # server_names_hash_bucket_size 64;                                         
    # server_name_in_redirect off;                                              
                                                                                
    include /etc/nginx/mime.types;                                              
    default_type application/octet-stream;                                      
                                                                                
    ##                                                                          
    # Logging Settings                                                          
    ##                                                                          
                                                                                
    access_log /var/log/nginx/access.log;                                       
    error_log /var/log/nginx/error.log;                                         
                                                                                
    ##                                                                          
    # Gzip Settings                                                             
    ##                                                                          
                                                                                
    gzip on;                                                                    
    gzip_disable "msie6";                                                       
                                                                                
    # gzip_vary on;                                                             
    # gzip_proxied any;                                                         
    # gzip_comp_level 6;                                                        
    # gzip_buffers 16 8k;                                                       
    # gzip_http_version 1.1;                                                    
    # gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
                                                                                
    ##                                                                          
    # nginx-naxsi config                                                        
    ##                                                                          
    # Uncomment it if you installed nginx-naxsi                                 
    ##                                                                          
                                                                                
    #include /etc/nginx/naxsi_core.rules;                                       
                                                                                
    ##                                                                          
    # nginx-passenger config                                                    
    ##                                                                          
    # Uncomment it if you installed nginx-passenger                             
    ##                                                                          
                                                                                
    #passenger_root /usr;                                                       
    #passenger_ruby /usr/bin/ruby;                                              
                                                                                
    ##                                                                          
    # Virtual Host Configs                                                      
    ##                                                                          
                                                                                
    include /etc/nginx/conf.d/*.conf;                                           
    include /etc/nginx/sites-enabled/*;                                         
}   

server conf

server {                                                                        
    #listen   80; ## listen for ipv4; this line is default and implied          
    #listen   [::]:80 default ipv6only=on; ## listen for ipv6                   
                                                                                
    root /usr/share/nginx/www/sorbakalim.co;                                    
    index index.html index.htm index.php;                                       
                                                                                
    # Make site accessible from http://localhost/                               
    server_name sorbakalim.co;                                                  
                                                                                
    location / {                                                                
        # First attempt to serve request as file, then                          
        # as directory, then fall back to index.html                            
        try_files $uri $uri/ /index.php;                                        
        # Uncomment to enable naxsi on this location                            
        # include /etc/nginx/naxsi.rules                                        
    }                                                                           
                                                                                
    location /doc/ {                                                            
        alias /usr/share/doc/;                                                  
        autoindex on;                                                           
        allow 127.0.0.1;                                                        
        deny all;                                                               
    }                                                                           
                                                                                
    # Only for nginx-naxsi : process denied requests                            
    #location /RequestDenied {                                                  
        # For example, return an error code                                     
        #return 418;                                                            
    #}                                                                          
                                                                                
    #error_page 404 /404.html;                                                  
                                                                                
    # redirect server error pages to the static page /50x.html                  
    #                                                                           
    #error_page 500 502 503 504 /50x.html;                                      
    #location = /50x.html {                                                     
    #   root /usr/share/nginx/www;                                              
    #}                                                                          
                                                                                
    # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000        
    #                                                                           
    location ~ \.php$ {                                                         
        fastcgi_split_path_info ^(.+\.php)(/.+)$;                               
        # NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini              
                                                                                
        # With php5-cgi alone:                                                  
        fastcgi_pass 127.0.0.1:9000;                                            
    #   # With php5-fpm:                                                        
    #   fastcgi_pass unix:/var/run/php5-fpm.sock;                               
        fastcgi_index index.php;                                                
        include fastcgi_params;                                                 
    }                                                                           
                                                                                
    # deny access to .htaccess files, if Apache's document root                 
    # concurs with nginx's one                                                  
    #                                                                           
    #location ~ /\.ht {                                                         
    #   deny all;                                                               
    #}                                                                          
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T22:59:13+00:00Added an answer on June 13, 2026 at 10:59 pm

    A 502 gateway generally indicates a temporary issue in a datacenter and you should contact us if you see this.

    Things that are helpful in the report:
    Traceroute to the domain

    And the output from: http://yourdomain.com/cdn-cgi/trace (replace yourdomain.com with your actual domain).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a French site that I want to parse, but am running into
I have thousands of HTML files to process using Groovy/Java and I need to
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I am reading a book about Javascript and jQuery and using one of the
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
We're building an app, our first using Rails 3, and we're having to build

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.