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
-
0
votes0
answers96
viewsphpmyadmin on Nginx
Well, I installed Ubuntu server 16.04 on my local computer, but when I access the phpmyadmin it from error 404. I’m accessing the ip_local/phpmyadmin address Here is my virtual server phpmyadmin:…
-
0
votes0
answers64
viewsBroken image in Laravel 5.6 [Homestead]
I uploaded an image to my application when using php Artisan serves, today I am using the Homestead, when I went to look the application barred my url and does not let be displayed. <img…
-
0
votes1
answer30
viewsHow to run Taiga.io on my computer using Nginx
I’m trying to spin the Taiga. on my computer. All part of backend works normally, but when I try to access the URL exemplo.com, doesn’t work. I’m using:…
-
0
votes1
answer259
viewsIs the Node server the only option to support maximum level of requests in an application?
For an application project you will need to support on the server an immense amount of requests such as a e-commerce on the day of black Friday or the server of a game developer on the first day of…
-
0
votes0
answers40
viewsNGINX - ERR_TOO_MANY_REDIRECTS when rewriting htaccess rules
I am trying to convert some htaccess rules to NGINX and am getting ERR_TOO_MANY_REDIRECTS. The htaccess code is this https://pastebin.com/UwGnNybj Options +FollowSymLinks -MultiViews # Secuirty…
-
0
votes0
answers517
viewsNginx lock|redirect url files
I am creating a url shortener in my subdomain ex: (go.domain.com) to serve as an external reference, example: // a url de uma pagina (extensa)…
-
0
votes1
answer283
viewsCss does not load
I am running several servers using Nginx + nodejs, but css does not load from the following message: Refused to apply style from 'https://konic.com.br/css/style.css' because its MIME type…
-
0
votes1
answer26
viewsRedirects to API’s
Good afternoon devs! My problem is this: I have a desktop application in Delphi that uses some services in a web application. I had to migrate the web application to another host and change the…
-
0
votes1
answer57
viewsDjango application (NGINX and WSGI) consuming only one core, reaching 100% and locking
I have a problem that I have deployed with NGINX and UWSGI on a debian 9 with 24 cores, the application is simply running correctly, but when I upload an excel file the application is using only one…
-
0
votes0
answers11
viewsRedirect Nginx Anonymous/normal tab
I could notice that in my environment, when I use the normal browser, it always forces HTTP redirection to HTTPS and the same does not occur in anonymous mode. I wish I had the same behavior…
nginxasked 4 years, 5 months ago Iohan Hinokuma 9 -
0
votes2
answers1820
viewsHow to configure multiple Nginx on a server?
I need to configure two Nginx servers on a windows server. One of them is responsible for processing the site, and already operating using the default settings of Nginx, what I need, is another…
-
0
votes0
answers205
viewsI use HTTPS and only want an HTTP URL with Nginx
I have a site configured on an Nginx server to force HTTPS to the entire site, but I need only one URL to be in HTTP only keeping the rest of the site in HTTPS. The URL is exactly this:…
-
0
votes2
answers492
viewsI can’t access my Laravel 5 project from Vagrant and Nginx
I’m creating a development environment using the Vagrant with the following dependencies: PHP7; Postgresql 9.3; Nginx 1.9; Git. The problem is that when accessing the url http://advodocs.local.com/…
-
0
votes1
answer259
viewsReceive Firebird Exception message in PHP
My script PHP is not receiving the message from exceptions which are generated by Firebird. I have a class that connects to BD, runs sql and disconnects. Debugging the script, I saw that the…
-
0
votes1
answer766
views404 in Docker NGINX container
Hello fellow developers! I am having a problem with NGINX in which the root of the application is not found, remembering that I need a "mod_rewrite" to make my Urls beautiful. I will leave the NGINX…
-
0
votes1
answer119
viewsBlock a request that contains a certain 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 tried…
nginxasked 7 years, 7 months ago Clayderson Ferreira 1,002 -
0
votes1
answer102
viewsHow to avoid installing Apache when installing php7.1 on Ubuntu 16.04?
I have the following code that installs php7.1 on Ubuntu 16.04: sudo apt-get install -y software-properties-common sudo add-apt-repository -y ppa:ondrej/php sudo apt-get update sudo apt-get install…
-
0
votes1
answer153
viewsRedirect Http to Https - Nginx with Let’s Encrypt
At the moment, the domino https://meudominio.com is working, but I can’t redirect http for https using the Let’s Encrypt. I’m following this tutorial: Link Below is my configuration: server { listen…
-
0
votes0
answers28
viewsI can’t reinstall wordpress
I have a server vhost Nginx called site-responsive.test follows below the configuration server { listen 80; server_name site-responsivo.test; root…
-
0
votes0
answers450
viewsConfigure subdomain on NGINX with Rails
I’m uploading a Ruby on Rails app on Digitalocean, and I need it to stay in a Ubdomain, I’ve already configured DNS and it’s working. the application works in the main domain. But in Ubdomain it…
-
0
votes0
answers180
viewsNginx Not Recognizing Folder Files?
I am working on a Web system and using the Docker with Nginx. Nginx is not recognizing the images that compose the system nor the files that compose the Bootstrap. Below is the default file for…
-
0
votes1
answer48
viewsWhich directory do I put the files from my website to be accessed through the web server running in a Docker container?
I created a Docker container using Docker-Compose The archive Docker-Compose.yml is in the directory /home//Dockerfolder. The file is configured as follows: #### # ATENTION: # Replace all occurences…
-
0
votes1
answer118
viewsDocker name resolution
I am setting up a reverse proxy with Nginx + Docker. I have 02 machines that are in the bridge network. proxy : 172.17.0.2 app : 172.17.0.3 Both containers are configured with name server { listen…
-
0
votes0
answers109
viewsProblem with Static files in Django project deploy on Digitalocean
I deployed a project Python and Django in the Digitalocean, but I’m having trouble with static files Inside my project, in the folder static when typing the command pwd to see the full file path, I…
-
0
votes2
answers337
viewsHow to force HTTP redirect to HTTPS on NGINX
I’m deploying an app made with nuxt.js. For hosting, I’m using the Digital Ocean + Server Pilot. I’m having trouble forcing the redirect of HTTP for HTTPS. Below is the configuration Nginx that I’m…
-
0
votes0
answers141
viewsSpecial characters difference XAMPP and NGINX
Well I am migrating a system that is running in the xampp to the Nginx, only that the special characters in xampp works normal, but in error Nginx, some hint to solve this problem, the php of xampp…
-
0
votes1
answer106
viewsNginx: Angular pages not being loaded
I have a backend application Node.js (Adonis) and frontend (angular). I installed Nginx and set it up this way: #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log…
nginxasked 5 years, 1 month ago veroneseComS 2,752 -
0
votes0
answers12
viewsenable rewrite and modify root folder
Hello connoisseurs of Nginx I would like to enable the rewrite and modify root folder what permission command and how to do this successfully because when accessing download the file instead of…
-
0
votes0
answers55
viewsHow to use environment variables in Nginx with Docker-Compose?
I have the following code snippet in my Nginx configuration file: location /api/ { proxy_pass http://backend:$BACKEND_PORT/; proxy_http_version 1.1; } And I have the following code snippet in my…
-
-1
votes2
answers923
viewsNgnix problem on OS X Mavericks
Nginx: [Alert] could not open error log file: open() "/usr/local/var/log/Nginx/error.log" failed (13: Permission denied) 2014/02/05 14:02:43 [emerg] 20175#0: open()…
nginxasked 11 years, 1 month ago user3324 -
-1
votes1
answer515
viewsConvert Nginx redirect rule to . htaccess
I have the following rule on an Nginx server in production: server { server_name meusite.srv.br; rewrite ^(.*) http://www.meusite.srv.br$1 permanent; } server { server_name www.meusite.srv.br;…
-
-1
votes1
answer542
viewsNginx wildcard DNS, with www, without www and with subdomain
I have an Ngnix server with the following configuration: server { listen 80; server_name .dominio.com.br; root /home/dominio.com.br/public; index index.html index.htm index.php; charset utf-8;…
-
-1
votes2
answers185
viewsThe mbstring is Missing - NGINX PHPMYADMIN PHP 7.0.23 CENTOS 7
how can I fix this error, because I am using php7, and I cannot download this extension. php 7.0.23 Nginx Centos 7…
-
-1
votes1
answer49
viewsBlock other sites from uploading my images
How do I block other domains from uploading my images?
nginxasked 7 years, 1 month ago user3701271 19 -
-1
votes1
answer110
viewsNginx forwarding without proxy
I’m setting up Nginx to receive requests and delegate to a Nodejs server. But there is a url/route that needs to render a static html outside the Nodejs server. Case similar to this: upstream…
-
-1
votes1
answer231
viewsGunicorn is not working as it is giving the following error gunicorn.service: Failed with result 'Exit-code'. error
Good night, I made an attempt to deploy my site in Django language, but without success. The errors that came to me after are presented below. I appreciate all the help, because I’ve done a lot of…
-
-1
votes1
answer43
viewsNgix with multiple angular designs
Hello, I’m starting now to use the NGINX and I’ve already had a problem! I am using an ubundo server to run 3 angular frontends, and then I am using NGINX to resect these projects The setup I’m…
-
-2
votes2
answers413
viewsAlternatives for Rails server and deploy applications
Whenever I make a Rails application I configure my server with Nginx and Passenger, and usually I do deploy via GIT or rsync. I know there are other ways to do deploy and also server configuration.…
-
-2
votes1
answer229
viewsHow to enable Basic Authentication in Nginx for an Angular path?
I have an angular application where I want to protect a specific path with basic HTTP authentication. The application paths are meusite.com.be/#/example-path. The Nginx configuration file looks like…
-
-2
votes1
answer161
viewsConfiguration of NGINX + uWSGI + Django in a multi-tenancy application
I have a single application in Django hosted on AWS. But these days, I turned it into multi-tenancy, using Django-tenant-schemas. Locally, it runs normally. I can create my tenants and access them…
-
-2
votes1
answer41
viewsMultiple instances of Django on one machine
I have a project in Django that works as a web application for use in companies. The company has 4 branches, and we have a server available. The goal is to replicate the 4x project on the same…
-
-3
votes1
answer336
viewsHow to redirect addresses on the internal network by modem?
I would like to know how to redirect local addresses within the internal network through the modem, for example: if someone inside the network accesses the address www.exemplo.com.br should be…
-
-4
votes1
answer37
viewsHelp with installing php 7.0 in Ubuntu as per video tutorial
Following this tutorial video https://www.youtube.com/watch?v=onVSVC_C1GE&t=717s. Already at the beginning of the default change, made the default changes, the default Nginx index should be…