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

Re: nginx git configuration

nginx is on windows server, version 1.12.2 how i can conlfigure location / forwarding for git ?

View Article


Add virtual path for a site

Hello, I'm trying to add virtual path to a site and redirect it to the same content as the root. This is the config I have at the moment: server { listen 80; listen [::]:80; server_name...

View Article


sites-available default overriding other files

I had Nginx working for about a week except I couldn't get curl to work. Then, while troubleshooting that I had Nginx and php break so started over (reinstalled both). I want to use a domain name...

View Article

Reverse proxy for ssh

Hello ! Need to make my nginx server listen to a specific domain address on port 80 and to pass it to my ssh linux server. Of course I could do it with my router, but I have to many servers to do it...

View Article

Nginx - How do yo sync data across web servers?

Hello, I am in the process of designing the underlying infrastructure for a Joomla CMS that will operate on top of NGINX. The site needs to be resilient so that in the event of an outage the site can...

View Article


Re: sites-available default overriding other files

I got it solved. Don't know why but I'm not complaining :-). I redid the sites-available/default file to this and everything (the grouperads.com site) came back up and WITH CURL working now! ## # You...

View Article

rewrite + proxy_pass in named location?

Hi, I have a named location where I'm trying to perform a proxy_pass, but of course I can't have a URI in the proxy_pass itself so I'm trying to use rewrite with proxy_pass. However, i've tried so many...

View Article

'Redirect' POST request when path to the service changes

Hey guys, I'm not an expert on NGINX and am struggling with the redirection (if we can call it this way) of POST requests. The thing is a service changed from, let's say,...

View Article


Re: Nginx as reverse web proxy changes all to apache default page.

It's been almost 3 weeks and no one has any input on this?? I could really use some direction here. I can't even find the Apache.html page on any of the VM's so I don't know where it's coming from or...

View Article


Serve Image files only

I am trying to serve images files only in this location block. location /image \.(png|jpg) { alias /site/; } But I keep receiving errors. What is the correct way to serve only png and jpg matching...

View Article

Re: Serve Image files only

nginx_user10 Wrote: ------------------------------------------------------- > I am trying to serve images files only in this location block. > > location /image \.(png|jpg) > { > alias...

View Article

Re: Serve Image files only

nginx_user10 Wrote: ------------------------------------------------------- > nginx_user10 Wrote: > ------------------------------------------------------- > > I am trying to serve images...

View Article

Nginx - Multiple reverse proxied sites with relative content

I am trying to set up Nginx to work as a reverse proxy for multiple web apps running on the same server, however I have an issue where relative paths for content (CSS & JS) aren't looking in the...

View Article


Disable TLS1.1 with NGINX & Tengine

Hi, We use the NGINX server with tengine version tengine-2.1.0 & openresty version - ngx_openresty-1.7.2.1 . On the NGINX conf the ssl supported protocols have been restricted to use only TLS1.2....

View Article

nginx as reverse proxy with client ssl authentication

Hi, I am using nginx 1.13.11 on Windows 10 I am trying to set up a reverse proxy for a HTTPS backend requiring client ssl authentication. Tried this with the following config --- worker_processes 1;...

View Article


Re: nginx as reverse proxy with client ssl authentication

2018/04/05 13:45:15 [debug] 2708#4940: *8 http proxy status 401 "401 Unauthorized" 2018/04/05 13:45:15 [debug] 2708#4940: *8 http proxy header: "X-message-code: PWD_WRONG" 2018/04/05 13:45:15 [debug]...

View Article

Re: nginx as reverse proxy with client ssl authentication

Yes. This is a specialty of the backend. It does a basic auth if client ssl auth does not work. But getting this auth request means something went wrong before...

View Article


Re: nginx as reverse proxy with client ssl authentication

Ad addintional info because my question is maybe a bit confusing. I want to do the reverser proxy doing the client-cert-auth. So the real clients can access the backend thru the reverse proxy without...

View Article

no www in host header

Hi there, I have an http/ https config in place which works but there is one issue our marketing team have asked about regarding no www in the URL. when users navigate to example.com the stanza...

View Article

connection timed out (110: Connection timed out) while proxying connection

My config looks likes this: stream { server { listen 9999 ssl; tcp_nodelay on; ssl_certificate /etc/nginx/cert.crt; ssl_certificate_key /etc/nginx/cert.key; ssl_protocols TLSv1.2; ssl_session_cache...

View Article
Browsing all 4759 articles
Browse latest View live


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