Questions tagged as 'nginx'

0
answers

Page 404 return only with iOS devices

I published an application on www.yoohood.fun, created with the create-react-app, using an AWS server, and when the user signs in with the Facebook account, it is redirected to the / sync folder. But when someone accesses the iphone, whether thr...
asked by 30.08.2017 / 23:25
0
answers

Varnish working only with Curl

Good morning, this is my scenario, I am using laravel 5.3 and Varnish 5, I created a middleware that passes a response with the following Headers X-Cacheable:1 Cache-Control:max-age=300, public No Varnish vcl on vcl_backend_response if (b...
asked by 09.09.2017 / 13:59
0
answers

Ubuntu Server Cache with Nginx

I'm having a Cache issue on my Ngnix Server with Wordpress The site is currently using a PHP WebService and SESSION, WebService brings me the user information and I store it in the session, but the user can change his data, when he updates th...
asked by 19.04.2017 / 17:28
0
answers

FastCGI with C ++ and NGINX

I'm trying to make a small server to study using fastCGI with C ++ without using any library. My problem is that via socket NGINX even connects but does not give me any information about the request, and if I write some callback it generates err...
asked by 09.01.2017 / 02:46
0
answers

Socket.io connects but does not send the emit to the server and vice versa. Nginx and SSL

I'm using Nginx with SSL and this setting for a service to communicate with the node, when I access the address socket.io usually connects to the server but does not receive the emit or send. location ~ ^/(atualizaUltimaPosicao|node|socket\.io...
asked by 14.11.2016 / 12:57
0
answers

www and without www for a folder and any other subdomain for another folder

I have a domain configured in nginx as follows: server { listen 80 default_server; listen [::]:80 default_server; server_name .dominio.com.br ~^(www\.)?(?<domain>.+)$; root /home/dominio.com.br/public; location /...
asked by 06.12.2016 / 03:34
1
answer

Magento with Ubuntu 16.04 + Nginx + MariaDb + php7. Do not load the page.

I have the following environment: Ubuntu16.04 + Nginx + MariaDb + Php7. I downloaded Magento through composer: composer create-project magento/community-edition magento2 -s dev --prefer-dist Then I created a database on the MariaDB serve...
asked by 01.09.2016 / 20:36
1
answer

Configure Nginx for multiple Socket.IO servers

The idea here is to decentralize, do a load balancing . In the following scenario: .1 a website serving multiple subdomains with Nginx .2 two or more servers nodejs running socket.io My need with nodejs i...
asked by 07.09.2016 / 11:22
0
answers

Nginx Imagejpeg

I have this code: function show_image($mime_type, $image_resized) { global $quality; echo $cache_file = get_cache_file($mime_type); switch ($mime_type) { case 'jpg': imagejpeg($image_resized, $cache_file, $quality...
asked by 02.07.2016 / 12:01
0
answers

mkdir php TCPDF ERROR

I have an application that generates a pdf file and saves it to a specific directory. I followed the php ( link ) manual for using this function. I have already given permission as sudo (runs on an ubuntu server with nginx) but I still get th...
asked by 16.04.2016 / 17:10