Re: NGINX - 1 NIC in DMZ and 1 NIC in LAN questions
Just to follow up on my comments above - having 2 gateways defined in the NICs settings might make them both default?I am thinking on the DMZ NIC to have a default gateway and then on the LAN NIC have...
View ArticleRe: NGINX - 1 NIC in DMZ and 1 NIC in LAN questions
Adding a static route will definitely help but the default routing table should take care of this regardless of any gateway.Unless your running with mask 0.0.0.0 :-)
View ArticleLocal links not working after nginx proxy_pass
I was trying to do some redirection with Nginx, was working fine with a simple rewrite, but it seems it did not meet the requirements. We need to hide the new address and keep the old. I read some...
View ArticleRe: NGINX - 1 NIC in DMZ and 1 NIC in LAN questions
Just a follow up on this issue (perhaps it will help other later on).I have to disable the Gateway on the LAN NIC.So default Gateway is enabled and it is on the DMZ side, while the LAN side has no...
View ArticleRe: How to allow path /batch?x=y
I solved this problem by replacing (drupal config recommended by nginx)location / {try_files $uri /index.php;}withlocation / {try_files $uri /index.php?$query_string;}
View ArticleNo PHP message is given in error.log
Hello,every few seconds I get this error in my error.log:FastCGI sent in stderr: "PHP message:" while reading response header from upstream, client: ..., server: www.test.de, request: "GET /forum...
View ArticleRe: proxy_pass not honoring port number?
Can anyone recommend a way to configure nginx to (a) host a wordpress server at mysite.com/ and (b) handle reverse poxies, eg: mysite.com/forum/
View ArticleUnable to make my configuration work
My configuration looks like this...server {listen 80;server_name 127.0.0.1 localhost;location = /index.html {root /etc/nginx/html/app1;index index.html;}location / {root /etc/nginx/html/app1;index...
View ArticleConfused with the Equal modifier...
This is how my configuration looks like...server {listen 80;server_name 127.0.0.1 localhost;location = / {index index.html;}location / {root /etc/nginx/html/app1;}}In my folder app1 I have two files,...
View ArticleRe: Unable to make my configuration work
Where you want to end up is root+location, your last uri will now be /etc/nginx/html/common/commonlocation ^~ /common/ {root /etc/nginx/html/other;}=> /etc/nginx/html/other/commonlocation ^~...
View ArticleRe: Unable to make my configuration work
Thanks bunch. I tried what you suggested and part of it worked!Really appreciate your help.
View ArticleProxy pass protocol version HTTP/2
Hello!I use nginx-1.9.5 with ngx_http_v2_module.I want to pass HTTP/1.x traffic to one backend and HTTP/2 traffic to another. I don't want to convert HTTP/2 trafic to HTTP/1.x.Is it possible?As I know...
View Articlesystemd nginx.service start request NOT so quickly!
Hello everybody I'm a new forum user and a new Nginx enthusiastic user!I need some help....Sometimes, once a week nginx stops ...into systemd.log I found this line...... systemd: nginx.service start...
View ArticleCase Sensitivity issue in Nginx
This is my directory structure...html|-- 50x.html|-- app1| `-- index.html|-- app2| |-- home.html| `-- index.html|-- common| |-- app.js| `-- index.html`-- index.htmlAnd this is the...
View ArticleNginx (WPN-XM) and multiple Magento installations
How do I configure nginx to work with multiple Magento installations? I think nginx needs to be configured to dynamically change root directory, but I'm unsure how to do this or if it is even...
View ArticleRe: Nginx (WPN-XM) and multiple Magento installations
You can set/change 'root' for each server or location block.
View ArticleNGINX PHP Subfolder Problem & Downloading File
I had PHP on NGINX Setup and working to where I got the NGINX welcome screen as index.html and info.php showing properly. However, I created a folder with permissions 777 and put another php file in...
View Articlenginx listen on IPIP-interface (tun0)
Hi,currently trying to configure nginx behind a keepalived loadbalancer with lb_kind TUN.The idea behind this setup is, to realize a location based load balancing on layer 4.Higher layer should...
View ArticleRe: nginx listen on IPIP-interface (tun0)
Problem solved !forgot to disable kernel RP filter.echo "" >> /etc/sysctl.confecho "# rp_filter" >> /etc/sysctl.confecho "net.ipv4.conf.all.rp_filter = 0" >> /etc/sysctl.confecho...
View ArticleNginx with MySQL doesnt log fail to authtenticate in logs
Hi,I have Nginx configured and running as I wanted.Next step is to implement some log monitoring my my server (Fail2Ban) to block what needs to be blocked.In doing so what I have found is that when...
View Article