deny directive on specific proxy_pass implementation
Hi, I have two nginx servers: First one is configured as upstream to the second one. Second one is configured as proxy_pass with few virtual hosts. All traffic incoming into 2'nd comes with 1'st public...
View ArticleNginx Security Guide
Hi to all, I am new to Nginx and I have been tasked to change the security settings of my company's website. My current ngix.conf file (It is running on Centos 7) is as shown in the attached document....
View Articlekubernetes nginx-ingress-controller tls termination for tcp connections
Hi, I've a TCP server running in a POD and I want to terminate TLS on the nginx-ingress-controller and have not-encrypted messages from the nginx-ingress-controller to my service and then to my POD....
View ArticleNginx as DTLS termination proxy?
Does Nginx or Nginx Plus can be used as DTLS termination proxy? I tried to do simple proxy something like this stream { server { listen 20001 udp; proxy_pass 172.17.0.1:20000; } server { listen 1884;...
View ArticleHow to add nginx on already existing apache 2.2 SSL, centos
Hey guys. I want to include nginx over apache, but my apache is already using certbot SSL certificate and listens to port 443, how to include nginx in it? Things I'm running currently if needed CentOS...
View ArticleRedirect user base on Referer
Hi guys, Currently I'm having a problem. I have 2 domains: example1.com, example2.com In domain example1.com I have an HTML file with a small javasscript code:...
View ArticleProblem Transfer-Encoding give :ERR_INVALID_CHUNKED_ENCODING 200
Hi, I want to send chunked m4s but I have the following error in my console on Chrome I get FetchLoader.js:87 GET https://*****************.m4s net::ERR_INVALID_CHUNKED_ENCODING 200 (OK) I attachment...
View ArticleSetting up server block file for my laravel api endpoints
When I do a request inside a node app of mine, I will do it to something like this: api.make.tube/{endpoint} My current server block file looks like this: server { listen 80; location / { proxy_pass...
View ArticleRe: Setting up server block file for my laravel api endpoints
You can close this topic.
View ArticleIs it possible to push individial streams to different platforms?
Hi all, I have nginx set up to receive rtmp streams and can currently push the a stream to a facebook and youtube account simultaneously. I wanted to ask if it was possible, to push individual streams...
View ArticleHow to redirect HTTP to different server IP and HTTPS to localhost
Hi Team, I am new to Nginx and using it with iRedmail. I have port forwarded - 80 and 433 to this Nginx server and I had to do both onto this server IP. I want to forward any traffic that comes to only...
View Articleblocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on...
In my nginx server block I have allowed access but I still get the message: Access to XMLHttpRequest at 'http://api.mywebsite.com/tags/' from origin 'http://mywebsite.com' has been blocked by CORS...
View ArticleTransparent proxy to websocket server on same machine
Hello, I want nginx and a websocket server on same machine. Users must be able to access both on port 80/443. I do this currently by having 2 separate IPs, but for logistical reasons I'd prefer one IP....
View ArticleHow to cache gzip and brotli responses in nginx cache
I'm trying to store gzip, and brotli html responses on the server side, in nginx cache itself, from my php framework. I understand such modules like gzip_static, and brotli_static can fetch pre-ziped...
View ArticleHow to pipe incoming mails to php
Hello, I have already set MX records for my domain to My server, Now i want to piple all incoming mails to usr/share/nginx/html/mailhandler.php To store them in database.. How can i do that?
View ArticleHow To patch nginx source
nable to patch nginx source (can't find file to patch) [root@linux nginx]# patch -p1 </usr/local/nginx/0004-Accept-variable-name-as-upload_limit_rate-argument.patch can't find file to patch at input...
View ArticleCompiling Nginx from source gives a "leaving directory" error
Greetings, I have been trying to compile Nginx from source with the following options: ./configure --with-http_stub_status_module --with-http_perl_module --with-http_flv_module --with-http_mp4_module...
View Articlenginx container acting as LB
Hello I have container with below file user nginx; worker_processes 1; error_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid; events { worker_connections 1024; } stream { upstream cb_80 {...
View ArticleNGINX + MAGENTO 2 + MATOMO
Hello I'm currently stuck in the configuration of the server for Matomo/Piwik statistics. Can you please help me in resolving this configuration. I want that nginx redirect all the trafic for URL...
View Articleproxy_pass to subdomain does not work
I have configured a reverse proxy that according to the url is redirected to a subdomain. Example: xxxx.domain.com -> test1.computer.com zzzz.domain.com -> test2.computer.com The problem is that...
View Article