Questions tagged [nginx]
Nginx is an open-source, lightweight proxy and load-balancer for several web and email protocols.
23 questions
0
votes
6
answers
1k
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 ...
4
votes
1
answer
1k
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 ...
1
vote
1
answer
230
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 ...
0
votes
0
answers
104
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 ...
2
votes
2
answers
885
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 ...
21
votes
4
answers
3k
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 ...
2
votes
1
answer
829
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 ...
1
vote
0
answers
115
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 ...
2
votes
2
answers
563
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/...
0
votes
1
answer
731
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 ...
4
votes
1
answer
3k
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 ...
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.
...
1
vote
1
answer
970
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 ...
-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 ...
1
vote
0
answers
82
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 ...
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 ...
1
vote
2
answers
1k
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 ...
0
votes
2
answers
128
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 ...
3
votes
1
answer
334
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....
2
votes
1
answer
4k
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 ...
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 ...
13
votes
1
answer
9k
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 ...
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?