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

Re: Setup camera

in principle you can create a reverse proxy that routes requests to the webcam. Google it, there are lots of examples, BUT - and it can be a big “but”, not all web cams are easy to do this for.... You...

View Article


Opening myphpadmin brings up save dialog.

Hello I am hosting a website on my raspberry pi, using raspbian. I am able to use php files just fine. I followed the instructions to install my php admin-- found here -->...

View Article


Allow autoindex on only for one IP address!

Hello guys , I want everyone to be able to download my files but I want only 1 ip address to be able to browse the directories . what is the easiest way to turn on autoindex only for 1 ip ? Regards ,

View Article

Re: Allow autoindex on only for one IP address!

Any helps would be appreciated .

View Article

Block all IPs except local network on specific locations.

Hi, I want to allow access to certain locations on my web server (e.g. phpMyAdmin) to local IPs only. When using Apache, I had the following content in .htaccess:...

View Article


NGINX configuration folder protection of thousands of subdirectories

The following code allows me to protect a specific folder with the membership software we're using. The problem is if we have 1,000 folders we need to protect, we need to copy/paste this same code for...

View Article

Reverse proxy forward a tag in URL

I want to add and forward all traffic to `localhost/admin/` instead of `localhost/`. App listen to those paths: - `localhost/` (then gets 302 to `localhost/login` by application), -...

View Article

Proxy pass with Regex

I am trying to use nginx to bypass corp. firewall. What Im doing is to location /test/sometext { proxy_pass http://sometext; } for example location /test/nginx.org { proxy_pass http://nginx.org; } This...

View Article


Hotlinking Code for Nginx and Wordpress

Hi I am not really a programmer or web expert. I am writing as my ISP has hit a brick wall with the implementation of some anti-hotlinking code. I run a shared hosting plan on a web service using...

View Article


Nginx Connnection Timeout

Hello, Background I have a application that will connect into 2 nginx proxy then connect into AWS ElastiCache Redis. The nginx proxy is configured to be like a TCP load balancer. The nginx will listen...

View Article

stream for TLS passthrough to multiple servers, each with their own certificate

I am trying to configure nginx to act as a load balancer for a group of servers, using TLS passthrough. I have corporate-issued certificates for the load balancer, as well as each of the three back-end...

View Article

Error upstream timed OpenVpn UDP

I have a load balance configuration with 4 OpenVPN servers with UDP protocol, but it does not connect to the servers, follows log messages 2020/03/12 16:11:15 [error] 6272#0: *97 upstream timed out...

View Article

Re: OpenVPN UDP

I'm also having the same problem, I didn't find the solution on the forum

View Article


Index file priority list [mediawiki]

Hi everyone, Just a quick backstory, I have to maintain a mediawiki installation on a server already running NGinx. I had no prior experience with it, hence I have no idea who install it on our server...

View Article

strange output from access.log

I see this strange output with the page accessed listed many times. What could cause this. I have attached a snippet of the log to this post.

View Article


Re: Cannot stop nginx service on windows.

Maybe too late, but I found a solution after some confusion on this Windows error: According to the docs, 'you can run multiple times, but only one worker will do anything'. When you start nginx, it...

View Article

Re: How to cache gzip and brotli responses in nginx cache

+1 It would b great to have precompressed dynamic responses

View Article


I am trying to configure an fcgi application with php and nginx...

Hello, I've been stuck on this problem for days and I cannot work out what the issue is... This is my nginx.conf: https://bpaste.net/NHLQ The issue that I can see is that when I navigate to...

View Article

Hosting 2 domains on one linode using nginx

I have 1 linode instance where I am hosting to websites. I have an issue where if I do not input www.* then it seems I get redirected to the wrong website. So the 2 domains I have are...

View Article

Cors problems

Hi, I have a site in wordpress (say www.example.com) with subdomains for varius languages, (say en.example.com, fr.example.com) and I need that Cors works correctly for all my subdomains but the...

View Article
Browsing all 4759 articles
Browse latest View live


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