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

Re: log/list IP Address accessing folder

Hello, this is the massage I get; C:\nginx>nginxLogReopen.bat Waiting for 0 seconds, press a key to continue ... A duplicate file name exists, or the file cannot be found.

View Article


Re: How to allow access to a URL from only a selected IP

Even when I try the following I get a 404 error whenever browsing to any URL with 'paper' in it location ~ paper { allow all; deny 192.168.1.5; }

View Article


Re: How to allow access to a URL from only a selected IP

Nearly there I think. The below gives me the correct 403 response. If I however add allow 192.168.1.51 I then get a 404 error. I think it has something to do with the reserve proxy. location ^~...

View Article

Re: How to allow access to a URL from only a selected IP

Thought that I had it sorted but alas not

View Article

NGINX as Internet Proxy

Hello everyone I'm trying to use NGINX as a transparent proxy using module ngx_http_proxy_connect_module. The configuration works when I navegate to http website or set proxy on my browser, but when I...

View Article


Re: How to allow access to a URL from only a selected IP

Working :) I had a trailing "/" after 8080 that was breaking it server { listen 80; server_name 192.168.1.25; return 301 https://$server_name$request_uri; } server { listen 443 ssl; server_name...

View Article

Serve up 2 Sites, 1 is php

OK, so I'm trying to follow this page to serve up 2 sites on RHEL 7.5: https://www.if-not-true-then-false.com/2011/install-nginx-php-fpm-on-fedora-centos-red-hat-rhel/ I've gotten pretty far, but can't...

View Article

nginx STARTER

hello to everyone I'm interested in understating how ( by means of where in the source code ) nginx parses http packets and how can I set it up so I can make my own local connections and try to send...

View Article


Re: Serve up 2 Sites, 1 is php

Any trouble shooting advise even?

View Article


NGINX redirect to HTTPS, while still maintaining HTTP route for Let's Encrypt...

I can successfully route traffic from port 80 to HTTPS, and I can also get the Let's Encrypt SSL certificate successfully. But my problem starts when I want to do both. Whenever my certs are expiring I...

View Article

Reverse Proxy URL Without Base URL

Hey Guys - I use Nginx in my home lab as a reverse proxy for multiple locally hosted pages as well as add an SSL layer. Although I've successfully been able to configure most of my pages in the past,...

View Article

MachineName vs IP in URL

Hi! I'm guessing this is a pretty simple fix, but I'm very new to NGINX. I'm having an issue where if I use the url: http://myservername.mydomain:8080/ All is good. However, if I use:...

View Article

Re: MachineName vs IP in URL

I tried adding the IP address to the nginx.conf file: server { listen 8080 default_server; listen [::]:8080 default_server; server_name machineName.domain 1.2.3.4; This didn't change anything.

View Article


Possible nginx bug - gzip off for a a location not working

I am trying to set gzip off in a specific location " ~ /wp-content/cache/supercache.*gz$ " but nginx is not considering it. Bellow is some code from vhost config file. The browser displays the content...

View Article

proxy_pass to istio ingressgateway (envoy)

Hello, I have first created a istio discussion topic but I think I could get help here too. Ref: https://discuss.istio.io/t/nginx-proxy-pass-to-istio-ingress-gateway-404/4330 I have a nginx reverse...

View Article


Re: proxy_pass to istio ingressgateway (envoy)

I tried to accomplish same task in apache and it worked as expected. ``` <VirtualHost *:3900> ServerName localhost ProxyRequests off SSLProxyEngine on <Location /api-url> RewriteEngine on...

View Article

Re: Reverse Proxy URL Without Base URL

Hi there - I think we're trying to do the same thing. I've posted my problem here -...

View Article


Load balance error - too many redirects

Hello guys! I have an NGINX server(free version) for my users and want to make it balance connections to 2 java application servers. However, when I activate load balancing via upstream directive using...

View Article

Is there any alternative way to allow the header size more than 8 KB in nginx ??

Is there any alternative way to allow the header size more than 8 KB in nginx ??

View Article

Re: Is there any alternative way to allow the header size more than 8 KB in...

Hi! Would anyone have any idea about "Error - 413 - Request Entity Too Large" ? for uploading larges files/folder using Nginx / Gunicorn setup using Flask endpoint ? Any help or suggestion would...

View Article
Browsing all 4759 articles
Browse latest View live


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