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

Return all unfound pages to 444

I occasionally have issues with certain IP addresses trying to access locations for scripts that have vulnerabilities. You can see some of these below: GET...

View Article


SSL nginx on tomcat Server

Hi , after configuring Nginx SSL with Tomcat 7 if I Type URL: https://test.rockwell.co.in/testril (page Work Fine ! and secured) now if I log in to my application, URL get changed to...

View Article


Re: SSL nginx on tomcat Server

https://serverfault.com/questions/172542/configuring-nginx-for-use-with-tomcat-and-ssl See the connector section.

View Article

Requests not passed to FCGI

upstream site-main-5.6 { server php-5-6.example.org:1008; } server { listen 80; server_name site-main.example.org; root "/home/site-main/htdocs"; location ^~ /gallery/test/ { default_type "text/plain";...

View Article

ftp proxy with nginx

hello, I have a proxmox solution for virtualisation. On each virtual machine there's a ftp service On the node I put nginx (1.13) to proxy http/https between virtual machines and it's works well; but...

View Article


Re: ftp proxy with nginx

I strongly suggest eradicating FTP with extreme prejudice. Use SFTP or SCP at least.

View Article

Re: ftp proxy with nginx

it's another problem the protocol . ftp or sftp I think it's the same problem. How to route to correct VM ?

View Article

Re: ftp proxy with nginx

No, the problem is different, because protocols are inherently different. SSH is easily proxied. FTP is not.

View Article


Re: Requests not passed to FCGI

Found my mistake. I've had if (!-f $document_root$fastcgi_script_name) { return 404; } hidden deep within includes. Didn't notice it until now.

View Article


Punycode domains

Hey, I connected the following domain www.xn--xample-9gg.com (just an example) to my nginx server. When I browse this domain it doesn't converted to its native name, which is www.ҽxample.com I changed...

View Article

Complex Proxying (NAT) with NGINX

Hi everyone, I have a challenge I need to solve with NGINX. I have tried just about everything and i cant get this to fully work. I have a front end facing NGINX server which has several sites hosted....

View Article

Re: ftp proxy with nginx

I see this interesting module, it's seems to work with ftp but ... https://www.nginx.com/resources/admin-guide/tcp-load-balancing/ but... I don't know how to configure it for using different subdomains...

View Article

NGINX not starting git-http-server

I'm working on a Git server behind Nginx using the git git-http-backend script. Currently I have a passenger server that's working serving a rails app at port 2222. However, behind the /git/ folder I...

View Article


microcache pread() bad file descriptor error

Hello, I'm getting the error in regards to multiple files on a server, and was wondering if anyone had any ideas what could be causing it/how to fix. It's obviously enabled to the microcache due to the...

View Article

Nginx is not picking error_page

Hi Team, I may need your help on this matter.I am trying to implement a redirection based on 405 error page.But Nginx has not executed my redirection. Please help me to fix this.I have stuck on this...

View Article


Re: Nginx is not picking error_page

Any update ?

View Article

Delay after reconnection to NGINX

We have NGNIX Server with flowplayer. Folowplayer has configuration to make buffer for 0.5 second. But if I disconnect the NGINX server from the network and reconnect it again I have a big delay on the...

View Article


How to send http request in c?

I've stuck in this problem for days. I think I should go with ngx_http_connection_t, ngx_http_request_t and related functions. I can't find any useful document for this (Very ironic, an HTTP server...

View Article

redirect http to https, but exclude API

we switched a site from http to https, but for compatibility reasons we need some API to still be reachable by http. our current redirect is: server { listen 80; server_name www.mysite.com; location ~...

View Article

Re: redirect http to https, but exclude API

http { map $request_uri $requri { default 1; /well-known 0; } …………………… server { listen 80; server_name www.mydomain.eu; root '/webroot/www.mydomain.eu’; if ($requri) { return 301...

View Article
Browsing all 4759 articles
Browse latest View live


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