All Questions

Tagged with
Filter by
Sorted by
Tagged with
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 ...
simboyd's user avatar
0 votes
1 answer
46 views

Remove trailing slash on nginx except for certaing URLs

I'm removing the trailing slash in a nginx virtual host using the following code but I would like to prevent that from happening when the url has certaing words or slusg like i.e /bar/ or /foo/ etc. ...
peris's user avatar
  • 508
0 votes
2 answers
111 views

Why cannot Nginx access files in the `wp-includes` directory?

I have a WordPress website that I installed on an Ubuntu server. I setup Nginx to listen for requests and to push them to php-fpm. I am using the pool feature so that the WordPress site can have all ...
SunSparc's user avatar
  • 1,008
1 vote
0 answers
57 views

nginx Failing to Serve Static Files to Flask

I've tried numerous solutions of other posts, but nothing seems to work for me, I always get a 404 error, when trying to let nginx serve static files of my flask application. On my local host server, ...
AnthonyShea's user avatar
1 vote
1 answer
56 views

nginx fowarding 20% (spaces) instead of + in url

I have an NGINX config that takes url's converts them with regular expression, this works fine. The issue is that while forwarding to the new atlassian instance the + from the URL is turned into %20 ...
Joeri_Damian's user avatar
0 votes
0 answers
58 views

DirectAdmin Apache/Nginx Reverse Proxy Custom Subdomain Config

I have a particular application on a subdomain that needs a custom Nginx configuration to work. I am using DirectAdmin control panel to make per-domain customisations. However, I am getting confused ...
Mark's user avatar
  • 1
0 votes
0 answers
149 views

inside nginx custom docker image, cron service is running but not the jobs executing

Dockerfile of nginx container FROM nginx:latest # Remove sym links from nginx image RUN rm /var/log/nginx/access.log RUN rm /var/log/nginx/error.log RUN apt-get update && apt-get install -y ...
Rajsekar Reddy's user avatar
-1 votes
1 answer
30 views

Server Response Time Fluctuation on VPS for Static Files

I monitored some of my VPS (shared CPU from major suppliers), and response time changes over time from 50ms to 2000ms. There is no traffic on the server and there is no database. So is this because of ...
doraemon's user avatar
  • 141
0 votes
1 answer
144 views

How can I setup Nginx with a transparent socket?

Similarly to this Cloudflare blog post, I am trying to setup Nginx with a transparent socket (with the IP_TRANSPARENT socket option). I want to do this to implement a reverse TCP proxy that ...
dippynark's user avatar
  • 232
0 votes
1 answer
1k views

Why does default nginx access log show access.log > /dev/stdout

I'm running nginx locally. Without adding any explicit logging configuration to nginx.conf, a symbolic link is added under /var/log/nginx, for access.log: /var/log/nginx # ls -l lrwxrwxrwx 1 root ...
Chris Halcrow's user avatar
0 votes
0 answers
161 views

How I can create local repository with module packages

I have VM with Oracle Linux 8. I need to create a local repository with nginx. But it's a module package. How I can download module packages from officially repository? If I downloaded with: repotrack ...
Umispo's user avatar
  • 3
1 vote
1 answer
450 views

How can you run two instances of Nginx on the same machine without Docker?

I've been searching for how to install two instances of nginx on my server without Docker/containerization, but I've found little results. How can this be done? Possible use cases: You have two ...
pkSML's user avatar
  • 191
0 votes
0 answers
132 views

What is the proper value of "fastcgi_split_path_info" in Nginx virtual host when using php 7.4 with "cgi.fix_pathinfo = 1" on Nginx v1.25.1 Mainline?

BACKGROUND: I am running a LEMP server with Ubuntu Server 20.04 with Nginx v1.25.1 Mainline and php7.4-fpm. In my virtual hosts file I am trying to set the proper and working fastcgi_split_path_info ...
DanRan's user avatar
  • 103
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 ...
DanRan's user avatar
  • 103
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 ...
DanRan's user avatar
  • 103
0 votes
1 answer
52 views

Nginx to serve the same tiny image everytime

I am using NGINX to serve a tracking pixel ( 1x1 image ) just to log the http call Can I serve the image right from memory rather than having to serve a file
Ram's user avatar
  • 227
0 votes
0 answers
199 views

How to deploy nextjs app using pm2 on cent OS 7.9 server?

I am facing trouble in Cent OS though. I install nginx using yum install nginx Now the folders in nginx were missing, so I created sites-available and sites-enabled. Then edited /etc/nginx/nginx.conf ...
user avatar
-1 votes
2 answers
513 views

nginx and php-fpm waiting for server too long

