Questions tagged [nginx]
Questions relating to Nginx, an open source Web Server and reverse proxy server.
914
questions
2
votes
1
answer
32
views
Docker container fails to answer respond to HTTP request from host machine
I want to deploy an API on a server (Ubuntu 18.04) with Docker (container: Ubuntu 22.04). I previously deployed the API with the same config on another server without any issue.
While being built ...
0
votes
1
answer
23
views
Website 504 error when enabling UFW after upgrading from 20.04 to 22.04
After upgrading the server from Ubuntu 20.04 to Ubuntu 22.04, enabling UFW made a website 504 error.
When enabling UFW the error is:
ERROR: problem running ufw-init
iptables-restore: line 4 failed
0
votes
1
answer
39
views
nginx is broken: symbol: ngx_stream_core_module
I just encountered the same issue. I originally had 18.04 installed and first upgraded to 20.04 without problems. A day later I upgraded to 22.04 which gave me the nginx error described above.
Looking ...
0
votes
0
answers
26
views
Nginx configuration failure: iptables table does not exist
I tried to configure nginx on my Ubuntu system. During this process, I executed the command sudo ufw allow 'Nginx HTTP and I got an error:
WARN: initcaps
[Errno 2] iptables v1.8.7 (legacy): can't ...
-1
votes
0
answers
65
views
Disable weak openssl cipher suites for nginx
Trying to disable following cipher suites in nginx
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
In Nginx configuration updated this
ssl_ciphers ECDHE-RSA-AES256-GCM-...
1
vote
0
answers
28
views
LXD UI Not Recognizing Certificates over NGINX Proxy Manager
I am hosting an LXD instance with the UI enabled. I have passed through the UI via NGINX proxy manager and Cloudflare is proxying the connection with DNS from a subdomain.
On my local network, I can ...
0
votes
0
answers
62
views
Why the nginx docker container stopped by Systemd?
I encountered an issue today with the Nginx service running as a container on our Ubuntu 20.04.6 LTS server. The service was in a stopped state, and I had to restart it manually.
I've attached a ...
-1
votes
0
answers
32
views
How to set up Apache WordPress and nginx Django on the same domain
please tell me I have an Apache server, it has a WordPress website, it is located on the domain smk-stb.ru . I want to install nginx gunicorn Django on this domain smk-stb.ru/Django .I don't want to ...
0
votes
0
answers
74
views
How to enable https for azure vm in Ubuntu server?
I have created a Virtual machine with Ubuntu server 22.04 LTS and have installed nginx in it. I am able to access VM through http using the public ip. But unable to access through https.
Should I ...
0
votes
0
answers
103
views
How to run password with sudo command using php?
Below is the example, I was trying to execute the command using PHP function.
Not getting any error or not happen anything after execute this code.
$siteConfig = <<<EOL
server {
listen 80;...
0
votes
0
answers
45
views
NGINX reverse proxy with Apache shows default Apache index page
I have a server that had Apache installed first. Subsequently I installed NGINX in order to have it reversed proxy to Apache.
According to /etc/apache2/ports.conf Apache listens to port 8090
Listen ...
0
votes
0
answers
99
views
Map the .local domain and subdomain for docker container in ubuntu 22.04
I have a Linux server with Ubuntu 2022, whose IP is 192.168.100.82, and to access applications running on Docker, I need to enter the IP address and port, there are three applications on ports 3000, ...
0
votes
0
answers
28
views
nginx running and port allowed, but on client side is closed
I have a server was running fine with port 443, but not it's not running.
using command sof -i -P -n | grep LISTEN, i get:
nginx 3124 root 6u IPv4 39437 0t0 TCP *:443 (LISTEN)...
0
votes
2
answers
260
views
Cannot access any service running on ubuntu server including SSH
Problem: I'm unable to access any service running on by Ubuntu 22.04, including SSH. This server has been running for months without any issues. It currently hosts a frontend as well as 3 different ...
0
votes
1
answer
82
views
php via https not working
I run nginx with php7.4-fpm on a ubuntu 22.04 and I have a info page like this.
<?php phpinfo(); ?>
I have this nginx server config.
server {
listen 80;
listen [::]:80;
root /var/www/html;...
1
vote
1
answer
529
views
Running Certbot to add new domains to an existing installation
I just finished running Certbot instructions located at:
Ubuntu Certbot Instructions
Certbot automatically detected my domain and installed the certificate, everything worked perfectly.
What I need to ...
0
votes
0
answers
473
views
Problem connecting to PostgresSql from Docker container
I have two Ubuntu Servers 20.04 with an external IP of 185.253.74.227
The first server has a local IP 192.168.1.30 on which I have nginx running and I host my Docker containers on it.
The second ...
0
votes
1
answer
49
views
Though I uninstalled the apache2 in my ubuntu 20.04 Azure VM, apache2 -v command giving me the current installed version
I have the Azure VM is of Linux (Ubuntu) -20.04.
Long back, installed the apache2 (version is 2.4.41). Now I have tried to uninstall apache2, nginx but when I enter apache2 -v command in the azure vm (...
2
votes
1
answer
425
views
Why am I seeing Apache2 Default Page while using nginx
This is my first time setting up virtual server with Ubuntu and I have some questions regarding Apache2.
When I turn the virtual server on, it was started with lightppd. Since (I thought) I'm more ...
0
votes
0
answers
143
views
php 8.1 disable deprecated warnings on nginx on ubuntu server 2020.04
I'm using Ubuntu server 20.04. my php version is php8.1.20, there installed nginx and mysql.
There is Deprecated warning with some php functions(strlen, strtolower). How can I hide it. error reporting ...
0
votes
0
answers
72
views
Configure nginx running locally to server the port running docker container locally
Hi this may be a noob question.
I am trying to replicate a 502 bad gateway error when using nginx as a web server. I have locally running VM of Ubuntu 20.04.6 LTS on which I have freshly installed ...
0
votes
0
answers
42
views
Docker and Nginx - thoroughly confused at his point
I'm new to Ubuntu and Docker. I've installed Ubuntu 22.04 Workstation (basic installation) on a public virtual machine. I can access it via ssh and I have my domain pointed at the server's ip address....
0
votes
0
answers
321
views
Installing SSL Certificate on Nginx now website is not accessible
I'm having a heck of a time getting Ubuntu 22.04, Nginx and Certbot to play nicely together.
I'm a newb when it comes to Ubuntu so I'm learning my way with trial and error, though I seem to be getting ...
2
votes
0
answers
108
views
PhpMyadmin throwing 500 with nginx and Php on Ubuntu 22.04
I have tried installing phpmyadmin as mentioned in the link below
https://thelinuxterminal.com/how-to-install-phpmyadmin-ubuntu-22-10/
I followed it step by step but i am getting 500 if i visit the ...
0
votes
0
answers
126
views
Dynamically and automatically give out SSL certificates for new domains
I have a service that allows others to bring their own domains for. Currently, the system goes as follows:
User points their domain to our servers
User sends domain to us
We run a custom add command ...
0
votes
0
answers
18
views
Web server down but nginx status is good and configuration too
im on unbuntu 22.04 lts. I have create a other configuration file .conf in /etc/nginx/sites-available and after this my website is down. But when i do the command to check nginx status is good, my ...
0
votes
0
answers
234
views
Deploying multiple flask app aws + gunicorn + nginx
I am trying to deploy multiple Flask applications in a AWS EC2 without success :(.
I'm following this tutorial, the steps seems to be simple enough, however I haven't managed to make it work. This is ...
0
votes
0
answers
259
views
Nginx reverse proxy works on WAN but not LAN
I've seen a lot of questions in a lot of places with the opposite of this problem, but can't find anything mirroring these results here.
I have a web app that I'm trying to make accessible via my ...
0
votes
0
answers
196
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 ...
0
votes
0
answers
86
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 ...
0
votes
0
answers
12
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 ...
0
votes
0
answers
111
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 ...
0
votes
1
answer
235
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 ...
0
votes
0
answers
217
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 ...
0
votes
0
answers
4k
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 ...
0
votes
0
answers
52
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 ...
0
votes
0
answers
195
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 ...
1
vote
1
answer
586
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/...
0
votes
1
answer
965
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'...
0
votes
1
answer
94
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 ...
0
votes
0
answers
309
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 "...
0
votes
0
answers
317
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 ...
0
votes
1
answer
960
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-...
0
votes
0
answers
81
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 ...
0
votes
2
answers
2k
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:
0
votes
0
answers
33
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-...
0
votes
0
answers
233
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 ...
0
votes
0
answers
157
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 ...
0
votes
0
answers
142
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;
...
0
votes
0
answers
22
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....