LMSouq

Knowledge Base

Browse Moodle Solutions

Clear

419 solutions found in server-admin

Page 2 of 21
0 votes
1 ans
3 views
Upstream / downstream terminology used backwards? (E.g. nginx)

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/...

server-admin Solved
CH
asked 1 month ago by ChrisC
0 votes
1 ans
3 views
Prevent nginx 504 Gateway timeout using PHP set_time_limit()

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...

server-admin Solved
NY
asked 1 month ago by Nyxynyx
0 votes
1 ans
3 views
Dealing with nginx 400 "The plain HTTP request was sent to HTTPS port" error

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...

server-admin Solved
JO
asked 1 month ago by Johnny
0 votes
1 ans
3 views
Nginx startup prompt [emerg] no "events" section in configuration

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...

server-admin Solved
DO
asked 1 month ago by Dora
0 votes
1 ans
3 views
nginx- duplicate default server error

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...

server-admin Solved
YM
asked 1 month ago by Ymn
0 votes
1 ans
3 views
How to add a response header on nginx when using proxy_pass?

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...

server-admin Solved
SO
asked 1 month ago by sorin
0 votes
1 ans
3 views
Nginx upstream prematurely closed connection while reading response header from upstream, for large requests

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...

server-admin Solved
DI
asked 1 month ago by Divya Konda
0 votes
1 ans
3 views
How does a Node.js "server" compare with Nginx or Apache servers?

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...

server-admin Solved
GR
asked 1 month ago by Grateful
0 votes
1 ans
3 views
Nginx Different Domains on Same IP

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...

server-admin Solved
BE
asked 1 month ago by berkayk
0 votes
1 ans
3 views
Why does Unicorn need to be deployed together with Nginx?

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...

server-admin Solved
LO
asked 1 month ago by loganathan
0 votes
1 ans
3 views
EventSource / Server-Sent Events through Nginx

On server-side using Sinatra with a `stream` block. get '/stream', :provides => 'text/event-stream' do stream :keep_open do |ou...

server-admin Solved
LU
asked 1 month ago by Lukas Mayer
0 votes
1 ans
3 views
Nginx not picking up site in sites-enabled?

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...

server-admin Solved
DI
asked 1 month ago by Discorick
0 votes
1 ans
3 views
How to configure nginx to enable kinda 'file browser' mode?

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...

server-admin Solved
MK
asked 1 month ago by mko
0 votes
1 ans
3 views
Nginx fails to load CSS files

I've recently decided to switch from Apache2 to Nginx. I installed Nginx on my CentOS server and setup a basic configuration. When I tried to load my site...

server-admin Solved
US
asked 1 month ago by user337620
0 votes
1 ans
3 views
How to redirect single URL in Nginx?

I'm in the process of reorganizing URL structure. I need to setup redirect rules for specific URLs - I'm using Nginx. Basically Something like thi...

server-admin Solved
TO
asked 1 month ago by tokmak
0 votes
1 ans
3 views
"configuration file /etc/nginx/nginx.conf test failed": How do I know why this happened?

I'm an nginx noob trying out this [this][1] tutorial on nginx 1.1.19 on ubuntu 12.04. I have [this][2] nginx config file. When I run this command the tes...

server-admin Solved
BE
asked 1 month ago by bernie2436
0 votes
1 ans
3 views
How do I rewrite URLs in a proxy response in NGINX

I'm used to using Apache with mod_proxy_html, and am trying to achieve something similar with NGINX. The specific use case is that I have an admin UI runni...

server-admin Solved
IA
asked 1 month ago by IanG
0 votes
1 ans
3 views
nginx upload client_max_body_size issue

I'm running nginx/ruby-on-rails and I have a simple multipart form to upload files. Everything works fine until I decide to restrict the maximum size of fi...

server-admin Solved
KR
asked 1 month ago by krukid
0 votes
1 ans
3 views
Nginx serve static file and got 403 forbidden

Just want to help somebody out. yes ,you just want to serve static file using nginx, and you got everything right in **nginx.conf**: location /stat...

server-admin Solved
IS
asked 1 month ago by isaacselement
0 votes
1 ans
3 views
Angular app has to clear cache after new deployment

We have an Angular 6 application. It’s served on Nginx. And SSL is on. When we deploy new codes, most of new features work fine but not for some changes. For...

server-admin Solved
ZH
asked 1 month ago by zhangjinzhou