I have the following situation: I have a component in my vue app that dynamically loads components depending on an API query. Here is my template: Here is my script part So basically the app dynamically loads a given component depending on some string. This works perfectly fine on my dev environment, however if i try to deploy it in
Tag: nginx
Nginx error: “The page you are looking for is temporarily unavailable”. I can’t deploy NodeJS in my server. How fix it?
I’m developing an app in flutter, with two server with CentOS 8 Stream x64, one for data and other for services, services is configured with NodeJS, and within a services server I have a folder with connection files. I have a problem with my conection in Nginx. When I put the IP of my server in my browser appears this:
adding nonce to script tag for 3rd party code that breaks ‘unsafe-eval’
We are using netlify-cms that unfortunately emits code that break CONTENT-SECURITY-POLICY ‘unsafe-eval’. I have tried adding nonce attributes to all the script tags using nginx sub_filter: I then add the nonce to the header also I can see that the nonces in the script tags and the header all match: header But I still get the error message: EvalError: Refused
How can you serve a folder of files with Nginx?
I’m trying to serve a folder that contains HTML, JS, PHP, Java, and a couple of other different file types with Ngnix. I plan to then import two JS files from that folder into my index.html like so : The problem is, I am getting a 404 Not Found error : Below is my nginx.conf file. Any help would be
How to monitor incoming and outgoing network bytes from express & socket.io servers
I have an express server which also contains socket.io on it. I want to know how many bytes going outside and coming inside on each clients’ requests including HTTP and Socket (WSS). I’m looking for a solution with open source technologies. I found many tutorials online to get the read bytes inside the createServer method but here I’m not using
Nginx is trying open file instead of redirect to proxy
Hi I am using Nginx together with njs and have such location in my config Inside of njs file I am making POST request to API In this request I am getting body response as formdata converting it to JSON and making POST request to 3rd party with following error. *63 open() “/usr/share/nginx/html//tc/api/endpoint/book” failed (2: No such file or directory)