Quantcast
Channel: Nginx Forum - How to...
Browsing all 4759 articles
Browse latest View live
↧

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 Article


Nginx 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 Article


kubernetes 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 Article

Nginx 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 Article

How 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 Article


Redirect 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 Article

Problem 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 Article

Setting 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 Article


Re: Setting up server block file for my laravel api endpoints

You can close this topic.

View Article


Is 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 Article

How 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 Article

blocked 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 Article

Transparent 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 Article


How 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 Article

How 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 Article


How 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 Article

Compiling 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 Article


nginx 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 Article

NGINX + 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 Article

proxy_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
Browsing all 4759 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>