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

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


Re: 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 Article


Re: Unable to make my configuration work

Thanks bunch. I tried what you suggested and part of it worked!Really appreciate your help.

View Article

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

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


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

Re: Redirects for URLs with Greek characters

itpp2012 Wrote:-------------------------------------------------------> location /wiki {> return 301 https://el.wikipedia.org/wiki$request_uri;> }No I did not tried this because I do not want...

View Article

Re: Redirects for URLs with Greek characters

https://www.ruby-forum.com/topic/212442

View Article


Can't login on PunBB 1.4.2, SSL error

Hello(Cross posted on the PunBB forum)(Feel free to move this topic to any more appropried forum)So since I setup Nginx instead of Apache a a web server to run a PunBB 1.4.2, we can't login anymore...

View Article


Re: Can't login on PunBB 1.4.2, SSL error

FlorentP Wrote:-------------------------------------------------------> 1.4.2, we can't login anymore :>> Upon clicking on the "Confirm" or "Cancel" we are redirected to>...

View Article

Re: Can't login on PunBB 1.4.2, SSL error

itpp2012 Wrote:-------------------------------------------------------> You are redirected to ssl (which you obviously have setup) and youHey! thanks for you replyIf SSL is indeed setup, I did...

View Article

Re: Can't login on PunBB 1.4.2, SSL error

You can't use the 'ssl' setting when not using its parameters and its files, so remove ssl.

View Article

Proxy Websockets: 499 & 504s

Greetings!I am trying to use NGINX to:1) Serve static content (working as expected)2) Proxy dynamic content to fastcgi mono (working as expected)3) Proxy webSockets (using XSockets as a wrapper) to...

View Article


How to config Opencart rewrite on nginx?

Anyone can help me to config nginx 1.9.4 (centmin mod) to run Opencart 2.0.3.1 seo url? Thank you.

View Article

How to configute example.com/index.php/admin/login

Hello, I have problem with my subdirectory and a script in it.I have installed wordpress and it works great but in subfolder /autopost/ I have a script which I can't open because I get "The page is not...

View Article


Use if condition with $upstream_http_myheader

Hi Everybody,First, I hope the question has never been asked ...I am using NGinx as a reverse proxy and load balancing with upstream.This is working perfectly, BUT I have to send a return code "404"...

View Article

NGINX - 1 NIC in DMZ and 1 NIC in LAN questions

HiI am looking at deploying NGINX as a reverse proxy solution in my environment.I am also new to this (Linux and Nginx).I have a DMZ and a LAN segment defined in my firewall.The NGINX box will have 2...

View Article


proxy_pass not honoring port number?

I want to direct mysite.com/sabnzbd/ to 192.168.0.105:800, which is a daemon with a web interface on another local server. To accomplish this, I want to add a reverse proxy to my nginx.conf. The...

View Article

Re: NGINX - 1 NIC in DMZ and 1 NIC in LAN questions

Listen 80, will listen on all lan interfaces, so it will take requests from dmz and answer them on the same interface.When it comes to passing requests on another lan, you simply need to address this...

View Article

Re: NGINX - 1 NIC in DMZ and 1 NIC in LAN questions

Hi itpp2012 and thank you for the reply.You did say that normal routing will take care of the rest as long as the new network is defined with the proxy_pass statement.I will try that.My CentOS is...

View Article
Browsing all 4759 articles
Browse latest View live


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