Questions tagged [nginx]

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

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

wsl + ubuntu 20.04 access to the project loading page slow

The project environment is ubuntu 20.04 (PHP8.1 + nginx + mysql5.7 + laravel10)! The project is runs, and found that each page load time is more than 3 seconds, I've seen some people say that adding ...
Mr. wu's user avatar
  • 1
-3 votes
0 answers
21 views

DDNS DuckDNS For Static IP Address Issue

I've built a web server with my pi using the LEMP stack server (Nginx as my main web server), and I already have my own domain at Godaddy. I'm just wondering if I need to add any additional DNS ...
Aaron Catolico's user avatar
0 votes
0 answers
13 views

iRedMail made mail page default

I have installed iRedMail on my machine that is running Ubuntu server. I also have a website running on nginx. But for some reason after installation of iRedMail the mail control panel (SOGo to be ...
Ferius's user avatar
  • 1
0 votes
0 answers
8 views

I can't deploy node js app to Ubuntu server

I had developed WebRTC real-time video conferencing app (N:1, N:N) and currently I am trying to deploy it to server. But I can't set up Nginx successfully. I used PM2 and I can't remove port number in ...
angel sky's user avatar
0 votes
0 answers
30 views

Ubuntu & NGINX Web Server - Multiple Subdomains to Log In To phpMyAdmin

I'm trying to have 2 separate subdomains from 2 different websites have access to logging into the same phpMyAdmin. I'm not sure how to set up the phpmyadmin.conf file so that NGINX knows how to ...
Aaron Catolico's user avatar
0 votes
1 answer
18 views

Restrict access to folder by username/password (nginx)

I have burnt my old server and now trying to reinstall my domain on the new server (Ubuntu 22.04). I remember the following code (nginx) used to work to restrict the admin folder - just an extra layer ...
Johnny Bravo's user avatar
0 votes
0 answers
30 views

Supervisord ignores user setting

I want to use supervisord to make maintenance for Laravel application which used nginx run by www-data:www-data user:group. Both Laravel app and supervisord task need to share one log file. Sometimes ...
user239970's user avatar
0 votes
0 answers
126 views

I get nginx.service: Failed with result 'exit-code' when i want to install nginx on a ubuntu server

I use: sudo apt update, sudo apt install nginx but i get this: Preconfiguring packages ... Selecting previously unselected package libdeflate0:amd64. (Reading database ... 27812 files and directories ...
iorekke's user avatar
0 votes
0 answers
22 views

support a specific tls version for nginx server block

Our nginx server hosts multiple server blocks(hosts), which share the same ssl_protocols (TLSv1.1 TLSv1.2). http{ ssl_protocols TLSv1.1 TLSv1.2 } Recently, TLS for one host needs to be ...
shijie xu's user avatar
  • 241
0 votes
0 answers
47 views

502 Bad Gateway, Nginx 1.18 Ubuntu 22.04.2 LTS

My website is on AWS EC2. This 502 Bad Gateway came all the sudden. Nginx is deactivated. " /etc/php/8.1/fpm/pool.d/www.conf" shows "listen = /run/php/8.1-fpm.socket" I am a very ...
johnx's user avatar
  • 1
0 votes
1 answer
72 views

"does not have a Release file" for Ubuntu 20.04 upgrading nginx via add-apt-repository [duplicate]

I'm trying to upgrade a server from nginx 1.18 to a supported mainline version. add-apt-repository ppa:nginx/mainline I keep seeing an error: E: The repository 'http://ppa.launchpad.net/nginx/mainline/...
VMS's user avatar
  • 9
0 votes
1 answer
245 views

ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/run/mysqld/mysqld.sock’ (2)

Hello I've a major issue here that the server diskspace got full days ago, then all services turned off I managed to clear some space and have 48GB free space, but the issue I face now is that I can'...
Spong my bob's user avatar
0 votes
1 answer
34 views

Installing Nginx old version 1.4.6 issue

When installing nginx, it requires dependent packages like nginx-core, nginx-full, nginx-nasxi, etc. After I install nginx-core and nginx-common, the remaining packagess refuse to install due to ...
Bolshedvorskii's user avatar
0 votes
0 answers
191 views

Ubuntu 23.04 broke Nginx

I just updated to Ubuntu 23.04 and Nginx was prompting Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "...
Anton Zaharia's user avatar
0 votes
0 answers
97 views

Ubuntu 20.04 packages for passenger and ruby

Phusion Passenger makes their binaries available via this repo https://oss-binaries.phusionpassenger.com/apt/passenger When I install libnginx-mod-http-passenger via apt-get, it will automatically ...
the_coder's user avatar
0 votes
1 answer
269 views

SSL routines:SSL_CTX_set_cipher_list:no cipher match

I have Ubuntu=20.04 server running (Openssl=1.1.1t & nginx=1.21.6). I allowed ssl ciphers as cat nginx.conf | grep -i ssl_ciphers ssl_ciphers 'ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-...
raw-bean's user avatar
0 votes
0 answers
33 views

Configure vsftpd to upload multiple hosted websites by multiple users

I am new to ubuntu world, and I need some help configuring vsftpd for my needs. I have many sites hosted on nginx. Each site has its own person who is required to upload site contents using FTP (like ...
Ahmad's user avatar
  • 1
0 votes
2 answers
528 views

Sending NGINX logs to a remote syslog server

How to write Nginx configuration on /etc/rsyslog.conf to forward Nginx logs to another server? I write this configuration for rsyslog but I think it's not completely right:
Lana Adel's user avatar
0 votes
0 answers
27 views

My web site not found & Firefox hangs. Any ideas?

On Ubuntu 22.04 using nginx, curl rose-server.duckdns.org hangs, as does rose-server.duckdns.org in Firefox. nginx is shown as active(running) by sudo service nginx status nginx. I can ping rose-...
Manager Rose's user avatar
0 votes
0 answers
130 views

Why does my network stop working when adding a second IP to a second NIC in netplan and starting a docker container exposed on that nic's IP?

"Stop working" might be an overstatement, but parts of it do, and I don't know enough about what's happening to phrase it shorter for a title. Basically, I have A machine with 2 nic ...
Aephir's user avatar
  • 19
0 votes
0 answers
70 views

How Under local ubuntu 20.04 ro install nginx with Virtual Host Configs?

Under local ubuntu 20.04 I have appache2 installed and used and I want install nginx and and to switch them on need. I switch to nginx with commands : sudo systemctl disable apache2 && sudo ...
Petro Gromovo's user avatar
0 votes
0 answers
86 views

setting up reverse proxy nginx with Radarr - lubuntu

I am facing an error 403 Forbidden when I try to access Radarr. Here is my block setup for nginx in the site-available folder: server { listen 80; server_name radarr.mydomian www.radarr.mydomian; ...
rooot_999's user avatar
  • 101
0 votes
0 answers
21 views

apt-get remove says nginx not installed, but it is still running [duplicate]

I sudo apt-get install nginx by mistake on a server already running Apache. I then sudo apt-get remove nginx and rebooted. I lost the output of that and can't remember if it was installed successfully....
Old Geezer's user avatar
0 votes
1 answer
148 views

Website aside Mailu Docker image

I'm running a recent (V1.9) docker image of Mailu on Ubuntu server 22.04. Now how can I run a website with some php besides this? The Mailu server has an webmail page that runs on port 80 and 443, in ...
Shaun.M's user avatar
  • 11
0 votes
1 answer
207 views

How to install ngx_http_ssi_module

default NGINX configuration not included SSI module (don't confuse with SSL) in my case # nginx -V nginx version: nginx/1.18.0 (Ubuntu) built with OpenSSL 1.1.1f 31 Mar 2020 TLS SNI support enabled ...
John14's user avatar
  • 13
0 votes
0 answers
39 views

Can't access to express backend apis which is running on ubuntu server

I established backend on Ubuntu 20.04 with pm2 command. Here is the log when I use yarn start: pm2 launched in no-daemon mode (you can add DEBUG="*" env variable to get more messages) 2023-...
Frankly Jin's user avatar
0 votes
1 answer
149 views

domain "refused to connect" running django app on digitalocean droplet

I want to deploy a site on a digitalocean droplet. So far, it works as expected when I hit the IP address 123.45.678.910, but when I go to my domain name, I see "This site can't be reached, my-...
ellen's user avatar
  • 277
0 votes
0 answers
86 views

Block ips from certain country and security

I have an Ubuntu Server 22.04 with Nginx installed along with a laravel application. When I view the access logs I can see a lot of attempts from a certain country to exploit my server and application....
adam78's user avatar
  • 121
0 votes
0 answers
1k views

gunicorn.service: Failed with result 'exit-code'

I want to use a digitalocean droplet to host a django site. I'm trying to get the app running on the server with gunicorn and nginx, I'm getting a 502 error when I try to hit the server from my ...
ellen's user avatar
  • 277
0 votes
0 answers
216 views

Make Linux File System Case Insensitive

I deployed a website on Linux using NGINX as there server. My files are in lower-case and are located at /susr/share/nginx/html When I request for the files using upper-case it returns a 404. Example: ...
Bloggrammer's user avatar
0 votes
1 answer
44 views

How to connect php-fpm with nginx?

I have a server that uses Nginx and PHP-FPM (PHP v7.4). It was working as well, I executed the following command for some reasons: apt-get --purge remove php-common After that, I executed this: apt-...
Martin AJ's user avatar
  • 181
0 votes
0 answers
74 views

Make port 80 globally accessible

I am trying to set up a VPS server (Ubuntu 22.04 LTS) bought from Microsoft. I am able to set up NGINX on my own by watching this tutorial. After setting up all the configs stated in the video I ran ...
Avishek's user avatar
  • 101
0 votes
0 answers
1k views

can't initialize iptables table `filter': Table does not exist (do you need to insmod?) - iptables is not present

I am trying to install NGINX and Certificate by following this enter link description here in WSL But at the Step 5: Allow Nginx Traffic, I am getting error after the command sudo ufw allow 'nginx ...
Nishal's user avatar
  • 1
0 votes
0 answers
59 views

Forwarding https requests to http with Nginx

I'm trying to use Nginx on a Server A (Ubuntu 22.04) to: Force the client to use https. Forward requests to a Server B (also Ubuntu 22.04) so that they are http only. It has a Apache2 web server ...
Ray's user avatar
  • 1,987
2 votes
1 answer
2k views

Portainer docker container behind Nginx reverse proxy

I have set up an nginx reverse proxy on an Ubuntu 22.04 server and I have successfully obtained ssl certificate from lets encrypt. The two keys are stored here: /etc/letsencrypt/live/test.ddns.net/...
George Wright's user avatar
0 votes
0 answers
75 views

LEMP Secure hosting multiple users with Wordpress on ubuntu 22.04 LTS

Working on a stack with LEMP, Wordpress and multiple users. I am not sure if everything is secure. The server will have multiple users, and want to prevent them from accessing other users files / data ...
NME New Media Entertainment's user avatar
0 votes
0 answers
2k views

Unable to start php-fpm service after boot on Ubuntu 22.04

Hello Ubuntu Community, i am running a small Ubuntu Server within my home network with various web services like vaultwarden, nextcloud, seeddms, etc. on it using a nginx web server. I had multiple ...
Ubuntu Developer's user avatar
0 votes
1 answer
107 views

Why is apache2 still in my ubuntu after I have deleted?

So, I wanted to learn how to use the Nginx web server, and I wanted to try it out in my local machine, but I had apache2 installed in my laptop (ubuntu 20.04 LTS), so I tried to remove it using the ...
Leuel Asfaw's user avatar
0 votes
1 answer
170 views

how to configure Varnish, Nginx Virtual Host & Letsencrypt SSL together

I need some help in configuration of Varnish Cache, Nginx, & SSL on virtual hosts. I am able to configure the Varnish & Nginx on the server IP (Default virtual host). When I access site at ...
Sanjay Goswami's user avatar
0 votes
1 answer
66 views

How do I do this from nginx syntax in caddy v2?

How can I do this inside a reverse_proxy { ... } statement, done with nginx but I need to do it in caddy v2: proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $...
Uwe Pfeifer's user avatar
1 vote
2 answers
71 views

How to do this (nginx) in apache2 .htaccess?

location /.well-known/webfinger { add_header Access-Control-Allow-Origin '*'; return 301 https://mastodon.bitsnbytes.chat/$request_uri; } Is it possible to convert this Nginx into Apache2 ....
Uwe Pfeifer's user avatar
0 votes
0 answers
24 views

GoAcess show Google Ads clicks

i try to defend google ads click fraud with analyzing how many clicks an user do with one IP-address. For these i installed goacess on my ubuntu 18.04 lts. The landing page for google ads traffic is &...
nils50122's user avatar
2 votes
1 answer
727 views

Nginx doesn't support architecture i386

When I want to update my system sudo apt-get update the following error occur: N: Skipping acquire of configured file 'nginx/binary-i386/Packages' as repository 'http://nginx.org/packages/mainline/...
feration48's user avatar
0 votes
1 answer
365 views

Error 502, phpinfo() directing to 7.4 when 8.1 is installed (File not found)

I'm setting up a web server. I have a freshly installed Ubuntu 22.04, nginx (welcome page works), and php-fpm which installed php8.1 and php-fpm8.1. To test PHP, I created a /var/www/<my domain>/...
Wiley Rush's user avatar
0 votes
0 answers
1k views

Failed to set session cookie Maybe you are using HTTP instead of HTTPS

I configure my phpadmin with nginx and I have a problem to login. my phpadmin version 4.9.5 my php version PHP 7.4.3 . it work when I try to change $cfg['Servers'][$i]['auth_type'] in /etc/phpmyadmin/...
HGS's user avatar
  • 1
0 votes
0 answers
346 views

multiple workers looking on the same port: nginx mess!

I have exactly one test machine running different applications: a client and a server. The client responds to the port 3000, while the server responds to the port 3001. I setup nginx as a reverse ...
Paolo Di Pietro's user avatar
0 votes
1 answer
593 views

Error on installing Passenger with Nginx and Ubuntu 22.10

I am using Ubuntu 22.10 and I get the following error when running the command sudo apt-get install -y libnginx-mod-http-passenger: The following packages have unmet dependencies: libnginx-mod-...
Metaphysiker's user avatar
0 votes
0 answers
105 views

High CPU Usages After Migrating Wordpress in Ubuntu 20.4

I am using a WordPress site with Woocommerce in a managed hosting service. I have taken 8GB ram's new AWS t3.large ec2 instance and installed PHP and MariaDB 10.4. After migrating my website is ...
Mohammad Fathi Rahman's user avatar
0 votes
0 answers
326 views

Unable to connect to Linux Ubuntu Azure VM using public IP address

Unable to connect to Linux Ubuntu Azure VM using public IP address. I have tried everything. have 'ufw' active and allowed port 80 username@LinuxLR:\~$ sudo ufw status Status: active &#x200B; ...
user9681173's user avatar
0 votes
1 answer
2k views

nginx: [warn] server name has suspicious symbols with long domain redirect

What is the best way in Nginx to redirect two Long domains URLS, I would like to configure a redirect between two domains like this: I'm sure this has been asked before, but I can't find a solution ...
Santosh Baruah's user avatar

1
2 3 4 5
18