Most voted "nginx" questions
Nginx ("engine x") is an HTTP server, reverse proxy and email proxy, with a BSD-like license. DO NOT ASK support or NGINX configuration questions - this is outside the scope of the site. You can use for software development questions that are specific to the server in question.
Learn more…143 questions
Sort by count of
-
1
votes1
answer3090
viewsPHP site is downloading
I was trying to configure the serverblocks (vhost) of Nginx, so I deleted the "default" file located in /etc/nginx/sites-enabled/default and created a file with the name of my site, added these…
-
1
votes0
answers164
viewsProblem to configure angulajs in Nginx
I am not able to configure the angulajs in Nginx. I am using a Centos7 linux machine and I would like to configure the angular to be able to learn. Follow the Nginx.html configuration file user…
-
1
votes1
answer241
viewsCreating a custom domain for customers like Icasei does
I created a system that generates a website for the customer, such as ICase. Example: www.meusite.com.br/cliente1 www.meusite.com.br/cliente2 www.meusite.com.br/cliente3 www.meusite.com.br/cliente4…
-
1
votes2
answers897
viewsProblem using CODEIGNITER on Nginx server
My site was hosted at UOLHOST and worked perfectly with the following . htaccess RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond $1…
-
1
votes2
answers1124
viewsHow to rewrite correctly on Nginx?
I’m having trouble setting up Nginx as a reverse proxy in an application. It’s a Rails application that runs on Unicorn. In case, I have the mastery http://www.meudominio.com.br. Instead of creating…
-
1
votes0
answers45
viewsNginx Rewrite router
Good morning guys, there is some way that I can make the rules below without having to keep repeating the root folder, in this case without having to see all write "rewrite /Pw/... /Pw/... last;"…
-
1
votes1
answer1235
viewsNginx files Php
I’m studying about Nginx and it seems to be faster than good old Apache. My doubt is. I have the Nginx already installed and running (with the welcome msg). I created an index.php page and…
-
1
votes0
answers68
viewsUbuntu Server Cache with Nginx
I’m having a Cache problem on my Ngnix Server with Wordpress The site is currently using a PHP Webservice and SESSION, the Webservice brings me the user information and stored in the session, but…
-
1
votes0
answers34
viewsmkdir php TCPDF ERROR
I have an application that generates a pdf file and saves it in a specific directory. I followed the steps of the php manual(http://php.net/manual/en/function.mkdir.php) for use of this function.…
-
1
votes2
answers68
viewsHow to not log actions from a specific IP in Nginx?
I’m getting thousands of connections from this IP on my VPS IP: 51.15.76.184 - - [17 / Dec / 2017: 16: 31: 17 -0200] "CONNECT portal.geniptv.com:8080 HTTP / 1.1" 400 172 "-" "- The connection is…
nginxasked 6 years, 11 months ago Ricardo Wagner Arouxa 11 -
1
votes0
answers29
viewsNginx Imagejpeg
I have that 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,…
-
1
votes1
answer404
viewsConfigure Nginx for multiple Socket.IO servers
The idea here is to decentralize, make a load Balancing. In the following scenario: .1 a website serving multiple subdomains with Nginx .2 two or more servers nodejs spinning socket.io My need with…
-
1
votes0
answers159
viewsNginx Friendly Urls
I’m trying to create a Urlammable on my server, previously I used apache with this htaccess: RewriteEngine ON RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule…
-
1
votes1
answer153
viewsMagento with Ubuntu 16.04 + Nginx+Mariadb+php7. Does 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…
-
1
votes0
answers11
viewsNginx disconnecting two subdominios
Hello, I’m having problems with two subdominios, I checked Tail found this error: 2018/06/15 13:02:11 [error] 13456#13456: *807 connect() to Unix:/var/run/php7.1-fpm-esf.Sock failed (11: Resource…
-
1
votes1
answer314
viewsDocker Container does not start
I’m a beginner in Docker and I’m trying to create a development environment with ngix mysql and php using Laradock, I have in my machine Docker installed, I tried to follow the steps of…
-
1
votes0
answers98
viewsMysql + Bad Gateway Nginx php connections peak
I have at AWS: RDS M5.xlarge Mysql 5.6 EC2 t2.small NGINX + PHP 7.1 Intermittently, my Mysql is getting a peak of connections, 20 to be exact. And every time that happens, "Bad Gateway" appears on…
-
1
votes1
answer54
viewsCan I run ASP.NET on Nginx without Kestrel?
Is it possible to host my ASP.NET site directly on Nginx, just like PHP would? No need to use Kestrel and Nginx just as one proxy reverse.
-
1
votes0
answers15
viewsHow to use Nginx to lock all files that have a specific name?
My server has been infested by a backdoor that has a specific name for the files. I’m removing the files, but the server is a little long and it takes to delete everything that was found. Until…
-
1
votes0
answers101
viewsSocket.io connects but does not send Emit to the server and vice versa. Nginx and SSL
I am using Nginx with SSL and this setting for a service to communicate with Node, when I access the address the socket.io normally connects with the server but does not receive Emit or send.…
-
1
votes0
answers215
viewswww 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…
-
1
votes0
answers168
viewsFastcgi with C++ and NGINX
I am trying to make a small server for 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…
-
1
votes0
answers32
views404 page return only with iOS devices
I published an app on www.yoohood.fun, created with the create-React-app, using an AWS server, and when the user accesses with the Facebook account, it is redirected to the /Sync folder. However,…
-
1
votes0
answers25
views -
1
votes1
answer130
viewsNGINX proxy_pass application for root site
Good afternoon Personal, I have a server with Docker swarm running on production, where my Nginx is playing the role of reverse proxy for Microservices. Everything is working perfectly, but I always…
-
1
votes0
answers221
viewsCSS and JS of the Laravel project does not work on NGINX
configuration /etc/Nginx/sites-avaliable/default server { listen 80 default_server; listen [::]:80 default_server; root /var/www/html/; index index.php index.html index.htm index.nginx-debian.html;…
-
1
votes0
answers867
viewsNginx does not start
I’m doing some tests with Nginx and I’m trying to error below when I try to start, how do I fix it? systemctl start nginx Job for nginx.service failed because the control process exited with error…
-
1
votes1
answer1211
viewsAccess files outside the project root folder (Web Development)
I’m working on a web system using Docker with Nginx. And I am not being able to access files that are not in the root folder of the project, if possible I would like to understand what is happening…
-
1
votes0
answers26
viewsSlow nginx to register all services in the swarm Docker
I have a stack with Docker-swarm with about 80 containers that when I need to recreate the whole takes more than an hour to go up completely because NGINX keeps giving alerts and trying to make the…
nginxasked 5 years, 6 months ago rodrigbuch 11 -
1
votes1
answer189
viewsProblem with routes
When trying to access konic.com.br the site is loaded normally, but when I enter another route that in the case of konic.com.br/contact it returns 404 app js.: const express = require("express");…
-
1
votes0
answers77
viewsError installing Nginx on Docker
When I install Nginx on Docker, the error below occurs and Nginx does not start. I was not having this problem before. You’ve been through it? Follow below the procedure I follow: Versão do S.O…
-
1
votes0
answers120
viewsInternal Server Error 500 (Nginx) when I try to generate PDF by Weasyprint
Good morning, you guys. I have a problem in my application and I tried everything and I could not solve. I decided to generate dynamic PDF in my application and for this I used the Weasyprint…
nginx django-templates django-2.0 django-admin internal-server-errorasked 5 years, 4 months ago Alison Andrade 52 -
1
votes0
answers131
viewsError trying to restart NGINX in Terminal Service for installing SSL Let’s Encrypt
I’m trying to accomplish this step by step how-to-Secure-Nginx-with-Let-s-Encrypt-on-Ubuntu-16-04 For the purpose of installing a free ssl certificate Let’s Encrypt My problem: I can’t reset the…
nginxasked 5 years, 4 months ago Andrews Gomes 458 -
1
votes0
answers37
viewsWhat is the difference between HTTP server and HTTPS considering my structure?
I have a js Rest Node application running behind a proxy Reverse by Nginx, with https properly configured, where the server is configured as follows: Obs: app is my router. const httpServer =…
-
1
votes1
answer299
viewschange root directory Nginx
goal: change the default root directory. below I will demonstrate the current settings configured in order for someone to possibly understand and tell me what is wrong, missing... observation that I…
-
1
votes1
answer74
viewsCors error in application dotnet core + React web app
I have an application problem that when I send files via POST and the image is larger in Mb Cors error occurs, images of a few kb work normally. Dotnet core api In the api I already added Cors and…
-
0
votes1
answer223
viewsRequest timeout with Nginx, Unicorn and Rails
I have an application in Rails that runs with Unicorn in production. Some calls take a long time to process. I set the server to increase the timeout, so that the server does not respond with error.…
-
0
votes0
answers596
viewsError 500 (Internal Server Error) while uploading
While trying to upload a txt file, I am receiving the erro 500. I gave one # chmod -R 777 import to release all permissions. ls -l from the folder where I am trying to save the file: drwxrwxrwx 2…
-
0
votes2
answers312
viewsApache results in Unavailable Service after installing Nginx and hhvm
I installed the Nginx and the HHVM to test the language Hack. Everything perfect, I can program in Hack and PHP using that set. However, in giving stop in the Nginx and HHVM and start in the Apache…
-
0
votes0
answers65
viewsNginx welcome screen does not appear
Good afternoon. I just installed a new server (Ubuntu 14.04), installed the standard version (1.4.8) of Nginx and unfortunately the welcome screen does not appear. In sequence, a screen appears…
-
0
votes1
answer1125
views'Web application could not be Started', Why?
I am passing my project to the server. I am using Nginx. And it is all installed now, because when I go to my initial address it shows me: Welcome to nginx! If you see this page, the nginx web…
-
0
votes1
answer151
viewshtacces for Nginx
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?url=$1 Options -Indexes I need to convert that rule into htaccess for nginx…
-
0
votes1
answer63
viewsWhat is the best way to do a live stream that works on all browsers?
I have done in the past systems in RTMP with Wowza to make live broadcasts, but I used a flash player. Now I need to stream again, but I don’t want to use flash, I want to use the HTML5 video tag…
-
0
votes1
answer520
viewsProblem with Nginx configuration
Hail personal, I’m having trouble with this setup: local do arquivo: /etc/nginx/conf.d/virtual.conf # # A virtual host using mix of IP-, name-, and port-based configuration # server { listen 80; #…
-
0
votes0
answers673
views -
0
votes1
answer120
viewsWhile saving file in server folder keeps asking root access
I searched about my problem and only found solutions for host ( none presented applicable to the local server ), does anyone know how I disable this stop ask for the root password every time I save…
-
0
votes1
answer281
viewsrequest.post() does not work properly generating a 301 redirect on Nginx
I have a problem when I use request.post('url', data), for some reason when the server receives this request, it redirects (301) the request to the same url losing the POST data, ending as a GET…
-
0
votes0
answers57
viewsNginx configuration data type
Is there a specific name for 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…
-
0
votes0
answers37
viewsI bought a website but I don’t know how to install it. [Nginx, Laravel, linux]
the site is Laravel Nginx, if it were apache I would even know. that is written, but does not say the commands I have to give in vps to install this and tals:…
-
0
votes1
answer172
viewsSettings Instance Tomcat / Nginx java sprintg
I need to configure a new instance of Tomcat to host a new application and in parallel configure Nginx to do the reverse proxy. The application is developed in java Spring. The application is two…