Questions tagged as 'nginx'

1
answer

Symfony make a call to a controller (REST API)

Good, I have an environment with symfony3 installed and my intention is to make an api rest, use as web server NGINX and as a proxy reverse apache, that is to say in port 80 I have NGINX and in port 8080 Apache. I have developed a test projec...
asked by 17.11.2017 / 13:27
2
answers

Users access sessions of other users

Good evening, I tell you my problem. I have an app developed in PHP with Codeigniter running on a web hosting in Wiroos. Everything was working correctly, but as time passed, the application was having more users who access simultaneously (obvio...
asked by 10.11.2017 / 03:21
1
answer

HTTP2 in Nginx as a proxy (proxy_pass + upstream)

I have several Nginx servers that proxy to other servers while converting the connection to HTTPS. The problem is that the connection between these servers and the client is made through http / 1.1 and even though I look and try I can not make i...
asked by 07.11.2017 / 11:38
1
answer

Nginx differences when compiled manually

Good morning, You see I'm used to installing Nginx automatically ( apt-get install nginx ), but this time I had to compile it and configure it from its source, to add a module that does not come by default, and I found which is different from th...
asked by 30.08.2017 / 22:07
0
answers

How to create a WebSocket connection in Flask without port

I am completely new to Flask and Nginx, apart from this I am trying to use WebSocket and I need to do data transmission through a web page, but without having to specify the port, nor be running it in a virtual environment. I have an Ubuntu s...
asked by 12.05.2017 / 06:41
1
answer

Logs in nginx, blank are created but not updated

I am going crazy, the logs have stopped working, I have created them again, I have the subdomains with the logs enabled, I have reviewed the top-down configuration of nginx and it does not work, only one log works. created that puts error.log in...
asked by 26.05.2017 / 12:54
0
answers

Solve error 502 Bad Gateway in NGINX

Good morning How can I solve the following error in NGINX    502 Bad Gateway The following appears in the logs:    [error] 15839 # 0: * 3615 recv () failed (104: Connection reset by peer)   while reading response header from upstr...
asked by 10.03.2017 / 22:57
0
answers

Scale application nodejs in Digitalocean

I try to do the following: I have 1 form with some fields, this can upload files (photos, documents, etc.) It is simple, and this is then displayed in a list of files in another view with a short description. When I did it using a single node as...
asked by 03.01.2017 / 09:25
1
answer

Change directory in python

I need to change directory to execute a command, looking for several alternatives but none works, in all I get "No such file or directory". I run the script on a server, from nginx. The script that I run is in / var / www / folder1 / test, and t...
asked by 24.01.2018 / 23:57
2
answers

Enable report of errors of any kind - PHP

I tried to place the following pieces in my PHP code: error_reporting(E_ALL) ini_set('error_reporting', 1); There is definitely no solution. What I simply want to show is, literally, any type of error either its level /...
asked by 22.08.2017 / 23:00