LMSouq

Knowledge Base

Browse Moodle Solutions

Clear

419 solutions found in server-admin

Page 20 of 21
0 votes
1 ans
3 views
How to redirect to a different domain using Nginx?

How can I redirect `mydomain.example` and any subdomain `*.mydomain.example` to `www.adifferentdomain.example` using Nginx?

server-admin Solved
DE
asked 1 month ago by deb
0 votes
1 ans
3 views
Nginx: stat() failed (13: permission denied)

I am using the default config while adding the specific directory with nginx installed on my ubuntu 12.04 machine. server { #listen 80; #...

server-admin Solved
US
asked 1 month ago by user299709
0 votes
1 ans
3 views
How to run Nginx within a Docker container without halting?

I have Nginx installed on a Docker container, and am trying to run it like this: docker run -i -t -p 80:80 mydockerimage /usr/sbin/nginx The problem i...

server-admin Solved
SE
asked 1 month ago by Seldo
0 votes
1 ans
3 views
Locate the nginx.conf file my nginx is actually using

Working on a client's server where there are two different versions of nginx installed. I think one of them was installed with the brew package manager (its...

server-admin Solved
RG
asked 1 month ago by rgb
0 votes
1 ans
3 views
nginx: [emerg] could not build the server_names_hash, you should increase server_names_hash_bucket_size

I'm in the process of setting up a new server. The web server of my choice is NGINX. I want to add the domain (e.g. `example.com`) as a virtual host. I alre...

server-admin Solved
OE
asked 1 month ago by oengelha
0 votes
1 ans
3 views
How do I prevent a Gateway Timeout with FastCGI on Nginx

I am running Django, FastCGI, and Nginx. I am creating an api of sorts that where someone can send some data via XML which I will process and then return some...

server-admin Solved
SH
asked 1 month ago by sheats
0 votes
1 ans
3 views
How can I tell if my server is serving GZipped content?

I have a webapp on a NGinx server. I set `gzip on` in the conf file and now I'm trying to see if it works. YSlow says it's not, but 5 out of 6 websites...

server-admin Solved
JO
asked 1 month ago by Johnny
0 votes
1 ans
3 views
Nginx 403 forbidden for all files

I have nginx installed with PHP-FPM on a CentOS 5 box, but am struggling to get it to serve any of my files - whether PHP or not. Nginx is running as www-dat...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
Nginx serves .php files as downloads, instead of executing them

I am installing a website in a droplet (Digital Ocean). I have an issue for install NGINX with PHP properly. I did a tutorial https://www.digitalocean.com/commu...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
Docker - How can run the psql command in the postgres container?

I would like to use the psql in the postgres image in order to run some queries on the database. But unfortunately when I attach to the postgres container, I g...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
nginx showing blank PHP pages

I have setup an nginx server with php5-fpm. When I try to load the site I get a blank page with no errors. Html pages are served fine but not php. I tried tu...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
Import data.sql MySQL Docker Container

If I have a data.sql, how I can import database to my mysql docker container? How I can import database data. In a dockerised world this adds a layer of complex...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
E: Package 'mysql-client' has no installation candidate in php-fpm image build using docker compose

Im fairly new to docker and so im trying to learn more about it using a laravel project, im following this tutorial: https://www.digitalocean.com/community/t...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
Docker Networking - nginx: [emerg] host not found in upstream

I have recently started migrating to Docker 1.9 and Docker-Compose 1.5's networking features to replace using links. So far with links there were no prob...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
How to correctly link php-fpm and Nginx Docker containers?

I am trying to link 2 separate containers: - [nginx:latest](https://registry.hub.docker.com/_/nginx/) - [php:fpm](https://registry.hub.docker.com/_/php/)...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
How to install PHP composer inside a docker container

I try to work out a way to create a dev environment using docker and laravel. I have the following dockerfile: FROM php:7.1.3-fpm RUN...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
How to install php-redis extension using the official PHP Docker image approach?

I want to build my PHP-FPM image with `php-redis` extension based on the [official PHP Docker image](https://registry.hub.docker.com/_/php/), for example, using...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
Difference between global maxconn and server maxconn haproxy

I have a question about my haproxy config: #--------------------------------------------------------------------- # Global settings #----------...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
PHP-FPM and Nginx: 502 Bad Gateway

**Configuration** - Ubuntu Server 11.10 64 bit - Amazon AWS, Ec2, hosted on the cloud - t1.micro instance Before I write anything else, I'd like t...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
Apache 2.4.6 on Ubuntu Server: Client denied by server configuration (PHP FPM) [While loading PHP file]

Today I was updated [Ubuntu server 13.04][1] (Raring Ringtail) → [13.10][2] (Saucy Salamander). And my Apache 2 installation is broken. Here my configurat...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI