Skip to main content
0 votes
0 answers
101 views

I'm trying to create an NGINX endpoint that will validate the session using auth_request directive and return the auth-token in a header without a response body. location /whoami block in config below....
Sergei's user avatar
  • 149
0 votes
0 answers
138 views

I'm using below nginx block. I want to exclude all requests for js and CSS files from nginx rate limiting. With my below nginx directives, rate limiting is excluded to all files apart from /api route. ...
Akshay Barpute's user avatar
0 votes
0 answers
55 views

I have a simple expressjs app set up behind the Nginx server to take requests to upload the files. When uploading files without Nginx server, the upload progress is obtained through XMLHttpRequest ...
Waleed93's user avatar
  • 1,332
0 votes
0 answers
27 views

map $arg_internal $redirect { default 0; "true" 1; } server { #Swap the following two lines to get the redirect working again server_name developer-nonprod.com; listen ...
Girish's user avatar
  • 2,476
0 votes
0 answers
20 views

On a VM host which is at https://myhost.com/, I have a docker container running a (react) app which listens on :3000. Separately, I have a static/marketing html page at /var/www/html/index.html. I am ...
Steven's user avatar
  • 1,121
0 votes
1 answer
50 views

INFO I have below directories structure: . ├── fruits │   └── index.html ├── index.html ├── styles.css and the content of my /etc/nginx/nginx.conf file is: http { include mime.types; server {...
dtm_'s user avatar
  • 49
0 votes
0 answers
100 views

I have an environment variable set as vod_enable_encryption = yes which I'm attempting to check using an If block in nginx.conf. Nginx isn't able to resolve the condition and throwing the following ...
Earthling's user avatar
  • 489
0 votes
0 answers
25 views

I'm adding in an iframe onto a page and when it makes a CORS request to another static file on my server, it always responds with a 405 response. I've tried editing my sites-enabled\domain file to ...
user1023102's user avatar
0 votes
0 answers
67 views

I need to always return in case of errors. 400, 401, 403, 404, 500... my html pages with errors if the response is from the destination server is text/html, otherwise I can return the server's ...
JkLSweetMint's user avatar
0 votes
0 answers
42 views

I have set up Nginx on my server to serve static files for a front-end application. The root URL (http://xxx.85.127.14/) correctly serves files, but when I try to access http://xxx.85.127.14/admin I ...
Rahul Kumar's user avatar
0 votes
2 answers
132 views

I'm trying to use Nginx Location to block requests similar to this, which are causing load issues with WordPress (and the multilingual WPML plugin): GET /foo/bar/?s=/?s=/?s=/?s=/?s=/?s=/?s=/?s=/?s=/?s=...
William Turrell's user avatar
-1 votes
1 answer
72 views

I want to understand why this happens. When I use proxy_pass without regular expressions, everything works great, the DNS is resolved, and so on. location /images/ { proxy_pass http://sfs-...
padavan's user avatar
  • 929
0 votes
0 answers
40 views

this is my nginx.conf file, my react app is hosted on nginx and calling api endpoints, my api end points starts something like this https://export. https://report. etc. 9 out of 10 endpoints are ...
user3615760's user avatar
0 votes
0 answers
79 views

I am serving static content with Nginx, and I have a question about the behavior of requests without a trailing slash. While everything works fine in Chrome, Safari behaves differently. When I access ...
dev zaki's user avatar
0 votes
0 answers
52 views

My backend is not working after adding the SSL certificate. The backend worked with http before but after adding SSL certificate it stopped working. I thought the problem is with nginx configurations ...
Dimash's user avatar
  • 16

15 30 50 per page
1
2 3 4 5
94