2108 solutions found
Page 2 of 106votes
In order to deal with the microservice architecture, it's often used alongside a Reverse Proxy (such as nginx or apache httpd) and for cross cutting concern...
votes
I have nginx up and running with a Ruby/Sinatra app and all is well. However, I'm now trying to have a second application running from the same server and I...
votes
After NGINX upgrade to `v1.15.2` starts getting the warning. `nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" d...
votes
I need to redirect every http://test.com request to http://www.test.com. How can this be done. In the server block I tried adding rewrite ^/(.*) http...
votes
I've always thought of upstream and downstream along the lines of an actual stream, where the flow of information is like water. So upstream is where water/...
votes
I am getting 504 timeouts message from nginx when my PHP script is running longer than usual. `set_time_limit(0)` does not seem to prevent that! Does it not wor...
votes
I have this in Nginx configuration files gzip_types text/plain text/html text/css application/json application/x-javascript text/xml application/xml appl...
votes
I'm running a Sinatra app behind passenger/nginx. I'm trying to get it to respond to both http and https calls. The problem is, when both are defined in...
votes
In the X-WAF deployment, you need to create a new nginx configuration file. However, when testing the nginx configuration, an error is found and nginx cannot be...
votes
In my error log i get > [emerg] 10619#0: a duplicate default server for 0.0.0.0:80 in /etc/nginx/sites-enabled/mysite.com:4 on Line 4 I have: s...
votes
I want to add a custom header for the response received from the server behind nginx. While `add_header` works for nginx-processed responses, it does nothing...
votes
I am using nginx and node server to serve update requests. I get a gateway timeout when I request an update on large data. I saw this error from the nginx error...
votes
I'm looking at the [WSGI specification][1] and I'm trying to figure out how servers like [uWSGI][2] fit into the picture. I understand the point of the...
votes
I have been studying Node.js recently and came across some material on writing simple Node.js based servers. For example, the following. var express = re...
votes
I would like to host 2 different domains in the same server using Nginx. I redirected both domains to this host via @ property. Although I configure 2 differen...
votes
I would like to know the difference between Nginx and Unicorn. As far as I understand, Nginx is a web server while Unicorn is a Ruby HTTP server. Since both...
votes
I am running a command ./startup.sh nginx:start and I am getting this error message zsh: permission denied: ./startup.sh why could this...
votes
On server-side using Sinatra with a `stream` block. get '/stream', :provides => 'text/event-stream' do stream :keep_open do |ou...
votes
After over 10 hours of research I have not figured out why this doesn't work! I am trying to move my localhost to my sites-enabled folder which is in /etc/n...
votes
Once I've seen this before when I type a URL `http://test.com/test/`, instead of give me a html page, it gives me a 'file browser' like interface to...