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
0
votes
0answers
3 views

Restore data from folder containing _etc_nginx_site-available_jcore_loop4

A contractor left my firm and he told me that the data is in in a folder that these files He told me that these are the backup data, how do I restore these into a db? I'm not too techy but I can do ...
0
votes
1answer
11 views

A custom variable in config of nginx, in “server”, won't get resolved

I run nginx. In a "server" section for one of websites I have this: server { listen 443 ssl http2; listen [::]:443 ssl http2; set $app_name myapp; set $app_port 4000; ...
0
votes
1answer
17 views

CentOS 8 not finding Nignx 1.16 software

In my CentOS 8 server, when I update (yum upgrade) its not finding the latest version of Nginx software. it stays on 1.14 version. How to update the latest Nginx version? # yum list nginx --...
0
votes
0answers
8 views

Nginx not honouring configuration as expected

My NGINX installation is acting wired I have the below files in my sites-enabled: aria2c: server { server_name files.mydomain.com; listen 10.0.0.22:443 ssl; # managed by Certbot ...
0
votes
0answers
16 views

Nginx service would not stop, what should I do?

I am on a newly bought server with CentOS 8 and the latest Nginx. I try to stop Nginx: [root@mymachine run]# nginx -s stop nginx: [error] invalid PID number "" in "/run/nginx.pid" ...
1
vote
0answers
17 views

VM with NGINX as SSH proxy for the other guest VM's

I have some Ubuntu Virtual Box VM guests on an OSX host. I want to SSH into these guests through the internet. I want to set up one VM with NGINX as SSH proxy for the other guest VM's. The other ...
2
votes
1answer
79 views

Missing “mime.types” file causing nginx to fail

I'm on Arch Linux and installed nginx-mainline. I get an error when running sudo systemctl start. Here's the output of sudo systemctl status nginx.service: Loaded: loaded (/usr/lib/systemd/system/...
0
votes
0answers
6 views

Nginx stub_status page

Does the nginx stub_status page show statistics for all of the server blocks or just for the one in which I put the directive? http://nginx.org/en/docs/http/ngx_http_stub_status_module.html
1
vote
1answer
36 views

How to handle a too large cookie, causing Nginx to return a 502?

Our Nginx server is currently returning a 502 for a user, for our NodeJS based application and the error logs indicate: 2670 upstream sent too big header while reading response header from upstream ...
0
votes
3answers
27 views

Making a user account for a friend on ubuntu server so he can run php/apache alongside my nginx install

I have a friend who is getting into web dev and he is currently developing on a php/apache setup. I use nginx and arbirtrary server languages which is what is currently running on my (ubuntu) server. ...
0
votes
0answers
5 views

AWS Cpu utilization Very High bcz of Nginx Procsess

My AWS Cpu Utilization is very high last 3 days some time only issue happen then i check with top command when cpu utilization is more than 90% that time too much nginx process are running so i thing ...
0
votes
0answers
15 views

service on centos7 using python flask uwsgi and nginx

I am trying to build a service with nginx that run uwsgi file. My service name is “slvv.service” this is my service code [Unit] Description=uWSGI instance to serve slvv After=network.target [Service] ...
0
votes
0answers
8 views

Hashicorp Vault UI - Failed to find a valid digest in the 'integrity' attribute … The resource has been blocked

I am hosting Vault and Consul servers in a private subnet, inside this private subnet I have dedicated instance to serve as a reverse proxy server let's say the instance is called (...
0
votes
0answers
32 views

Problem with configuring a unix socket between Nginx & Tor

I'm running an Ubuntu 20.04 web server with LEMP stack. I can run a hidden service with using localhost IP/Port (127.0.0.1:80) but when I tried to use unix socket instead, My hidden service address is ...
0
votes
0answers
18 views

Correct way to proxy pass / port forwading apps between 3 linux server with NginX

I'm building RTC video call with janus gateway through websockets. Need some suggestion about how to proxy pass 3 server. I don't know if port forwarding is the correct name for this case I have 3 ...
1
vote
2answers
79 views

Restore deleted version of nginx configuration

I applied the following wrong Sed command to my nginx configuration: sed 's/php7.2-fpm/php7.4-fpm/g' /etc/nginx/sites-enabled/default > /etc/nginx/sites-enabled/default And the entire file is gone....
0
votes
0answers
17 views

how to add complete website on nginx

Hello I recently install nginx on ubuntu 20.4 LTS and everything works fine I just installed nginx and setup a basic config to get the nginx welcome page. My question is I already have a fully ...
0
votes
0answers
18 views

How to make NGINX directory editable?

So I dowloaded nginx and I see I can't make modifications to the folder i.e I want to change the nginx.conf file but I don't have the permissions to do so. I get Error setting permissions: Operations ...
0
votes
1answer
82 views

Nginx with fastcgi permissions issue, but files are owner:group nginx:nginx

Running an nginx server, and installed munin to monitor a few services on other machines. I am following these docs for installing munin cgi on nginx: https://guide.munin-monitoring.org/en/stable-2.0/...
0
votes
1answer
60 views

500 error on index.php with nginx + php-fpm

Before starting, I'd like to ssay this is my first experience with VPS, I have an Ubuntu 18.04 64bit minimal server. For everything I tried so far I didn't tried using complex application. Just plain ...
0
votes
1answer
128 views

systemctl start nginx fails

Disclaimer: I have 0 server administration experience, so forgive my terminology and apparent lack of effort in describing the issues. I just don't really know what I'm doing. Anyway, I was following ...
4
votes
1answer
120 views

Can you install Ubuntu or Debian packages in Alpine?

I want to ask if it is possible to install Ubuntu or Debian packages in Alpine? I know Alpine uses musl while Debian uses glibc. Still I would like to know if it is possible without too much work. I ...
0
votes
1answer
44 views

Nginx Print log for last 10min where nginx has time Stamp Format “time_iso8601”

Purpose: To print last 10min nginx api_access.log from current time in the server. How I tried: I tried to compare the timestamp in nginx api_access.log with current time and then print the logs which ...
0
votes
0answers
24 views

How to get the original filename of symlinks in nginx?

From another script i got some generated symlinks. 2QGPCKVNG1R -> /anotherdir/movie1.mp4 HJS7J9ND2L5 -> /anotherdir/movie2.mp4 LKA6A9LA7SK -> /anotherdir/movie3.mp4 Displaying these files in ...
0
votes
1answer
32 views

Install ModSecurity Rules from Trustwave SpiderLabs

I am using Nginx open-source and ModSecurity version 3.0.4. I have run "OWASP ModSecurity Core Rule Set (CRS)" and it has worked well. But recently I have bought the Commercial Rules from Trustwave ...
0
votes
0answers
44 views

How can I show only images in autoindex NGINX config?

I'm using the "autoindex" module in NGINX. By setting autoindex on in my configuration I get a directory listing showing all files. Is it possible to configure it to show only images?
0
votes
0answers
16 views

How install the Geoip2 module on a Nginx running in a production environment?

Can someone explain to me how to install the Geoip2 module on a Nginx 1.14 running in a production environment without breaking the current configuration? I only find sources indicating how to ...
0
votes
1answer
16 views

What is the cause of the bad performance of NGINX / PHP which host only 1 Wordpress website

I spawned a LXC container on our (Proxmox) hypervisor (we run multiple containers on it without any performance issue). I installed NGINX and PHP7.4 on it and host (currently) only 1 Wordpress website....
0
votes
0answers
31 views

How to NGINX reverse proxy to backend server which has a self signed certificate?

I have a small network with a webserver and an OpenVPN Access Server (with own webinterface). I have only 1 public ip and want to be able to point subdomains to websites on the webserver (e.g. ...
0
votes
1answer
36 views

How to pass argument to file used in nginx command?

I have the following line in my nginx.conf file: proxy_set_header Authorization "Basic dXNlcjpwYXNzd29yZA=="; Currently, the command to start the nginx is: exec nginx -c /etc/nginx/nginx.conf Is ...
2
votes
1answer
129 views

Update NGINX using debian

I installed Nginx 1.10.3 on Debian 9 and I would like to update him to the latest stable version (1.18.0). I looked up several websites that explained how to do this, however they all used Ubuntu. It ...
0
votes
2answers
39 views

Unable to add Let's encrypt ssl certificate to domains using nginx (certbot) [closed]

I have an issue with applying Let's Encrypt SSL certificates to my domains using nginx and certbot. My (Nuxtjs) website is running on a VPS with Ubuntu 18.04. I want to add the certificates to ...
2
votes
1answer
86 views

nginx configuration: how to load static files other than index.html

I'm trying to figure out how to load static files, other than index.html, in nginx with Ubuntu 18.04.4 Desktop. I added to /etc/nginx/conf.d/default.conf the following lines: server { location /...
0
votes
0answers
19 views

Deleting nginx sites-available and replacing it with a cloned sites-available

I have several conf files because i am hosting several domains to use same nginx installation. I have the confs prepared inside a git repo called sites-available. So when i delete nginx original sites-...
0
votes
0answers
29 views

NGINX : HLS File Proxy

I am facing one issue related to NGINX proxy_pass. I want to use proxy_pass to redirect the URL. I do have two URL: one URL which is having UDP multicast packets HLS URL I am able to tune to UDP ...
1
vote
0answers
45 views

Make sslh or nginx listen to serial port, to get VPN or HTTP(S) or SSH over serial port (real, emulated and/or virtual)

I would like to make more services than serial-console-login available via serial-port. In essence, I want to make a traditionally network-listening service (with strong encryption/authentication) of ...
0
votes
0answers
36 views

Permission denied in Atom while saving a file. User belongs to the group that has the permissions

Issue: I want to save files while working in Atom but I get a permission denied response. Description: The folder acts as a source for a couple of Docker containers (nginx, wordpress & mysql), it ...
0
votes
1answer
47 views

Nginx rules for dockized linuxserver/dokuwiki on subdirectory path

I can hit the container by typing /dokuwiki but the assets and links are messed up. What I currently see Since PHP is included in the dokuwiki container I'm not sure what I need to add in the nginx ...
0
votes
0answers
14 views

Nginx reverse proxy - application needs to go to path of another app

I'm running a reverse proxy, and on /app there is a application1, when the user logs in he should go to his home page, but the application1 goes to / of the web server, but at the reverse proxy theres ...
1
vote
0answers
204 views

Implementing outbound PROXY Protocol on NGINX reverse proxy on a per-host basis

I have a NGINX instance (nginx/1.17.7) that acts as a tls passthrough reverse-proxy (not terminating TLS but forwarding raw-tcp connection according to SNI headers). The main drawback of this ...
0
votes
0answers
7 views

Dynamic page builder, publisher 404 error

Working on a website that is a page builder and publishes a page to the website configured by the end-user. We have two different NGINX server one for application and one for those published sites ...
0
votes
0answers
77 views

Flask application running on uwsgi and nginx crashes with SQL Server transaction error

Python: 3.5.2 pyodbc: 4.0.28 OS: Ubuntu 18.04 DB: Microsoft SQL Server driver: ODBC Driver 17 for SQL Server WSGI: uwsgi & nginx Issue: Hitting error SQL Server Failed to resume transaction, for ...
3
votes
0answers
58 views

NGINX `limit_req` not working in location directive for an index file

I am trying to add an nginx location directive for limit_req, but it's not working for me. I have 2 targets where I wanted to add the limit_req. Website API path Here is my server config file. ...
1
vote
1answer
35 views

resources mounted via sshfs and fstab on a nginx-server give 404 errors - gone on refresh

Here is a scetch of the situation: I'm running a nginx server (machine 2) which provides the work of our students. The student work itself lies on another machine (machine 1): our gitolite server. ...
0
votes
0answers
30 views

php 7.3 is crashing itself

stack : No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 9.5 (stretch) Release: 9.5 Codename: stretch PHP 7.3.14-5+0~20200202.52+debian9~1.gbpa71879 (cli) (...
1
vote
1answer
131 views

nginx: How to handle 404 directly in a reverse proxy for some filenames (*.txt) only?

I have a complex nginx setup where a front nginx at ports 80 and 443 handles all outside access including TLS. For files in /texts the frontend-nginx shall proxy request to a second backend-nginx ...
0
votes
1answer
50 views

How to check NGINX configuration using Bash?

I need to programmatically check the NGINX configuration for correctness using bash. The result of the nginx -t command is assigned to a variable, and by the condition I compare the substring - syntax ...
0
votes
1answer
328 views

NGINX RTMP not working with sites-enabled directory set

I'm having problems getting NGINX with the RTMP module to start when the RTMP server block is used within a file inside the sites-available (symbolic linked to sites-enabled). NGINX configuration ...
0
votes
0answers
129 views

PHP - FPM - Nginx - serving PHP files

I have PHP installed locally on a macOS Catalina 10.15.3 system; php -i phpinfo() PHP Version => 7.3.11 I have Nginx up and running serving static files: What's the easiest method to make Nginx ...
0
votes
0answers
21 views

Adjusting the CPU usage of uwsgi

I have daemonized uwsgi server with django. I am cheking process with top command. Every time request comes, uWSGI process surpass %CPU 102% %MEM 90%. It might be dangerous for long usage, I guess. ...

1
2 3 4 5
13