How to produce stale event for nginx
I am studying nginx by reading and debugging source code. I want to produce the stale event, what is the simplest way to make it happen? Thanks very much
View ArticleNGINX with Web File Manager - Sprutio
I'm using an excellent web file manager (Sprutio), open source, in my VPS (Debian 9, MariaDB, PHP7, NGINX, ISPConfig). But, I do not understand how to configure to work on SSL, since Sprutio's...
View ArticleRedirect escaped_fragment
Hi everyone :) I have some URL's like this. https://www.mydomain.com/23/something?amp%25252525253B_escaped_fragment_=&p=3 https://www.mydomain.com/23/something?%253Fp%253D5=...
View ArticleIs it possible to build some simple (?) logic on nginx (plus?) instead of...
Hi! Need to divide primary post json request into 2 subrequest (get and post). So we have some kind of proprietary software and need to interact with it by 2-step logic. First send a question with...
View ArticleElegant way to inject IP filtering in vhosts
Have a dozen of vhosts which sometime require IP filtering (maintenance ...) using 'geo'. So - 'geo' is in http context, and gives a variable a value depending on the IP filters => that declaration...
View ArticleHow to get THE original $request_uri ?
Despite documentation claiming that `$request_uri` is a "full original request URI (with arguments)", nginx in reality reduces it to path+query only. I see why it does that, for the configuration...
View ArticleResource consumption during execution of many subrequests
Hello everyone. I have some problem about subrequest. My module during the processing of one request, handler() in the access phase issue sequential sub requests sequentially, while dynamically obtain...
View ArticleNGINX Standalone Webserver
I am trying to make NGINX as standalone web server for static content. I am able to achieve download (GET) of files from NGINX. However, I am getting error 301 when I do post and 405 when I tried PUT....
View ArticleRe: NGINX Standalone Webserver
POST and PUT by definition are NOT static methods. Your question contradicts your initial statement of wanting to serve static content.
View ArticleRe: NGINX Standalone Webserver
I agree with you.. So my requirement is to upload binary files from one source (through HTTP PUT / POST) which can be served to other clients (via HTTP GET)
View ArticleSecuring Nginx Web Server
We have hosted our platform on Google Cloud. Its a startup and its pretty lean setup with 1 X Nginx | acting as a web server | Public facing subnet 1 x Database server | internal subnet I am 100% sure...
View ArticleRe: Securing Nginx Web Server
Note : Its depends upon your hit rate -> Internet <--> PFSense (OpenSource firewall) <-> NGINX <-> Database
View ArticlePassing errors to user received from upstream generated by POST requests
Hi I have a setup where nginx acts as a reverse proxy for two application servers and is configured to try the other application server if the first one fails. The problem is I can't pass errors...
View Articlenginx stream pass client ip address to backend
I have this configuration: https://pastebin.com/rjKDaUPC I use it to terminate SSL connection to port 443 on the public IP address, then redirect the SSL traffic to apache or VPN server based on...
View ArticleLoad balance HTTP requests to different API endpoints
I'm new to NGINX and am trying to load balance between different API endpoints. For example, if I have two API endpoints that return data to a GET request, I should be able to send a GET request to my...
View ArticleRe: nginx stream pass client ip address to backend
You could try using proxy protocol. Though I'm unsure about it in case of SSL connection.
View ArticleRe: Load balance HTTP requests to different API endpoints
Upsteam specifies SERVERS not URL's. For nginx specific pastes, you can use https://paste.ngx.cc/
View ArticleNginx Serving Static files Issue
Hi, I am using nginx to server my application static files. I'm currently using the alias option. But we have a requirement to limit this nginx static files server to certain origin requests for ex:...
View ArticleNginx Proxy
Hello. I have 2 servers with nginx intalled with 2 external ip.( 192.168.0.1 192.168.1.1) 1 domain - example.com 3 web services test1.example.com test2.example.com test3.examle.com and BIG problem :)...
View ArticleRe: Nginx Proxy
proxy_pass http://192.168.0.1/ for each server_name, and retain the Host: header.
View Article