Re: help with location directive
You'd think with Nginx stating there are lots of bad configuration tutorials out there (which I've already been bitten by), they would be more active in these forums in an effort to set the record...
View ArticleWebcam exposure
Hey guys, I am attempting to expose a webcam (edimax) via nginx. setup is as below location /cam/ { proxy_pass http://192.168.1.112/; proxy_set_header Host $host; proxy_set_header X-Real-IP...
View Articlenginx proxy_cache prevents docker (1.10.2 ) image push to artifactory .
Hi, We are using Nginx as reverse proxy to push docker images to artifactory. we recently upgraded to docker engine and when we try to push image we get : Unknown Blob error . if i comment proxy_cache...
View ArticleWeird 404, only when serving static on “location /”
Nginx throws 404 when I try to serve files from a root in "location /". But if I put the same path in "location /something/", it works: ~~~~ server { listen 8080; server_name localhost; location / {...
View ArticleRe: Weird 404, only when serving static on “location /”
location /something/ gets added to the root value.
View ArticleRe: Weird 404, only when serving static on “location /”
From the official documentation: https://nginx.org/en/docs/beginners_guide.html#static location / { root /data/www; } ^^^ My problem: This does not work for me.
View ArticleRe: Weird 404, only when serving static on “location /”
If the data you serve does not live in /data/www then change the root value.
View ArticleRe: Weird 404, only when serving static on “location /”
I made a /data/www folder and put files in it, but it does not work. Nginx V1.10.0 Ubuntu 16.04 x64
View ArticleRe: Weird 404, only when serving static on “location /”
Check the nginx logfiles, or enable debug logging to see exactly what is happening.
View ArticleHow to convert .htaccess rules?
Hi Everyone, i try to convert some rules from apache htaccess to nginx. This is my htaccess Rule: DirectoryIndex index.php <IfModule mod_rewrite.c> RewriteEngine On #RewriteBase / RewriteCond...
View ArticleBest Practice Query - Multiple Reverse Proxies
Hi, Very much would appreciate any guidance on this. I already have NGINX reverse proxy set up on a single physical server providing access to multiple services through subdomains. I'm now using...
View ArticleTARPIT средствами nginx?
Добрый день возможно ли красиво организовать такое поведение: при обращении по определенному адресу сделать бесконечное ожидание без передачи данных, приводящее к таймауту в браузере? это нужно чтобы...
View ArticleNginx remote access_log file
Hello, Actually, I have Nginx and Logstash installed on the same machine. And i want to separate them. I was installed Logstash in an other machine. How can i store the accsess_log Nginx file in the...
View ArticleDoes Nginx support PROXY Protocol making requests TO Varnish?
I've got nginx set up as the ssl endpoint / reverse proxy that then points to varnish which points to apache. That all works fine. But I know varnish supports PROXY Protocol, and I know nginx does,...
View Articleproxy pass to https
I need to proxy requests from nginx to a microservice that has SSL set up. When I use https I see an error that says: nginx: [emerg] host not found in upstream "service_hosts" in...
View ArticleRedirecting to HTTPS and Redirect Chains
We've moved from http to a new server running WordPress with new https URLs. A redirect "chain" has been created from the old to new URLs. Is it possible to go from #1 to #3? 1....
View ArticleSSL sessions/sec not going further than 4000/s
Hello, I am running NGINX from /dev/shm and I am stumble at a limit of 4000 sessions per second. No matter what I have changed (and my ulimit -n or hard/soft nofile under limits.conf are 65000). My...
View Articleproxy_pass to another server
Hi all! I've already got a working Nginx install running, and I'm wishing to expand it to talk to a different service on another internal web server, but I cannot seem to get it to work.. My network...
View ArticleRe: Progress module with 1.8.x / 1.9.11
We are having exactly the same issue with Nginx 1.11.3. upload progress module reports the same values for received and total size resulting in progress bar being always stuck at 100% until upload...
View Article