Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [nginx]

nginx (pronounced “engine x”) is a lightweight web server and a reverse proxy server

0
votes
1answer
19 views

Wordpress Permalinks not working in Nginx

I'm moving my wordpress blog from Apache to Nginx. I've tried multiple tutorials to get permalinks working but nothing is working for me. My website structure is like this: main site -> www....
0
votes
0answers
3 views

Nginx does no longer serves index with extension-less php when not using IF

I found this great solution for avoiding if when removing .php -extensions: https://stackoverflow.com/a/43996252/5776626 However; with the configuration I need to specify another block like location =...
2
votes
0answers
34 views

FFMPEG glitches when encoding from mp4 to HLS

For the past two days I am trying to figure out why FFMPEG produces a glitchy video when transcoding h264 mp4 to HLS with xlib264. It happens to every video. The glitch looks like this : 720p MP4 ...
0
votes
1answer
32 views

Apache to Nginx mod_rewrite rule

I converted some mod_rewrite rules for nginx and they were working fine when I tested it locally but for some reason they are not working on my website. Can anyone help where I'm going wrong? Apache ...
0
votes
0answers
9 views

Apache to Nginx PHP error

I'm trying to move my php website from Apache to Nginx. I've configured Nginx to load php files through php-fpm. I tried testing the website on my localhost nginx (Ubuntu 16.04) and got the following ...
0
votes
1answer
21 views

Docker: How does Nginx forward requests to a container without the VIRTUAL_HOST environment variable?

In almost every Nginx related webpage I've visited, it says that if a docker container is to be reachable from the Nginx reverse proxy, then it requires the VIRTUAL_HOST environment variable. However,...
0
votes
0answers
25 views

Cannot access nginx webserver in Docker container from VM

My current setup involves: A host PC running a docker container (Alpine + nginx) A VirtualBox VM (Ubuntu) Docker: Set up a user-defined bridge network (mybridge) Host (Ubuntu): Able to access ...
0
votes
0answers
13 views

Setting up automatic server blocks with nginx for MacOS

I been trying to set up an environment locally on MacOS that allows me to add a new project folder to /var/www/ it will take the project name as the hostname and serve that to port 80 proxied through ...
0
votes
0answers
144 views

Nginx server returns cors error when trying to acess peerserver port on same server, citing cors error

I'm having an issue with a library called peerjs Which worked on my localhost testing server, but had some growing pains working with nginx reverse proxies. Here are some things I did, but I'm still ...
0
votes
0answers
35 views

How can I handle high cpu usage on php7.0-fpm

I have one wordpress site on debian9 system with 64 GB memory and 12 core cpu (i7-8700) + nvme-ssd disk and 1 Gbit network. (https://www.hetzner.com/dedicated-rootserver/ex52-nvme) And mariadb is on ...
0
votes
0answers
34 views

Error while installing lua-nginx-module

I want to install openrestys lua-nginx-module to my Nginx Installation. I tried steps from https://github.com/openresty/lua-nginx-module and https://stackoverflow.com/questions/50357732/adding-lua-...
0
votes
0answers
25 views

NGINX Ingress Controller IP address not reachable

I have set up a NGINX Ingress Controller giving following result when querying with kubectl -n ingress-controller get services nginx-ingress-controller NodePort 10.107.224.151 <none&...
0
votes
0answers
21 views

nginx-ingress controller in minikube

I am trying to use nginx-ingress in minikube on a Ubuntu 18.04. machine. When implementing the .yaml file with ingress: enabled: true annotations: kubernetes.io/ingress.class: nginx ...
0
votes
0answers
19 views

Is it possible to improve 400 requests per second (nginx+laravel+percona)? [closed]

Trouble is 400 req/sec via (nginx+laravel+percona). I want 2000 req/sec on the same hardware, but i dont know how. It`s pet project and I want to make project similar highload. Full architecture ...
0
votes
1answer
15 views

External custom domain to render from an app without change the URI in the address bar of the browser

The following works for any_subdomain.mydomain.com meaning from the app code I can detect the request URI and serve the page accordingly while any_subdomain.mydomain.com stays in the browser address ...

15 30 50 per page