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

NGINX Rate limit -- How to exclude cache hit

I believe NGINX rate limit applicable at context level.. Is there any way to exempt rate limit for cache HIT ?

View Article


Re: nginx for Windows log file

Nevermind, you just have to add; access_log off; error_log off;

View Article


Header problem after upgrade from 1.6 to 1.10

Hi ! I used to run nginx v1.6 with this configuration : location / { alias /some/path/; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;...

View Article

Passing thru Nginx into the FTP server

Hi Team, Questions i had a ftp server in local server and trying to publish out site of our network, i edit the conf file as below, but its not working for it. I can telnet upto the nginx server from...

View Article

two virtual hosts with same domain name but different ports?

Hi, I have a virtual host running fine, say: sample.com server { listen 80; server_name sample.com; ... } now I need to set up another virtual host but same name, say: sample.com:3000 I put the new...

View Article


Is NGINX messing up my network?

I used to access my internal services like example.com:6868 and bar.example.com:6969. I had or two sudomains like fubar.example.com and foobar.example.com. But with the wonders of nginx, I was able to...

View Article

Proxy http site without access log?

(Please excuse my English. The domain names used in this post are examples, not real ones) I opened websites " https://my.server.com " and homepage " https://my.server.com/index.html " with a nginx...

View Article

Re: two virtual hosts with same domain name but different ports?

Hi, I am done with my following configuration and it works, make sure your firewall allows those ports server { listen 80; location / { proxy_pass "http://IP_AppServer:80"; proxy_set_header X-proxy...

View Article


Help with location match regex for encoded / unencoded url

Hi all, I really hope someone can assist me as I am out of ideas to get a regex working for this location match. I need a location regex to match the following requests and redirect them to the correct...

View Article


Magento2 and Fishpig wordpress integration

Hello, I have a wordpress blog into magento by the fishpig's module. Wordpress is in magento2-root/pub/wp but in magento settings is set to The front of blog is showing 404, wordpress admin is working...

View Article

Re: Help with location match regex for encoded / unencoded url

I get a match with this regex here - https://regex101.com/r/3Lk2zr/3 ​ but then using this ​ location ~ /.*[^\x00-\x7F]+.* { return 444; } still gives me a 404 and not a 444 Likewise I get a match with...

View Article

Re: Help with location match regex for encoded / unencoded url

SOLVED with this. location /resources { location ~* \.(jpg|jpeg|png|gif|ico|css|js|pdf)$ { if ($request_uri ~ .*%.*) { return 301...

View Article

Loosing all of my (residual) hair on an access problem

Dear friends, I almost burned my eyes but have to call it quits. Hope you can help. I have an nginx server setup on a raspberry box to power an rtorrent/rutorrent seedbox. I get the /rutorrent page...

View Article


Help obfuscating access.log GET request parameters on AWS Elastic Beanstalk

I am trying to obfuscate a sensitive parameter that appears on some GET requests. These requests are encrypted, but are appearing in the access.log files in plain text. I found this Stack Overflow...

View Article

Re: Help obfuscating access.log GET request parameters on AWS Elastic Beanstalk

Here's where I'm at so far. EB extensions allow you to add files, similar to what I did above. The default nginx.config looks like this: ``` # Elastic Beanstalk Managed # Elastic Beanstalk managed...

View Article


Reverse proxy to backend servers - single public IP

Hi, im after a little help. I have a setup where I require my single public IP to serve 3 websites hosted on virtual servers. I am running NGINX on a 4th VM, this is where I am pointing all my port...

View Article

Reverse proxy using x-forwarded-for to back-end server with single visitor...

Hello all, We are using Nginx to be a reverse proxy server to backend web server. since need to log the visitor real wan IP address. <pre> X-Forwarded-For: client, proxy1, proxy2</pre> We...

View Article


Re: Preserving Source IP using SSL Preread + OpenVPN

Thank you for sharing this solution. I will try it out.

View Article

Https Redirect Issue with NGINX

I have a rather bizarre problem here. I have several sites on the same server running with Nginx; only one has HTTPS certificate and the other does not. The problem is that if a client enters the site...

View Article

NGINX to Exchange 2010

Hello, Really hoping someone can help! Having issues with autodiscover through nginx. If i manually navigate to the autodiscover URL (https://autodiscover.domain.com/autodiscover/autodiscover.xml) I am...

View Article
Browsing all 4759 articles
Browse latest View live


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