Questions tagged [nginx]

Questions relating to Nginx, an open source Web Server and reverse proxy server.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

Deploying Django Application on Linux Server with Plesk

Please note: I have no previous experience deploying web applications on a server, and this is my first time. I have a Ubuntu 20.04 server with a Plesk and I am trying to deploy a Django app. I have ...
0
votes
1answer
37 views

php-fpm /status file not found

OS: Ubuntu 20.04.2 Webserver: Nginx 1.18.0 PHP: 8.0.5 I wanted to activate the /status page for PHP-FPM and tried the following: In /etc/php/8.0/fpm/pool.d/, I added the line pm.status_path = /...
0
votes
0answers
10 views

Efficient way of blocking / denying nginx connections via IP

I would like to filter several different endpoints by IP using nginx. My current solution is to cut and paste the following code for each endpoint: location /api0 { allow 123.45.67.89; ...
0
votes
0answers
28 views

Why subdomain is not working in Ubuntu nginx server?

There a running Laravel application in the root folder of my ubuntu nginx server. Now i am trying to create a subdomain and run another Laravel application there. For instance, findosman.xyz (root, ...
-1
votes
0answers
12 views

Why can I access my nginx directory on my local machine only?

I'm trying to figure out why I can access my Nginx reverse proxy page on my local machine but not on devices like my iPhone?? Anyone know?
0
votes
0answers
16 views

(NGINX) How do I run different websites on the same public ip address on different ports without a domain?

[NGINX] How do I run different websites on the same public IP address on different ports without a domain? I just want my website to be accessible by the public IP address and port. Ive done a lot of ...
0
votes
1answer
36 views

multiple domains on one sever using nginx

I want to run multi websites on one servis, the problem is both domains redirect to domain1 domain1.com.conf server { listen 80; listen [::]:80; root /var/www/domain1; ...
0
votes
0answers
50 views

Cannot curl into a port

I have geth node (ethereum node) on a raspberry pi running ubuntu server 20.10 Unfortunatly I cannot access it through and other computer of the network, it will only work inside localhost. So I've ...
-1
votes
1answer
49 views

nginx hangs if “reload” 2 times

If you execute "service nginx reload" 2 times (this also works with any commands that execute "reload", for example systemctl reload nginx.service) - nginx hangs and stops ...
0
votes
3answers
56 views

Not having write access for my FTP User for my Wordpress / nginx / ubuntu with SSH

I deployed a wordpress site on Ubuntu 20.04 using Nginx. First I did: sudo chown -R www-data:www-data . Which solved issue I had when uploading plugin. But now, when I connect FTP with my SSH key, ...
0
votes
0answers
92 views

Unattended Nginx install fails with 400 Bad Request errors, but command line install is fine. 20.04

I am trying to put together a Vagrant & VirtualBox VM that uses provisioning scripts to perform unattended installations of all needed software after the initial vagrant up. This is something I've ...
0
votes
0answers
32 views

Django Gunicorn got error Request Line is too large

I'm just a new to it. I've been trying to deploy a Django Project on Digitalocean, It worked fine except there was one url that thrown an error: Request Line is too large (4583 > 4094) As I know ...
0
votes
0answers
15 views

Enable WordPress auto updates with www-data and SFTP uploads with sudo user simultanously

How can I make WordPress auto updates possible and also WP uploads, plugin updates etc, at the same time as SFTP uploads also shall work with my sudo user? With below commands I still get file access ...
0
votes
0answers
13 views

understanding Nginx configuration and Drupal installation locally

I am very new to Linux (Ubuntu) for web development. From the last few days I have been confronted with errors in the process of installing Drupal 8 and Drupal 9 on Ubuntu 18.04 local host. Installed ...
0
votes
0answers
14 views

Ubuntu local vm setup https on gitlab

I am a vm on my machine. I currently have it hosting gitlab ce. I have it with a dns name I tried using let's encrypt to create a certificate for my dns name but when I add it to my gitlab ...
1
vote
0answers
71 views

Renew Let's encrypt certificate automatically without stopping nginx hosted on docker

I am using nginx as proxy and SSL termination for the site hosted on docker. App & nginx both are on docker. I have installed Let's encrypt SSL using Certbot directly on Ubuntu server. And now ...
0
votes
0answers
37 views

Secure wp-login.php in wordpress using the nginx configuration file

I want to block URL access to wp-admin and wp-login.php using Nginx webserver. To achieve this, I have edited the server block that is located in /etc/nginx/sites-available/domain.com because I have ...
0
votes
0answers
29 views

Secure wp-login.php in wordpress using ModSecurity with Nginx on Ubuntu 20.04

I am trying to restrict access to WordPress login page to specific IPs with libModSecurity3. I have my WordPress running on ubuntu 20.4, Nginx version 1.19.7. I have installed and setup LibModSecurity ...
0
votes
0answers
22 views

Multiple host names on vServer

I'm using two nginx files - one for the vue frontend and one for the nginx backend (proxy_pass). The current spcecified host name in /etc/hosts which I'm using in the nginx vue config. Like: ...
0
votes
1answer
40 views

Phpmyadmin not found, when running laravel application

I installed phpmyadmin on my vps Ubuntu 20.04.1 LTS with nginx/1.18.0 (Ubuntu). I created a symbolic link: sudo ln -s /usr/share/phpmyadmin /var/www/html/phpmyadmin Furthermore, I tried to secure my ...
0
votes
0answers
27 views

Ubuntu 18.04 LTS Desktop: failed - Nginx server installation and configuration

i am new to Linux, using below guide lines to use reverse proxy (as other guide required it), but when issuing command for certbot as below, it is showing error, the contents of what it resulted on ...
0
votes
0answers
33 views

Digital Ocean droplet configuration problems

I am trying to configure a new Digital Ocean droplet instance, following this tutorial step by step, but when I try to install Passenger with NGINX using this command: sudo apt-get install nginx-...
0
votes
0answers
57 views

Multiple Domains , Multiple users on one sever with nginx Ubuntu 20.04

I am trying to setup nginx to server multiple WordPress websites using my primary domain as well as subdomains, with root files located on individual user home directories running Ubuntu 20.04. I have ...
0
votes
1answer
66 views

SSL Certificate with Nginx and Apache

I have an Ubuntu 20.04 server running with Apache and Nginx. I want to add an SSL certificate using Certbot but I don't know how to proceed. My project consists of a django api and a Vue js frontend. ...
0
votes
1answer
41 views

How to redirect a subdomain to main domain - NGINX Ubuntu

I really don't know anything about this, so here I go. I need to redirect play.example.net to www.example.net on the browser. the "play" subdomain is used for a game. But www.example.com is ...
1
vote
0answers
55 views

Phusion Passenger: Cannot create a subdirectory inside instance registry directory /tmp

I'm currently deployed a Rails 6 application to an EC2 instance on Ubuntu 20.04. I deployed the Rails application using Phusion Passenger and Nginx. I get the following error when I try to access the ...
0
votes
0answers
15 views

Simplest way to install Drupal 8.8.x-dev on Ubuntu 18.04

What is the simplest way to install Drupal 8.8.-dev on Ubuntu 18.04 with LEMP - nginx/1.14.0 (Ubuntu), mysql Ver 14.14 Distrib 5.7.32, for Linux (x86_64), PHP 7.2.24-0ubuntu0.18.04.7 phpmyadmin Does ...
0
votes
0answers
218 views

The following packages have unmet dependencies: php7.4 +ubuntu 20.04

I upgraded Ubuntu from 18 to 20.04. After upgrade, my codeignator is not working. Type: Error Message: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND' Filename: /var/www/tech/system/database/...
0
votes
0answers
45 views

Drupal 8 installation failed with lemp on ubuntu 18.04

I am a novice on web development so perhaps reading this question will be wastage of time. My IDE on ubuntu 18.04 includes - nginx/1.14.0 (Ubuntu), mysql Ver 14.14 Distrib 5.7.32, for Linux (x86_64),...
0
votes
1answer
444 views

Apache mod_geoip module not Working on Ubuntu 20.04

I have Installed Apache mod_geoip module on Ubuntu 20.04 sudo apt-get install libapache2-mod-geoip and edited file: /etc/apache2/mods-enabled/geoip.conf to enable: GeoIPEnable On GeoIPDBFile /usr/...
1
vote
0answers
36 views

Migrating system to another VPS

I am new to Ubuntu. Is there any management software that would save some sort of system image that I may copy to a new VPS if needed? I have a DigitalOcean droplet with Ubuntu, nginx, php-fpm, redis ...
1
vote
1answer
69 views

Route Multiple APIs with same Domain Name Nginx 404

I've got a requirement to a setup SSL on port 8080 with allowing user to acces multiple APIs developed and deployed on same server via https, So I'm using NGINX to develop this SSL + Routing ...
0
votes
0answers
386 views

How to remove php-fpm from Apache in Ubuntu 20.04

How to remove php-fpm from Ubuntu 20.04? And how to configure Apache and nginx to only use PHP? I have removed php-fpm with the following command: apt-get autoremove php- but I can't use php with ...
0
votes
0answers
22 views

nginx is not reading my file inside a certain directory

I am deploying an app with php front end built with code igniter. I am using Ubuntu 18 , nginx , php fpm fcgi to serve my php files. The main issue is that I am setting the root as my project's ...
1
vote
0answers
36 views

How to set rate limit for specific queries in php with nginx

I have a php file called "sample.php". This file contains query_string in several different ways. Some innocent users use these query_strings at maybe 100 requests per minute (no problem). ...
0
votes
0answers
15 views

Push to another server based on incoming url

Playing around with nginx and wanted to know if there was a way to take an incoming RTMP stream and redirect it to another server based on the URL used. For example: rtmp://Ingress.foo.com/live/<...
1
vote
0answers
34 views

MySQL not running

I recently upgraded my Ubuntu server to the latest version, and when I tried to access my website I got this error: Flarum encountered a boot error (Doctrine\DBAL\Driver\PDOException) SQLSTATE[HY000] [...
0
votes
1answer
229 views

nginx.conf and php issues after Upgrade to

I just upgraded my ubunut server on AWS to Ubuntu 20.04.1 LT from Ubuntu 16.x I had some issues upgrading at first, but I was able to move past those. Once I upgraded though I could not get nginx to ...
0
votes
1answer
845 views

How to resolve nginx failure to restart after updating configuration files

I am having issues restarting nginx restart. I'm very new to ubuntu and nginix. I am trying to change the configuration of nginx.conf and default.conf(newly created). My main goal is to deploy my MERN ...
0
votes
1answer
139 views

Ubuntu 20.10 and NGINX debug

I found something that said that the version of nginx that comes with Ubuntu (and this was old) already had debugging enabled, but I'm on Ubuntu 20.10 and can't seem to figure out how to turn it on. I ...
0
votes
0answers
55 views

How to run multiple environments inside 1 Ubuntu Server?

I have an ubuntu server. Inside this ubuntu server. I'm running a frontend, backend and a mongodb. I have mapped everything with nginx in the server so I can visit the right domain frontend.develop....
0
votes
0answers
114 views

How to serve static content with nginx?

To better understand nginx and docker usage I've installed nginx from apt and it runs fine as: nicholas@mordor:~$ nicholas@mordor:~$ cat /usr/share/nginx/html/index.html hello world from: /usr/...
0
votes
0answers
384 views

Unable to install nginx on machine ubuntu 20. Error with nginx-core and other related packages

I'm trying to install nginx with sudo apt install nginx but I keep getting the following error: Package nginx-full is not installed. Package nginx-light is not installed. Package nginx-extras is ...
0
votes
0answers
133 views

Wrong display memory usage by htop command

I use WordPress and Nginx in Ubuntu 20.04. I have a VPS with 2 cores and 4GB RAM, but the RAM has always been showing in htop under 1GB, but in my control panel I could see the RAM usage after about ...
1
vote
0answers
63 views

Turning Ubuntu 18.04 Server into the Most Efficiently Wordpress Hosting Server (architecture)

Dear advanced programmers, Till now I have been using a Linux (3 core, NVME, Ubuntu 20.04) Ubuntu VPS Server to host just 5 WordPress websites, using Apache2, MySQL, PHP, certbot (doing option 2 HTTP-&...
1
vote
1answer
237 views

Where do you get the latest nginx-extras? 1.16.1 is old?

Where do you get the latest nginx-extras? 1.16.1 is old?! What I have (on Ubuntu 18.04): /etc/apt/sources.list.d/nginx-ubuntu-stable-bionic.list deb http://ppa.launchpad.net/nginx/stable/ubuntu bionic ...
0
votes
0answers
34 views

Unable to connect with Port 80, 443 after I reboot my Ubuntu Server

I have a strange problem with my server. After rebooting the server I am not able to access my web pages on Port 80 and 443 from a remote machine. I can browse the index page on localhost but when I ...
1
vote
0answers
738 views

502 Bad Gateway nginx/1.10.3 (Ubuntu)

I am using postal as my SMTP for my email marketing campaign. I am currently using Putty open-source terminal emulator and winSCP basic file manager and file synchronization to put my project ...
0
votes
1answer
237 views

ufw delete allow 'Nginx HTTP': Could not delete non-existent rule, but it does exist

I have successfully set up nginx using these instructions, but one part has never worked for me, and that bothers me even though it does not seem to cause an problems. root@devtest:/home/dev-admin# ...
0
votes
0answers
160 views

NGINX NOT properly set up with iRedMail installation - 502 bad gateway error

OS: Linux Ubuntu 20.04 Web server: NGINX Database: MariaDB The installer ran on the command line I have already made the necessary configuration prior to the installation: Set DNS records (A & ...

1
2 3 4 5
17