Skip to main content

Questions tagged [nginx]

nginx is an open-source Web server and a reverse proxy for HTTP, SMTP, POP3 and IMAP protocols, aimed at high performance and low memory usage.

Filter by
Sorted by
Tagged with
1 vote
1 answer
45 views

The configuration in question seems to be working, but I'm unclear on best practices. This server is handling requests for: example.com example.org The certificates from Let's Encrypt via certbot. ...
MikeiLL's user avatar
  • 259
1 vote
1 answer
83 views

I have an Nginx conf for Typo3 and I want to also use Nginx for other contant than TYPO3. For example, I use phpmyadmin wich is located at /var/www/html/phpmyadmin. The root is set to /var/www/html/...
HGA's user avatar
  • 11
0 votes
1 answer
30 views

TL;DR I am trying to make aplay play a wav file. This requires the current user to be in the audio group. It works fine when I invoke it from a logged in user, even when I su -u www-data but the nginx/...
Roger's user avatar
  • 111
0 votes
2 answers
158 views

On every reboot sudo systemctl status nginx reports: Jul 07 12:43:46 myhost nginx[409]: nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (2: No such fil&...
jjk's user avatar
  • 445
0 votes
1 answer
192 views

I have a number of self hosted services on my home server, running Arch Linux. Context A number of these are held in Docker containers (each with their own Docker compose file), though one (Jellyfin) ...
twelfth's user avatar
  • 26
0 votes
1 answer
61 views

I have a static website and a Django app backend running using gunicorn on port 8000 on a server. I am collecting CSS files for the static website into /mywebsite-deployment/staticDir/homepage/css/...
Vee's user avatar
  • 3
0 votes
0 answers
66 views

I have setup port forwarding on my router, Disabled my firewall, tried many different things in nginx.conf and changed stuff like the server_name, but nothing is working. I have also tried to use ...
ChmodRWX's user avatar
0 votes
1 answer
252 views

I'm trying to make captive portal with nginx, hostapd, nftables, dnsmasq and python-flask. I have two main problems I'm not getting a popup on Android, but am on Iphone/OSX. I'm not sure how to ...
user3666672's user avatar
0 votes
0 answers
391 views

after 5 hours of spending time to configure Jitsi on my Plesk server inside Docker, I need to give up and ask you — sorry for that. First, I've followed the tutorial here: https://jitsi.github.io/...
Mr. Jo's user avatar
  • 203
0 votes
0 answers
88 views

I've setup an nginx/webdav instance. I can connect to it just fine. (If it matters, it uses https:// and auth_pam.) In a web browser (chrome shown), I see everything I expect to see: (I tested using ...
r2evans's user avatar
  • 73
0 votes
1 answer
268 views

OS is Debian. I'm running nginx as a webserver. I am not running Wordpress. Logging is enabled in the http block with: access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; ...
cat pants's user avatar
  • 167
0 votes
0 answers
70 views

I don't understand why the below Nginx config allows me to get to my index.php ok: http://localhost:8080/nesting/index.php but all dependencies of that page, like css, img keep pointing at http://...
sga's user avatar
  • 1
1 vote
1 answer
250 views

I have an Ubuntu 24.10 Digitalocean VPS and I want to host two websites using Nginx. One is website-name.com where I want to host a static export of a Next JS website whose contents I have copied to ...
Harish's user avatar
  • 113
1 vote
1 answer
84 views

I'm trying to configure Focalboard to run in a specific subdirectory using Nginx. I followed the steps from the official Focalboard documentation and was able to set it up normally. However, after ...
siqueir4's user avatar
0 votes
1 answer
147 views

I run apt-get -y update && apt-get -y upgrade && apt autoremove from a cron job on Ubuntu 24.04.1 LTS and on Tuesday I got this error: The following packages will be upgraded: curl ...
Ant Kutschera's user avatar
0 votes
1 answer
177 views

I have an ASP.NET app hosted in a Docker container, with a NGINX reverse proxy, hosted on a VPS. When running in production, the x-forwarded-proto header isn't being passed. From what I understand, ...
Etienne Charland's user avatar
1 vote
2 answers
182 views

Trying to start nginx via systemd service, I think I gave all permissions it need for unpriviledged ports, even added CAP_NET_BIND_SERVICE, but still get: nginx[122819]: 2024/09/01 04:11:38 [emerg] ...
gcb's user avatar
  • 953
0 votes
1 answer
150 views

Before adding ssl_certificate, my nginx.conf is very simple: server { listen 80 default_server; index index.php index.html index.htm; location ~ [^/]\.php(/|$) { ...
xpt's user avatar
  • 1,924
0 votes
1 answer
246 views

I'm doing the Let’s Encrypt for the firs time and this 101 question might quite possibly have been answered somewhere, but anyway, from https://eff-certbot.readthedocs.io/en/latest/using.html#setting-...
xpt's user avatar
  • 1,924
0 votes
2 answers
59 views

Is it possible with Apache or Nginx (or others) to have the webserver configured for HTTPS/443 and translationg every request to simple HTTP and forwarding it to another process (just understanding ...
chris01's user avatar
  • 1,049
1 vote
1 answer
266 views

I am upgrading a VM at work, from Debian 11 to 12. I succeed up to the sudo apt-get dist-upgrade, where it fails on: Setting up nginx (1.22.1-9) ... Job for nginx.service failed because the control ...
Marc Le Bihan's user avatar
0 votes
1 answer
150 views

I have fail2ban setup and it's working great for most scanning. It triggers off any 4xx in the nginx error log. However, note the following bot scan. Somehow THIS bot is triggering my server to return ...
Chris's user avatar
  • 103
0 votes
1 answer
264 views

I followed Cerbot's instructions to get a HTTPS certificate for NGINX in my Debian server for a domain, but the HTTPS is not redirecting properly. I got the following in etc/nginx/conf.d/app.conf from ...
Kevin's user avatar
  • 139
1 vote
0 answers
1k views

I have django/gunicorn/nginx based site. The static files when changed and deployed to the server get uploaded to /home/username/src/static folder. The website itself is provided from /home/username/...
user1933205's user avatar
0 votes
1 answer
926 views

I started official nginx image in podman under root with command: sudo podman run --name nginx \ ... \ -v /var/log/nginx:/var/log/nginx \ docker.io/library/nginx:latest Logging working ok, but ...
Almaz's user avatar
  • 163
0 votes
1 answer
343 views

I'm running nginx v1.22.1 on my Raspberry Pi 4 (based on Debian Bookworm). nginx returns HTTP 404 Not Found for all requests via HTTP/port 80: However, everything works nicely via HTTPS/port 443. ...
mu88's user avatar
  • 113
0 votes
1 answer
203 views

I'm setting up nginx on a Rocky 8.9 server, and ran into SELinux problems trying to listen on ports other than 80 and 443. The recommended solutions across the internet all seem to recommend semanage,...
Wildcard's user avatar
  • 37.5k
5 votes
1 answer
846 views

When running nginx -s reload, nginx is meant to soft reload (gradually close existing connections on the Old process, and service new requests on the New process). It does that, except it seems that (...
Barry's user avatar
  • 152
0 votes
1 answer
243 views

I have this nginx custom configuration: server { listen 8080; server_name subdomain.domain.my.id; location /vless-ws { # Consistent with the path of V2Ray configuration if ($...
isysrg's user avatar
  • 3
-1 votes
2 answers
165 views

I have line-by-line list of domains I got by for domain in $(nginx -qT | grep -E "^[[:space:]]*server_name" | grep -Ev "^[[:space:]]*#" | sed 's/^[ \t]*//' | sed 's/server_name //g'...
palmasd1's user avatar
  • 127
0 votes
2 answers
1k views

Note: Logging is disabled but the notices still occur! I want a clean log that only shows errors for my Docker containers but nginx is just flooding the command line with noise even though I disable ...
Konrad Höffner's user avatar
0 votes
1 answer
351 views

I'm doing this all on Debian 12 VPS. I can install easypanel separately & get it working with SSL enabled. I can install btcpayserver separately using this guide to get BTC/XMR working. But I ...
deadcoder0904's user avatar
0 votes
0 answers
501 views

I just installed phpmyadmin on my PC. I followed several instructions such as: sudo apt update sudo apt install phpmyadmin sudo ln -s /usr/share/phpmyadmin /var/www/your_domain/phpmyadmin I use NGINX ...
Dans988's user avatar
0 votes
1 answer
380 views

I have a server running nginx as a web server for video streaming and am considering using an external CIFS/SMB storage share mounted to the server. As the server would need to download and upload for ...
kataba's user avatar
  • 21
0 votes
1 answer
42 views

I have nginx and in server section and port 80 I redirect my host to port 443 such as: server { location / { return 307 https://$host$request_uri/?lang=fa } } It's work and redirect to ...
PersianGulf's user avatar
  • 11.3k
0 votes
1 answer
319 views

When I tried to start the openresty like this in CentOS 7.9, told me the nginx did not start: [root@k8sslave01 letsencrypt]# systemctl status openresty.service ● openresty.service - The OpenResty ...
Dolphin's user avatar
  • 791
0 votes
0 answers
820 views

I have allowed the port in ufw and have the following configuration: server { listen 0.0.0.0:8000 default_server; server_name _; index index.html; access_log /var/log/nginx/html....
RadoslavL's user avatar
0 votes
0 answers
436 views

I have a small test server at home and I registered with letsencrypt to get a valid certificate. Certificate expired and wasn't automatically renewed (no harm done, this is strictly for testing ...
ZioByte's user avatar
  • 930
0 votes
1 answer
394 views

Context: I wanted to install Big Blue Button on a Ubuntu virtual machine via SSH; I followed correctly the official tutorial up to the "Install" section; I entered the following command on ...
BsAxUbx5KoQDEpCAqSffwGy554PSah's user avatar
0 votes
0 answers
44 views

I have a totem with Android operating system connected to a Raspberry (in DHCP) with Nginx, the Raspberry is connected to the network via Wlan interface. The totems are managed by a VM connected ...
Neffy's user avatar
  • 1
1 vote
1 answer
194 views

I'm ran into an issue with Nginx and I need your help. I've created 2 A DNS records: www.domain_name.docker.hub.registry.domain_nameetc.com and domain_name.docker.hub.registry.domain_nameetc.com I ...
Brandon Michael Hunter's user avatar
0 votes
0 answers
3k views

I'm having a hard time on this... My server sets multiple cookies and wants to rewrite one of them by appending ";SameSite=None" to it. Prefer not to append this to all Set-Cookie headers. I ...
Asanka's user avatar
  • 1
-2 votes
1 answer
85 views

https://www.keycdn.com/support/logrotate#maxsize This limits each log file's size to the specified number of bytes /var/log/nginx/*.log { size 50G } Does the 50G size here means the size of all the ...
achhainsan's user avatar
-2 votes
1 answer
995 views

I want to add websites with SSL-certificates and URL-redirects to my running nginx-server. I thought of adding a config per website to nginx/conf.d/newsite.conf and then restarting nginx, but I ...
wellumies's user avatar
0 votes
0 answers
315 views

I'm using Rocky Linux. My NGINX setup randomly stopped working after having previously worked perfectly for months, now all of my reverse proxy sites don't work anymore. I receive an ...
SeaswimmerTheFsh's user avatar
0 votes
1 answer
74 views

I'm currently conducting performance testing on my NGINX web server container and I'm encountering some unexpected results. My tests show that HTTP performance is outperforming HTTP/2, despite SSL and ...
Mhd HZ's user avatar
  • 1
0 votes
0 answers
300 views

I am running a LEMP server with Nginx, and have the "listen 80 default_server;" directive enabled for port 80 in the catch all /etc/nginx/conf.d/default.conf directive. When I browse to the ...
DanRan's user avatar
  • 113
0 votes
1 answer
347 views

I've setup a website on a EC2 Linux host (hosted by NGINX). The directory /var/www/html has owner:group as www-data:www-data, so I figured I'd add myself to the www-data group so I was able to edit ...
PatS's user avatar
  • 644
0 votes
1 answer
119 views

I have two domains linked to the same server: domain1.com and domain2.com. When I try to configure two separate websites using these domain names, I encounter an nginx error 500. I have set up nginx ...
Antareo's user avatar
  • 11
0 votes
0 answers
1k views

I am using Nginx to serve static files from server. Static file is located in root folder, /server/cdn. I give all permission to this folder with sudo chmod 777 -R server command. Also I changed the ...
Alok Prakash's user avatar

1
2 3 4 5
15