No awards yet.


1 Posts
  • Published Question

    Javascript/CSS files don't load on website while hosting

    when I try running my server (with the domain being my ip address), It loads the base index.html but all of the files I reference (other CSS files, javascript files) in my directory aren't loaded. When I run on the Ch...
    Accepted Answer: HI @MoGb1, Is that your whole Nginx configuration? Additionally, can you try to add the following to the configuration file : location ~ \.css { add_header Content-Type text/css; } location ~ \.js { add_...
    1 By MoGb1 API Nginx JavaScript Initial Server Setup