Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [nginx]

Nginx is an open-source, lightweight proxy and load-balancer for several web and email protocols.

Filter by
Sorted by
Tagged with
0 votes
6 answers
451 views

Can a web server accept a plain test file upload without additional server side scripting?

I've been trying for days to upload plain text files to a web server (both IIS and NGINX) via HTTP PUT/POST, from a C# desktop app, unsuccessfully However, I'm no further along. I have had various ...
mountainred's user avatar
4 votes
1 answer
944 views

Why should we not use port 80 during development?

A colleague of mine recently pushed a change to the development config for our nginx. He changed the port from 8080 to 80. It's a rather lazy fix for a development-only issue. I reviewed the change ...
Antony Woods's user avatar
1 vote
1 answer
128 views

Design help for web application that will run as separate instances with different content

I've built an RSVP web application with a React front end, Node.js backend, NGINX webserver, SQL database and hosted on a DigitalOcean Droplet with Ubuntu. The issue is, every time I want to launch ...
Sal's user avatar
  • 121
0 votes
0 answers
73 views

Is it a good idea to have separate instances for the public API Server and API Server used by the Web App?

I've built a React Web application with an Express REST API server and Firebase Auth. Also, Nginx is set up as a reverse proxy, so API calls from React to https://mydomain.com/api are routed to ...
Elnur's user avatar
  • 9
2 votes
2 answers
645 views

Understanding the importance of Gunicorn and Nginx for Django web development

I'm entirely uninitiated to the world of web development, and only have a tentative grasp on Django and web development through the test server it works through. From the guide I'm reading, the author ...
genjong's user avatar
  • 123
20 votes
4 answers
2k views

Rate limiting *un*-authenticated requests

Say we have a load balancer that also does rate limiting. Rate limiting seems pretty straightforward for logged-in users - just look at the JWT and maybe use an in-memory data-store to see how many ...
user avatar
2 votes
1 answer
590 views

Why do we need nginx server on top of linux server?

Recently, I tried to deploy a web project to a virtual machine. I used the Ubuntu server as my OS, but while following along some tutorials I came to the fact which was very confusing for the beginner ...
Aziz's user avatar
  • 123
1 vote
0 answers
91 views

NGINX in between load balance and Apache?

I have recently joined the company where I see below stack to handle the http request CDN -> LVS(Load balancer) -> NGINX -> Apache My question is about using advantage of NGINX b/w Load balancer ...
user3222249's user avatar
2 votes
2 answers
512 views

creating nodejs apps in php/mysql framework with later on full step by step migration to nodejs in mind

I'm looking for the most efficient path to convert over time my own made php framework for nodejs and I believe that nodejs experts and specific developers who had their years working with apache/php/...
mikakun's user avatar
  • 123
0 votes
1 answer
700 views

Nginx for exposing Docker Swarm services to the Internet?

I'm involved in the development of an enterprise web application whose functionality is separated into microservices deployed in a Docker Swarm. In order to expose these microservices to the Internet ...
zxz's user avatar
  • 277
4 votes
1 answer
2k views

Understanding architecture of NGINX

According to this article, nginx has a master process and a number of worker processes. I'm trying to understand how a request is handled by the nginx worker processes. nginx uses an event driven ...
Eric Conner's user avatar
4 votes
1 answer
1k views

Advice needed on approach to log raw request/response body from APIs

I need some advice on an approach to log raw request/response data from a few webapps, for all operations and hits on all APIS accessed via HTTP methods (mostly HTTP POSTs), that I have hosted. ...
ksvrgh's user avatar
  • 41
1 vote
1 answer
936 views

Is this Big Data architecture good enough to handle many requests per second?

I want to ask for a review of my big data app plan. I haven’t much experience in that field, so every single piece of advice would be appreciated. Here is a link to a diagram of the architecture: My ...
Alan Mroczek's user avatar
-1 votes
1 answer
3k views

If I want to implement ajax, does the choice of the web server make a difference?

I have been spending quite a lot of time trying to decide if I should use apache** or nginx. I am very biased towards nginx due to the simple configuration, better scalability and it just feels more ...
akgren_soar's user avatar
1 vote
0 answers
69 views

Best way to handle access to web dashboard displayed on "dumb" screen

My web application has a dashboard page written in angularjs that is intended to be displayed on a screen in a room as a way of monitoring the information therein. It's a dumb screen connected up to ...
ptr's user avatar
  • 121
9 votes
2 answers
3k views

Microservices & Canonical model

When I was reading about microservices on this site, I came across the below statement. What is meant by a canonical schema? Isn't it same as domain model? The Microservices Architecture pattern ...
Punter Vicky's user avatar
1 vote
2 answers
903 views

Using NGINX as proxy for dynamic content

We want to serve different applications on the same domain, based on path. For example mydomain.com Serves a WordPress website and mydomain.com/app serves a google app engine application. My natural ...
MeLight's user avatar
  • 199
0 votes
2 answers
105 views

How is server A faster than server B in some (or all) cases if B employs more parallel tasks?

After researching modern web servers, I feel that I am pretty ignorant when it comes to server design and concurrent task management by both the operating system and the server. I understand some ...
Dan's user avatar
  • 33
3 votes
1 answer
312 views

Request Caching for Symfony 3 application with > 1 million combination of query parameters

We have a REST Webservice build with Symfony3 and PHP7. The application is served via Nginx and PHP-FPM. The Webservice returns a list of products. Products inside the list are filtered by attributes....
Andi's user avatar
  • 133
2 votes
1 answer
3k views

Cache invalidation on multiple servers

I have 6 web servers which are giving me problems due to cache inconsistency. I am thinking of building a cache invalidation service such that there is a topic on which all the servers can publish a ...
tanvi's user avatar
  • 123
0 votes
1 answer
1k views

expressjs: is it bad practice to use req.hostname for querying a db?

I'm building a nodejs app I would like to make available under various settings by my customers. I want my customers to build their websites on top of my app, so: - the app can be configured in a way ...
Fabrice K.'s user avatar
13 votes
1 answer
8k views

Caching authenticated requests for all users

I am working on a web app that must deal with very large impulses of simultaneous users, who need to be authorized, to request identical content. In its current state, it's totally crippling to even a ...
iamyojimbo's user avatar
8 votes
1 answer
3k views

Bottlenecks, nginx as a load balancer

Why nginx can keep itself from being a bottleneck when serving as a load balancer. If it becomes the single point bottleneck in some conditions, then is there solution except hardware load balancer?
upton's user avatar
  • 673