LMSouq

Knowledge Base

Browse Moodle Solutions

2108 solutions found

Page 3 of 106
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
Redirecting EC2 Elastic Load Balancer from HTTP to HTTPS

I want to redirect all the HTTP request to https request on [ELB][1]. I have two EC2 instances. I am using nginx for the server. I have tried a rewriting the ng...

general-dev Solved
AM
asked 1 month ago by Amit Badheka
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
0 votes
1 ans
3 views
Tuning nginx worker_process to obtain 100k hits per min

We have a server that is serving one html file. Right now the server has 2 CPUs and 2GB of ram. From blitz.io, we are getting about 12k connections per minut...

server-admin Solved
AB
asked 1 month ago by ablemike
0 votes
1 ans
3 views
nginx - read custom header from upstream server

I am using nginx as a reverse proxy and trying to read a custom header from the response of an upstream server (Apache) without success. The Apache response is...

server-admin Solved
LU
asked 1 month ago by luis
0 votes
1 ans
3 views
dump conf from running nginx process

Is it possible to get which conf the nginx is using only from a running nginx process? To get the conf file path. sometimes `ps aux` reveal it, sometimes it...

server-admin Solved
ES
asked 1 month ago by est
0 votes
1 ans
3 views
Guide on how to use regex in Nginx location block section?

**Nginx regex location syntaxe** Regex expressions can be used with Nginx location block section, this is implemented with the PCRE engine. What does exac...

server-admin Solved
IN
asked 1 month ago by intika
0 votes
1 ans
3 views
What does "trust proxy" actually do in express.js, and do I need to use it?

I am writing an express app that sits behind an nginx server. I was reading through express's documentation and it mentioned the 'trust proxy' sett...

general-dev Solved
JO
asked 1 month ago by joeycozza
0 votes
1 ans
3 views
How to preserve request url with nginx proxy_pass

I was trying to use [Thin][1] app server and had one issue. When nginx [proxies][2] the request to Thin (or Unicorn) using `proxy_pass http://my_app_upstream...

server-admin Solved
DM
asked 1 month ago by Dmytrii Nagirniak
0 votes
1 ans
3 views
Docker Network Nginx Resolver

I am trying to get rid of deprecated Docker links in my configuration. What's left is getting rid of those `Bad Gateway` nginx reverse proxy errors when I r...

server-admin Solved
BL
asked 1 month ago by blacklabelops
0 votes
1 ans
3 views
Nginx causes 301 redirect if there's no trailing slash

I'm running nginx in a Virtual Machine using NAT and I'm having redirection issues when I access it from the host machine. ### Works as expected - `...

server-admin Solved
TH
asked 1 month ago by That Brazilian Guy
0 votes
1 ans
3 views
Why do HTTP servers forbid underscores in HTTP header names

I had a problem with a custom HTTP `SESSION_ID` header not being transfered by nginx proxy. I was told that underscores are prohibited according to the HTTP...

server-admin Solved
WH
asked 1 month ago by white
0 votes
1 ans
4 views
How to fix "mbind: Operation not permitted" in mysql error log

I have a problem with my MySQL error log which currently mostly consists of "mbind: Operation not permitted" lines (see below). Why does it happen and...

database Solved
GA
asked 1 month ago by gamaverse
0 votes
1 ans
3 views
What are the benefits of using Nginx in front of a webserver for Go?

I am writing some webservices returning JSON data, which have lots of users. What are the benefits of using Nginx in front my server compared to just using t...

server-admin Solved
DA
asked 1 month ago by Daniele B
0 votes
1 ans
3 views
Use nginx to serve static files from subdirectories of a given directory

I have several sets of static `.html` files on my server, and I would like use nginx to serve them directly. For example, nginx should serve an URI of the follo...

server-admin Solved
ML
asked 1 month ago by MLister