I am using docker to mount nginx and a PHP-FPM using Phalcon Framework and React as the front end `upstream fastcgi_backend { server bfy-%APP_VERSION_UID%_buildify-php-fpm_1:90%FPM_PORT_PREFIX%; } ...
Apoorv dev's user avatar
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; ...
Mihir Savla's user avatar
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 ...
Jordi Tomàs Molina 's user avatar
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/...
DanRan's user avatar
  • 103
0 votes
0 answers
111 views

Hard coded nginx memory limit

Is there a hard-coded memory limit when using Nginx as a reverse proxy? I don't find any relevant information about this, so I assume there is no limit in nginx itself.
D.Bence's user avatar
0 votes
0 answers
721 views

Tomcat 404 error after calling the web services

For the first time, I want to deploy a java web application in tomcat9 (On the Linux OS). I have successfully deployed it and tomcat is running. Also, on the browser, the index.jsp page is shown ...
Mona Kouhi's user avatar
0 votes
0 answers
4k views

Nginx upstream block host not found

I'm running a nginx container where it maps to another backend container. When I tried adding upstream block in nginx.conf which is like upstream backend_servers { server backend:8000; } The ...
snowlash's user avatar
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 ...
Ind's user avatar
  • 101
0 votes
1 answer
609 views

How to allow connections only from frontend container to backend container?

I'm trying to setup my frontend, backend and my DB using docker. Here are the conditions where only my frontend container should make request to backend and not to the public. I have written a conf ...
snowlash's user avatar
-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 ...
jfreak53's user avatar
0 votes
1 answer
136 views

Nginx doesnt' log into access.log

I'v been struggling with Nginx logging. A problem that I found out first was logrotate failure. so I've changed user to the same owner of nginx worker process which is www-data and I forced logrotate, ...
Taylor's user avatar
  • 1
1 vote
1 answer
82 views

Redirecting specific subdomain with NGINX to point to a different website while using SSL

I have the following NGINX configuration: # HTTP Redirect server { listen 80 default_server; listen [::]:80 default_server; server_name _; return 301 https://$host$request_uri; } # ...
Rietty's user avatar
  • 113
0 votes
2 answers
206 views

Limit CPU Usage per PHP Pool

I'm running a typical LEMP stack where I have multiple PHP-FPM pools, one for each site that's on a Rocky Linux 8 VPS. Occasionally, some rogue process on one of the sites will cause a huge CPU spike ...
thekendog's user avatar
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. ...
Martin AJ's user avatar
  • 113
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 ...
powerpcme's user avatar
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] ...
DanRan's user avatar
  • 103
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: [...
DanRan's user avatar
  • 103
0 votes
2 answers
616 views

Nginx reverse proxy only specific sub directory and pass through everything else

I have development situation where i have a domain with multiple services: https://somewebpage.com On this service there are multiple project as subdirectories https://somewebpage.com <- landing ...
Gregor's user avatar
  • 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 ...
Mojtaba's user avatar
  • 121
2 votes
2 answers
848 views

My Nginx webserver does not correctly serve content with accented characters in files names

I just created a new web server using a Linux box and NginX. It seems to be working correctly for most content. I just converted a site which used to be on a Windows Server box and for the most part ...
RDK's user avatar
  • 23
0 votes
0 answers
38 views

Nginx phpbb3 2 urls

I have Nginx installed and i want to config the forum. The url EXAMPLE: example.com Forum phpbb3 Access : example.com Another web into the same domain: example.com/web Nginx forum path /var/www/html/...
pepeargento's user avatar
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 &...
ayoub tahir's user avatar
0 votes
0 answers
298 views

Mercure 0.14 configuration behind Nginx reverse proxy with supervisor - server not responding

I need help configuring Mercure 0.14 to run on port 3000 on a production server, which nginx will proxy to behind the path /mercure/. To install Mercure, I did the following: Grabbed Mercure 0.14 ...
cheryllium's user avatar
0 votes
1 answer
459 views

Simple DNS server in a docker container returns server unknown

its my first time posting here. I am trying to configure a DNS server with nginx so two docker containers. for some reason, when I do nslookup ns.main.com, it is returning server: unknown. Here is my ...
masafood's user avatar
  • 101
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 ...
anarchy's user avatar
  • 101
0 votes
0 answers
39 views

How to debug random NGINX spikes in file descriptors

I have NGINX Amplify running on a linux box w/ NGINX v1.18. The server has very low end-user usage at this time (< 50 browser clients at any given time). I notice random spikes in file descriptors. ...
Cory Robinson's user avatar
0 votes
2 answers
321 views

Prosody never calls http_file_share

I've tried to set up my prosody xmpp-server (more exactly: I migrated from a different machine with some really outdated version) Most stuff works fine. Apart from mod_http_file_share that is. If I ...
Dr. Azrael Tod's user avatar
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 ...
Vaibhav Vishwakarma's user avatar
0 votes
0 answers
27 views

NGINX SSL directory and .crt and .key files permissions [duplicate]

in folder /etc/nginx/ssl/ I have public and private key for domain for wildcard SSL certificate purchased from CA and transferred as root to that folder. SSL request has made on another windows ...
Carlo's user avatar
  • 123
-1 votes
1 answer
593 views

Nginx: remove port from URL

I got a service running via npm on port 3000. My nginx configuration looks like this: server { listen 80 default_server; listen [::]:80 default_server; root /var/www/html/public/; # ...
erax's user avatar
  • 3
1 vote
1 answer
4k views

Nginx not working with domain/url that points to server IP

The configuration I have set (below) works for localhost but not for my domain. The goal is to access port 3000 externally with basic auth so only I can access it. When I go to localhost, it is ...
Globe's user avatar
  • 11
1 vote
0 answers
91 views

Setup a streaming server

I would like to setup a streaming server, with RTMP and HLS protocols (and with Nginx). For that, I have a VPS (running Debian). I succeed to make everything works, but I still have an important ...
GoldFrite's user avatar
0 votes
1 answer
174 views

nginx location proxy pass to another port path

I have two docker containers running for react (http://localhost:90) and nextjs (my-next-app.com / http://localhost:85) applications, and I have Nginx configuration similar to the following server ...
Githendra McShane's user avatar

1
2 3 4 5
17