Questions tagged as 'nginx'

1
answer

Block request containing a given element in the header using Nginx

Hello, Let's assume that a request has the HTTP_CF_CONNECTING_IP element in the header. This element is included by CloudFlare. How do I block all requests that have this element in Nginx? I've tried the following: server { listen...
asked by 28.08.2017 / 03:17
1
answer

404 in container Docker NGINX

Hello developer friends! I'm having a problem with NGINX where the application root is not found, reminding me that I need a "mod_rewrite" to make my URLs beautiful. I'll leave the NGINX settings and docker-compose.yml. Vlw: metal: site...
asked by 25.07.2017 / 15:40
0
answers

I bought a site but I do not know how to install it. [nginx, laravel, linux]

The site is nginx laravel, if it were apache I would even know it. This is written, but does not say the commands I have to give in vps to install this and tals:     
asked by 19.07.2017 / 00:45
0
answers

Configuration data type of nginx

Is there any specific name of the data format used by nginx? For example: upstream app1_upstream { server app1:80; } server { listen 80; server_name app1.example.com; location / { proxy_pass http://app1_upstream; }...
asked by 11.07.2017 / 23:31
0
answers

I use HTTPS and I only want a URL with HTTP with Nginx

I have a site set up on an Nginx server to force HTTPS for the whole site, but I need only one URL to be in HTTP only keeping the rest of the site on HTTPS. The URL is exactly this:    link I want it to be forced to stay in HTTP only...
asked by 28.11.2016 / 23:32
0
answers

Nginx block | redirect url files

I'm creating a url shortener in my ex-subdomain (go.domain.com) to serve as an external reference, eg // a url de uma pagina (extensa) www.domain.com/user-2124532544454343dgfs-pages-artes-31234124141241241212xxxx // ficaria assim: go.domain.c...
asked by 18.09.2016 / 20:24
1
answer

What is the best way to make live streaming work in all browsers?

I've done RTMP systems in the past with Wowza to make live broadcasts, but I used a flash player. Now I need to make broadcasts again, but I do not want to use flash, I want to use the HTML5 video tag and I want it to work in all popular brow...
asked by 10.10.2016 / 15:56
0
answers

Nginx welcome screen does not appear

Good afternoon. I just installed a new server (Ubuntu 14.04), I installed the default version (1.4.8) of Nginx and unfortunately the welcome screen does not appear. Following is a screen saying that this site could not be reached. I got to do...
asked by 25.07.2016 / 17:11
0
answers

Error 404 Not Found (nginx)

I have a blog and a few days ago started to give the following error in some pages. 404 Not Found nginx/1.6.2 (Ubuntu) The error log is returning: 2016/02/02 10:44:12 [error] 612#0: *553172 connect() to unix:/var/ru...
asked by 04.02.2016 / 15:04
0
answers

Update PHP 5.5 Amazon Linux AMI

I have an Amazon Linux instance running PHP 5.3 and wanted to upgrade to PHP 5.5 The command used in the installation was: yum install -y nginx php-fpm; yum install -y php-devel php-mysql php-pdo php-pear php-mbstring php-cli php-odbc php-i...
asked by 30.10.2015 / 19:07