All Questions
273
questions
0
votes
1
answer
25
views
Pacemaker can no longer start Nginx after Debian upgrade
I have a Pacemaker cluster that controls several resources of type ocf:heartbeat:IPaddr2 and one of type ocf:heartbeat:nginx. Since an upgrade to Debian 12 it can no longer start Nginx. What happens ...
-1
votes
2
answers
75
views
Logrotate in Debian 12
I have installed Debian 12 on a server and installed nginx service.
However, Debian 12 don't have installed logrotate package.
I would like know the best practice for this case, if should I install ...
0
votes
0
answers
34
views
broken symlinks in nginx modules-enabled, /usr/lib/nginx and /usr/share/nginx/modules-available missing
For almost two years now I have been running a simple nginx reverse proxy on a Debian instance to serve dockerized services. In case any configuration changes go wrong, I am also using git version ...
0
votes
1
answer
51
views
VM crash - can it be related to SSL errors?
I am not much into server configuration, and I need some help with a problem I am facing.
I have an Debian 11 machine with nginx 1.18.0.
It frequently crashes around 2:00 - 3:00 am.
By inspecting ...
0
votes
0
answers
62
views
NGINX 1.22.1 not correctly sending request round robin
Debian: 12
Nginx: 1.22.1
Goal
Have Nginx route request to each server in a round robin fashion
What is happening
Nginx is only routing request to the first server no matter what
What the expected ...
0
votes
0
answers
28
views
Nginx missing trailing slash redirects to the wrong url behind proxy
We use an nginx webserver behind an nginx proxy. When i try to browse a subpath, the nginx backend webserver (something.example.local) appends a trailing slash behind the url (301 redirect) -as ...
0
votes
1
answer
279
views
Nginx TCP Forwarding only for subdomain
I have Debian 12 box on Hetzner running Cowmail and Nginx.
Cowmail runs under mail.mydomain.com subdomain (mydomain.com is placeholder) on ports 8069 and 44369.
What I am trying to do is:
Serve ...
0
votes
0
answers
413
views
PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes)
I have exported a WordPress XML file which contain all pages, posts, WooCommerce products, orders etc. File size is 100MB. Now I am trying to import it on another machine but getting error. It even ...
0
votes
1
answer
157
views
Fastcgi script "file not found" / Primary script unknown
ACTUAL SITUATION
I am in the process of transferring a static web server to a container.
ISSUE ENCOUNTERED
When i'm trying to reach my server, i received "File not found" with :
curl ...
0
votes
1
answer
842
views
Setting up GeoIP to work with Nginx on Debian 11
I am trying to set up Nginx v. 1.24.0 and GeoIPupdate to work so that users not from a specific country do not get access to the web server.
However, as I'm following every guide I see that it is ...
0
votes
0
answers
87
views
"rewrite or internal redirection cycle while internally redirecting to" Nginx
rewrite or internal redirection cycle while internally redirecting to
"/opt/soa/adminControl/v1/ro42/", client: 127.0.0.1, server: _,
request: "GET /opt/soa/adminControl/v1/ro42/ HTTP/1....
2
votes
0
answers
415
views
Does Nginx aio work with linux?
We have a VOD service and we are using nginx as webserver.
Our system doesn't use nginx-vod-module instead it just has all the small m4s files for a dash stream.
I came across this article(Thread ...
0
votes
0
answers
238
views
Only allow local addresses using nginx reverse proxy when accessed from external web URL address
I have set up a vaultwarden server locally, nginx and have linked it to the website xxx.ddnsfree.com. I can access it fine using xxx.ddnsfree.com.
I am trying to make it so that I can only access the ...
1
vote
1
answer
717
views
Unable to access port 8000 on my Debian server
I have a Debian server running fusionPBX, I installed it using this official script. It uses nginx to host the application, I tried adding another server (Django) in the config file of nginx to ...
0
votes
1
answer
888
views
No access to nginx container in Docker via IPv6
I am struggling to have my Debian VM (5.10.0-15-amd64) accept incoming requests for a plain nginx webserver hosted on Docker. When binding the IPv6 address directly within the docker-compose.yaml file ...
1
vote
0
answers
72
views
how to load balance my server from linux ips and socks?
i have server and i used to use before this loadbalancer in local docker
upstream pupstream {
least_conn;
server php:9000;
server php:9001;
server php:9002;
server php:9003;
...
0
votes
1
answer
251
views
nginx with Certbot blocking local traffic to website from local IP?
I have setup nginx with Certbot on my home server running Debian to host a small website. I have a static external IP address and custom domain that points to the latter.
Everything runs fine so far, ...
1
vote
0
answers
418
views
Performance, Security and Scalability of nginx proxy vs ssh tunnel
I'm wondering about the difference in performance, security and scalability for nginx and ssh tunnel for a web application.
For my case, I have a VPS set up, whos only job is to forward the traffic to ...
0
votes
1
answer
244
views
How can I find out where a port number for a React website is saved?
I have a Debian machine, I can see that a React website is running on port 4173 but can't find out where it is so that I can change the port.
I assume it is in some config file somewhere.
it's not in ...
0
votes
1
answer
4k
views
Certbot - Failed authorization procedure
I want to generate a Let's Encrypt certificate for my server, so that I can renew it automatically.
I ran the command certbot --nginx -d testpbx.info.eu and got the following error.
certbot --nginx -d ...
0
votes
1
answer
9k
views
Unable to renew a Certbot NGINX certificate
I have a NGINX server and I use Certbot to generate a Let's Encrypt certificate. I saw that my certificate was not renewing automatically despite the cron I had set up.
I tried to renew it manually ...
0
votes
1
answer
2k
views
Can't start Nginx, Brotli configuration error
I have a nginx server setup as a reverse proxy for apache2 on a Debian 9 OS. Apache2 is running on a different port than 80. I was trying to renew my site's certificate using certbot, and I ran this ...
0
votes
1
answer
326
views
Nginx api gateway warehouse with subdomain support
I am following a tutorial to setup an API proxy, I am running production and development server apps on the same VPS
https://www.nginx.com/blog/deploying-nginx-plus-as-an-api-gateway-part-1/
I have my ...
1
vote
1
answer
1k
views
NginX website to listen on both port 80 and port 8080
I have a recent installation of NginX on a Raspberry Pi. In the sites-available/myserver I have the following:
server {
listen 80 default_server;
# listen 8080;
listen [::]:80 ...
0
votes
1
answer
237
views
After I ran certbot browsers cannot access css file
After I ran certbot --nginx browsers cannot access css of my website.
style.css is located in ./styles of root of my site.
The error is Failed to load resource: net::ERR_CERT_COMMON_NAME_INVALID style....
0
votes
1
answer
1k
views
Cannot access my website
everyone! I'm linux-enthusiast and I have an issue with an nginx on debian VPS. Until recently I could access my static website but now I can't.
This is my sites-available/example where example is my ...
0
votes
1
answer
846
views
connect() failed (111: Connection refused) when trying to reach 1 of 3 apps
I have two Django apps running on my Debian server with Gunicorn.
One running on port 80(app1), the other on 84(app2). app1 is working fine. But when trying to open app2, I get a 502 Bad Gateway from ...
1
vote
2
answers
3k
views
How to install Nginx 1.21.3 on Debian 10 [closed]
Could someone explain to me how to install Nginx 1.21.3 on Debian 10 please.
thank you so much
0
votes
1
answer
101
views
Nginx server keeps serving Debian main page
I am trying to set up a simple custom website. I have built a simple server using Golang and the Gin-gonic framework. My Go server is as follows:
func main() {
r := gin.Default()
r.GET(...
0
votes
0
answers
17
views
All files and folders in the root partition are deleted by unknown reason [duplicate]
I have a Debian box with nginx webserver, hosting a webmail interface. The server worked fine for a a while. Today I started to get 404 errors when pointing to home page.
All of the files on the root ...
0
votes
1
answer
329
views
Nagios check_procs not reporting processes not spawned by root
I am trying to set up Nagios to monitor the nginx service on my load balancer but have been unsuccessful in getting it to show the service being up. The command and service definition are below. It ...
2
votes
1
answer
1k
views
fail2ban detects the attacker IP but doesn't ban it, and is slow reading logs
From a few days I'm receiving attacks from some IP addresses to my nginx. I have decided to use fail2ban to ban it automatically, but I have noticed that is not working very well. I can see in logs ...
0
votes
1
answer
1k
views
Error: Could not start TLS. Please check your LDAP server configuration. on PhpLdapAdmin
We have a LDAP server and we use phpldapadmin to manage it. I have not used it since a long time and when I try to login with my admin user, I get the following :
Could not start TLS. (LDAP Server)
...
0
votes
1
answer
227
views
nginx on Debian Buster: The right way to handle Config-Files?
Nginx can be configured via various configuration files:
*.conf-Files inside /etc/ngninx/conf.d
*.conf-Files inside /etc/nginx/sites-available
Last but not least: /etc/nginx/sites-available/default
...
1
vote
1
answer
2k
views
Docker w/ PHP-FPM & Nginx - 502 Bad Gateway
I'm currently trying to dockerise a Laravel application, I've managed to create my Dockerfile and docker-compose.yml with the dependencies I need. However, I am struggling to get php-fpm to kick in ...
1
vote
0
answers
106
views
Can I use conditions in NGINX config with RTMP module?
I want to do different actions according to the stream key, like this:
application live {
if(streamKey = 'stream_key_1') {
#action1
push rtmp://xxxxxx1
...
1
vote
1
answer
472
views
Website does not load after SSL (Let's encrypt + Nginx)
I just set up an SSL certificate with Let's Encrypt and when I change the port from 80 to 443 in nginx.conf. but after nginx restart, the website does not load and the browser gives me the ...
1
vote
1
answer
3k
views
Nginx warning - upstream sent more data
I have a bunch of Nginx + PHP8.0-fpm installed in the north. When crawlers visit a page and the request contains the If-Modified-Since header, but the page has not changed, the site returns the "...
1
vote
2
answers
9k
views
Invalid response from .well-known/acme-challenge/<token>
I'm trying to use certbot to obtain an SSL certificate for one of my subdomains. However, one of the challenges fails when trying to test .well-known/acme-challenges/<token>. The web server (...
2
votes
0
answers
2k
views
Debian Buster: Ngnix won't upgrade to 1.18, Conflicts: nginx-common
After updating and upgrading all packages on the server, Nginx I can't get to update.
The Debian Buster package's Nginx is at 1.14, but I want to upgrade to the latest stable, 1.18, which isn't part ...
1
vote
1
answer
466
views
Webpage always takes 5 seconds to load the first time using Nginx
I've deployed a webserver using Nginx. The webserver is under a virtual machine using Virtualbox. Everything seems to work properly. Connections are carried out on a local network context.
The problem ...
0
votes
2
answers
95
views
PHP-FPM behaving strangely with Nginx on new webserver
So, I'm moving over to a new webserver, primarily because CentOS will soon be no more, so I am switching over to Debian 10.
I have Nginx and PHP configured as I'd like, but am having a really strange ...
0
votes
0
answers
145
views
I am using a reverse proxy with nginx installed on Debian 10.7, and nginx stops nowhere without giving an error
It seems that the system itself is stopping my reverse proxy with nginx, there is no error in the nginx logs or in the system logs, the information I have is just below:
root@production:~# service ...
1
vote
0
answers
153
views
NGINX HTTP 502 with PHP-FPM - but no error log
I am struggling with a problem:
I got this Nginx config:
# MANAGED BY PUPPET
server {
listen *:80;
server_name www.example.org;
return 301 http://example.org$request_uri;
}
...
0
votes
1
answer
137
views
Which setting is limiting my active connections (ip_conntrack)?
I have a webserver with ispconfig (mysql & php & nginx). My munin statistic shows that there are the connecitons limited to about 9k. But I can't find a settings which is about 9000 which I ...
1
vote
0
answers
1k
views
nginx logging to unix socket fails with protocol error
debian stable,
nginx version: nginx/1.14.2
I get the following error message (error.log) : connect() failed (91: Protocol wrong type for socket)
configuration file :
access_log syslog:server=unix:/var/...
0
votes
0
answers
197
views
Domain shows wrong site in nginx, but only for HTTP
I have multiple sites configured in Nginx 1.14.2-2+deb10u3 on Debian 10.
One is a.mydomain.com, another one is b.mydomain.com.
Both domains have two server blocks each, for port 80 and for port 443.
...
0
votes
0
answers
355
views
Running on 404 with PHP pages on Nginx
I'm fairly new to servers and am setting up my first web server with Nginx to use PHPMyadmin (as well as SSL, and Wordpress).
The OS I'm working on is a Debian 10 Docker image.
I'm following this ...
0
votes
0
answers
430
views
Apache Reverse Proxy and ShinyProxy
I wrote a shiny web application and deploy it on a server using ShinyProxy. Accessing the app directly via the IP address and port 8080 works fine. However, I need to connect it to a URL. On the ...
0
votes
1
answer
928
views
Bitwarden Self-Hosted on Debian 10x 64 Buster with Apache2
I installed bitwarden on my VPS following this link https://bitwarden.com/help/article/install-on-premise/. I got an error at the end while running bitwarden.sh start
The error message was :
Creating ...