All Questions
1,020
questions
-1
votes
0
answers
15
views
Ubuntu - Nginx client cert authentication: is a public CA a security risk?
I am struggling with a Nginx setup as reverse proxy with client certificate authentication. The client is only accepting publicly signed certificates to be imported as client certificates for ...
0
votes
0
answers
33
views
NGINX Multi Site * SSL Subdomains: Configuration file error : [emerg] duplicate listen options for 0.0.0.0:443
Currently in process of installing SSL on an NGINX, Ubuntu 22.04 Vultr server. I have two existing domains on the server. Setting up a wildcard SSL for an Wordpress Multi Site (Subdomain base) and am ...
-1
votes
0
answers
22
views
How do I use the landscape-api command to create a repository which mirrors the official nginx.org stable repository?
I have set up Canonical's Landscape server locally (standalone method) to manage our Ubuntu servers. We use Landscape for managing the servers/VMs, and also to provide a local copy of the Ubuntu ...
0
votes
1
answer
43
views
How can I keep track of nginx restarts and reloads?
I have an nginx reverse-proxy on a ubuntu server in AWS. How can I see when it's configurations were reloaded, either via CLI or otherwise, and when it was restarted altogether?
If it doesn't record ...
0
votes
0
answers
44
views
Ubuntu/Nginx server seems to be supplying non-existant SSL certificate
I had four websites configured on an Ubuntu 22.04 server using NginX.
There was a technical problem with the database connection that required me to move the four websites to a new server.
I moved ...
1
vote
3
answers
101
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
91
views
nginx latest version with stream
I would like some clarifications regarding nginx installation at Ubuntu (22.04.3). I need to install stream module and expect latest version (current: 1.24, Apr-2023).
My current attempts are shown ...
0
votes
1
answer
63
views
poor docker / nginx throughput when running with bridge network on ubuntu
My nginx configuration seems to offer extremely poor performance through a docker network, while the host machine (a dedicated server) has great specs (104 threads, 245gb DDR4, SSD).
When benchmarking ...
0
votes
0
answers
96
views
logrotate doesn't work even if status shows that the logrotate run on my files
hello guys i have a problem with my logrotate, in the status it shows me that the logrotate run on my files but no logrotate is done each day i don't know why.
can someone help please ?
I also need to ...
0
votes
0
answers
41
views
err_too_many_redirects in nginx subdomain config
I was trying to config my subdomain www.chat.feromonn.com but in browser its giving message "too many redirect"
Please let me know what i am making mistake :
server {
listen 80;
listen [:...
0
votes
0
answers
53
views
phpMyAdmin loading incredibly slow through nginx reverse proxy
So I have a Synology NAS at home with some services running that I need to be accessible from the WWW, but understandably do not want to open ports on my home IP to the wide internet (especially ...
0
votes
0
answers
485
views
Configure QUIC and HTTP/3 in Ubuntu
I want to install and configure nginx-1.19.0 with HTTP/3 support on Ubuntu 22.04. OpenSSL version is 3.0.2. I was surfing in internet but I didn't find something straight forward to guide me how to ...
0
votes
0
answers
51
views
Double Nginx installation issue
It seems i somehow have two installations of Nginx on a server, Nginx Amplify reports two installations (see screenshot), one of them not sending updates of course, and occasionally when restarting ...
0
votes
1
answer
65
views
nginx GET request with internal server name instead of public domain name
I have set up a nginx reverse proxy with Ubuntu Server 22.04 LTS. The Abacus web application should be accessible with https://abacus.contoso.com from the internet. The internal server name is srv06.
...
0
votes
0
answers
132
views
"/etc/nginx/nginx.conf is meant to be read-only" when editing with nano after upgrading Ubuntu 20.04 to Ubuntu 22.04
I am recently upgraded Ubuntu Server 20.04 to Ubuntu Server 22.04. It is a LEMP server running the latest Mainline version of Nginx. After the upgrade, when I try modifying the /etc/nginx/nginx.conf ...
0
votes
1
answer
150
views
Nginx FastCGI Skip Cache Rules for /shop/ in Wordpress woocommerce, why aren't they working?
I am running a LEMP server with Wordpress and Woocommerce. My site is live at https://www.mcmo.is.
My Nginx Skip Cache rules seem to be working except for on one page: https://www.mcmo.is/shop
When ...
0
votes
0
answers
37
views
Nginx Amplify "Regex location has no anchors in regex pattern". How to fix corresponding lines in Nginx virtual host?
I am running Nginx with Nginx Amplify. In my Amplify>Analyzer>Static Analysis Section I am gettin the following errors:
Regex location has no anchors in regex pattern Regex location has a
regex ...
1
vote
1
answer
35
views
Difference between 3 similar Nginx Location Directives provided in three separate tutorials of the same topic
I have set up an Ubuntu 20.04 LEMP server with Wordpress, and am used some tutorials to help me configure Nginx. As of now, I have things functioning flawlessly, but in multiple Ubuntu "LEMP ...
0
votes
1
answer
244
views
Nginx emergency: cannot load certificate "/etc/letsencrypt/live/mail.example.com/fullchain.pem". How to fix this Nginx error?
I am running a LEMP email/web server with Ubuntu 20.04. My Nginx user is www-data. I also have roundcube installed in /var/www/roundcube. In my Nginx logs, I am getting the following error:
2023/07/01 ...
0
votes
1
answer
410
views
PHPMyAdmin Fresh Install Error 500 Nginx
I've just done a fresh install of phpmyadmin on nginx and ubuntu 22.04, however navigating to the index page is returning HTTP 500.
My error.log:
2023/06/24 22:52:55 [error] 1448200#1448200: *1 ...
0
votes
0
answers
174
views
Docker and Nginx Reverse Proxy Best Practices
I recently found out some basic security stuff I could implement to ensure that my VPS's are safer. I have tried to implement these but I have run into some problems. I do not know what my next steps ...
1
vote
0
answers
74
views
Setting up a proxy pass for rest api server not working
So I am trying to setup proxy pass to a rest api that is on port 30422, basically what I want to do is have for example sub-domain.example.com link to the port 30422 on the same webhost. I am hosting ...
0
votes
1
answer
172
views
website extremely slow after enabling ssl with nginx on react website
This is my nginx sites available folder on a digital ocean Ubuntu v22 VPS:
server{ server_name 139.59.62.131 animeanyway.me;
location / {
proxy_pass http://localhost:3000;
...
0
votes
1
answer
502
views
nginx address already in use, no matter what port configured
I am trying to use nginx to host a webpage. Running on a local VM immediately works, but on an external server not.
When typing nginx into the console, the error reads as follows:
nginx: [emerg] bind()...
0
votes
0
answers
231
views
How to fix cURL error 35 when consulting endpoints in production server?
I have a Laravel project consulting various endpoints via get method, and sometimes in random moment return this error:
production.ERROR: GuzzleHttp\Exception\ConnectException: cURL error 35: OpenSSL ...
0
votes
0
answers
122
views
access.log of Nginx filling up space (Ubuntu 22 Server)
Recently I have deployed my website using node.js server and using Nginx as reverse proxy, also nginx handles SSL, and forwards the HTTPS to HTTP server of node.js running at specific port. I am using ...
0
votes
0
answers
538
views
Ngninx "cannot load certificate BIO_new_file() failed (SSL: error:0200100D:system library:fopen:Permission", help fix this [emerg] error
I am running an Ubuntu 20.04 LEMP server on a Raspberry Pi 4. In my nginx errror logs I am getting the following error:
2023/05/29 11:51:40 [emerg] 3356#3356: cannot load certificate "/etc/...
0
votes
2
answers
45
views
Nginx strange upstream address after app restart
I have an application running in a container with an exposed port 8082. There is also an nginx configuration, part of which is shown below. In a normal situation, I see upstream: 127.0.0.1:8082 in the ...
1
vote
1
answer
149
views
NGINX reverse proxy works on all browsers except Opera GX - what is causing the issue? [closed]
Hello I have a weird problem when browsing to my selfhosted Website:
when I browse to my VPS Domain (which should proxy it to my homeproxy (nginx) and then to home webserver1) on Edge/Chrome/Firefox/...
0
votes
0
answers
119
views
Modsecurity Nginx breaking Wordpress Woocommerce checkout page. Can't find working rule exclusions
I am running an Ubuntu 20.04 based LEMP server on a Raspberry Pi 4.
I am working on a Wordpress Woocommerce website at https://www.mcmo.is. Currently on iOS using Safari or Google Chrome, I can't get ...
0
votes
1
answer
58
views
same proxy pass config not working on both instances
i have a config /etc/nginx/sites-available/test that only proxies one server the first (blog) and returns a nginx 404 on the second (api) I have tried trouble shooting but to no avail
i tried checking ...
0
votes
0
answers
76
views
Installation and configuration of nginx on Ubuntu 20.04 LTS
I have been trying to install nginx web server on my local machine (Ubuntu 20.04 LTS). But the installation could not be completed. It's giving error that systmd is not found.
Is it possible to ...
0
votes
0
answers
35
views
nginx reverse proxy gateway not behaving with ssl
port 80 on the web server destination serer 192.168.0.43 works in every way: gateway and inside the lan. Perfect.
I have the certbot certs on the gateway 192.168.0.60 generating perfectly
the domain ...
0
votes
0
answers
35
views
Server Performance experience share
I would like to know your expertise for high traffic site to choose a sever with backend.
I am familiar with PHP, NodeJS and Go programming languages. Also these days more popular HTTP servers are ...
-1
votes
3
answers
863
views
nGinx keeps shutting down
The nginx process keeps shutting itself off, here are the errors
2023/04/18 11:47:29 [alert] 11073#0: worker process 11312 exited on signal 9
2023/04/18 11:47:29 [alert] 11073#0: fork() failed while ...
1
vote
1
answer
251
views
PHP-FPM static max_children amount doesn't seem to matter much during stress tests
I've been stress testing PHP-FPM set up as static using wrk, with NGINX running on Ubuntu Server 22.04 for the past few days, writing down results for every scenario. When I look at them, it seems to ...
0
votes
0
answers
3k
views
Install latest version of Nginx on Ubuntu
I can see that the latest mainline version of nginx is 1.23.4
http://nginx.org/en/download.html
My Ubuntu server is running nginx version: nginx/1.22.1
I have tried these commands but it still updates ...
0
votes
0
answers
171
views
How can I disable subdomain connecting in my nginx proxy server port?
I have a cloud server that will have several applications running on it. I have a domain already pointed to this server. Now I want to achieve the following:
Have some ports that will be accessed ...
0
votes
0
answers
172
views
Error in udp reverse proxy with nginx stream failed (90: Message too long)
I want to proxy UDP traffic with nginx. nginx doesn't complain about the configuration. The client connects halfway (it says it can reach the end server), but the connection gets stuck and eventually ...
0
votes
0
answers
446
views
502 Bad Gateway when using NginX proxy_pass for subdomain on different LAN server
In a nutshell, I want to host a second domain (sub.domain.com) on a different server, on the same network (192.168.1.240).
I understand I have to make use of the proxy_pass, so I have this ...
0
votes
0
answers
72
views
How to cache nginx with acc and expired time on url
(1) Source link:
https://bato.to/chapter/2170006
(2) Image url example:
https://xfs-s107.batcg.org/comic/7006/255/63d8e0e22aa1d12922877552/24710008_2160_3070_989124.webp
(3) Query:
?acc=...
0
votes
1
answer
183
views
Nginx stops after a while without registering any trackable log
I have a server (Ubuntu 20.04) that uses Nginx as a web server. Also, several projects are on it. The problem is, sometimes the Nginx fails (stops). Like this:
I really have no idea why it crashes. ...
0
votes
0
answers
133
views
nginx IP Whitelist in http and stream directive
I use the following config for nginx with http and stream. Each of them should include the same IP whitelist.
The whitelist looks like this:
allow 78.153.123.0/20;
allow 2a01:123::/32;
deny all;
My ...
1
vote
0
answers
116
views
How can I setup a nginx reverse proxy to display sites on different servers on my network to different specific domains
So far I have this for my reverse proxy settings:
server {
server_name subdomain1.DOMAIN.net;
location / {
proxy_pass http://192.168.1.156:9090;
}
}
server ...
0
votes
0
answers
96
views
Nginx Pagespeed Module: What is "Ngx_pagespeed Slow write operation on file /usr/share/nginx/ngx_pagespeed_cache..." in error logs and how to fix?
I am running an Ubuntu 20.04 LEMP server with the pagespeed module for Nginx in a business environment. In my /var/log/nginx/error.log I am seeing the following error:
[ngx_pagespeed 1.15.0.0-8811] ...
1
vote
1
answer
325
views
Nginx error logs: what does "pagespeed: rollback gzip, explicit configuration in /etc/nginx/nginx.conf:151" mean, and how can I fix it to use brotli?
I am running an Ubuntu 20.04 LEMP server with the pagespeed and brotli module for Nginx. In my /var/log/nginx/error.log I am seeing the following error:
2023/02/23 07:34:49 [info] 1553667#1553667: [...
0
votes
2
answers
399
views
nmap vuln script detects vulnerability "Apache byterange filter DoS http-vuln-cve2011-3192" in Ubuntu Webserver, but apache2 not installed on server
I am running an Ubuntu 20.04 LEMP (Linux, Nginx, MariaDb, PHP) webserver. I am also doing some nmap vulnerability tests form my MacOS Client machine. On MacOS, I am using Oh My Zsh! with the nmap ...
0
votes
0
answers
18
views
502 bad gateway only in /
I have laravel api & nextjs admin panel runing fine but the shop in / throw 502 bad gateway
server {
listen 80;
server_name proudlyai.com;
client_max_body_size 256M;
add_header X-Frame-Options &...
0
votes
0
answers
81
views
How can I troubleshoot the issue with the front page not working while other pages are working properly?
root@ubuntu-s-1vcpu-1gb-amd-sfo3-01:/var/www/html# curl -I http://137.184.81.151/hello-world/
HTTP/1.1 200 OK
Server: nginx/1.18.0 (Ubuntu)
Date: Sat, 11 Feb 2023 20:19:32 GMT
Content-Type: text/html; ...
0
votes
0
answers
42
views
Block all IP's except HOME IP in Nginx Netdata virtual host file on Ubuntu Server 20.04
I'm running Ubuntu Server 20.04, and have successfully set up netdata. My netdata's Nginx virtual host file looks like this:
upstream backend {
server 127.0.0.1:19999;
keepalive 64;
}
server {
...