Questions tagged as 'nginx'

1
answer

Request timeout with nginx, unicorn and rails

I have an application in Rails that runs with unicorn in production. Some calls take a long time to process. I configured the server to increase the timeout so that the server does not respond in error. The problem is that if the request takes m...
asked by 11.11.2014 / 20:51
0
answers

Load Balancer HTTP with nginx [closed]

I'm setting up a load balancer with nginx, where the requests made to the nginx server are distributed between two tomcat servers. I am using the ip_hash option to be able to work with login in the applications. However, when I close the applica...
asked by 17.12.2018 / 18:32
0
answers

Rails / Nginx / Devise redirecting to http on login

Hello, I am not an underdog, I am a mere programmer enslaved by the stupidity of anyone who has money. That said, my doubt. Rails / nginx / certbot / DigitalOcean / devise are the cause of the problem, I think it's the main nginx, the co...
asked by 04.12.2018 / 16:33
0
answers

http-server (Docker template) doing "proxy" for React application

In a simple application made with React created with create-react-app , using Docker template of some link ( Apache , for example), it is common to use a rule in Rewrite with /* passing to /static/ forcing to go to index.h...
asked by 24.10.2018 / 15:51
0
answers

NGINX - ERR_TOO_MANY_REDIRECTS when rewriting htaccess rules

I'm trying to convert some htaccess rules to NGINX and I'm getting ERR_TOO_MANY_REDIRECTS. The htaccess code is link Options +FollowSymLinks -MultiViews # Secuirty Control <FilesMatch "\.(htaccess|htpasswd|ini|log|sh|inc|bak|tpl)$">...
asked by 27.10.2018 / 22:19
0
answers

Configure subdomain in NGINX with rails

I'm uploading a Ruby on Rails application to DigitalOcean, and I need it to stay in a subdomain, I've already set up DNS and it's working. The application works in the primary domain. But the subdomain does not work. I'm using NGINX and th...
asked by 15.10.2018 / 22:50
0
answers

Nginx block attacks

My server is receiving many requests from the same IP. How do I prevent attacks like this? 2018/10/02 20:21:31 [error] 22096#0: *7575 limiting requests, excess: 10.105 by zone "perip", client: 177.132.238.217, server: www.meusite.com.br, reque...
asked by 03.10.2018 / 01:35
0
answers

PHP session error with memcached session.save_path

Good evening; I have some centos Web servers that write session to a memcached server, but in the logs this is a warning message that I can not define the reason since the Mencached server itself does not give the error only shows the session...
asked by 23.08.2018 / 02:51
0
answers

Broken picture in laravel 5.6 [homestead]

Uploaded to my application an image when using php artisan serves, Today I'm using the homestead, when I went to look at the application it barred my url and it does not let it be displayed. <img src="/storage/avatars/{{ Auth::user()->im...
asked by 29.08.2018 / 23:59
0
answers

NGINX does not access folder index.php

Hello, I'm trying to use NGINX with Docker, but when installing it is not accessing the index.php of the folders, only from the root, I'm posting the configuration file below, can you help me find out where I'm going wrong? server { listen...
asked by 06.08.2018 / 12:53