Questions tagged [nginx]

nginx (pronounced “engine x”) is a lightweight web server and a reverse proxy server

Filter by
Sorted by
Tagged with
0
votes
1answer
20 views

Redirecting URL to access web server with NGINX in WSL does not work

We have a C# .Net Core 3.1 application that hosts a web site (all configured in Program.cs and Startup.cs) which works wonderfully on Windows. It is setup so the welcome page is shown on https://ip/...
1
vote
0answers
7 views

QGIS Server Installation Fail

I'm trying to install QGIS Serveur on Ubuntu. I have followed this tutorial but it is not complet : https://docs.qgis.org/3.10/en/docs/user_manual/working_with_ogc/server/getting_started.html#nginx I'...
0
votes
0answers
9 views

How to forward a domain from/in GCP cloud DNS zone?

I've 2 domain names registerd in uniregistry. D1 and D2. I've good website running on D2 (not a wordpress site, but a ruby on rails based site), on/in Google Cloud Console. I want to forward all my ...
0
votes
0answers
13 views

Secure Websocket Proxy through NGINX Works in NodeJS but not in browser

So I have this NGINX config map $http_upgrade $connection_upgrade { default upgrade; '' close; } # Websocket Server server { server_name ws.###.###; listen 8443 ssl; include ...
0
votes
0answers
25 views

NGINX reverse proxy to dovecot/postfix server

IPFire running nginx as reverse proxy with Let's Encrypt certificates for various sites. (This portion works just fine.) Setting up email server with dovecot and postfix and roundcube. How can I ...
0
votes
1answer
22 views

How to set up email notifications for certain strings in Nginx access.log?

I would like to be notified every time a line with a certain string appears in my Nginx's access.log. I imagine a certain combination of a continuously running tail + grep -w 'foobar' /var/log/nginx/...
0
votes
1answer
37 views

ffmpeg inside nginx-rtmp module doesn't work when scaling video

So I setup an nginx RTMP server using this rtmp module. Below is my nginx.conf that I made following this guide. rtmp { server { listen 1935; chunk_size 4096; ...
0
votes
2answers
56 views

Dedicated server: will switching from a HDDs to a SSDs reduce I/O usage?

I have a kind of video (mp4) hosting site. The last 2 years there were no problems with the site. But now I have encountered a problem with I/O usage: iotop command results I am currently using a ...
0
votes
0answers
17 views

Nginx creates log files owned by root instead of specified user

I am running CentOS 7.7 and I want to run Nginx under custom user with custom www and log locations. I have already hit SELinux so I enabled my custom directories: semanage permissive -a httpd_t # ...
0
votes
1answer
12 views

curl error SSL_ERROR_SYSCALL

Running the command curl -v https://myhost, curl shows the error curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to IP:PORT What might be the root issue?
0
votes
0answers
9 views

Allow certain ports only on one subdomain

I have multiple domains and subdomains, and I have a serivce on a port, that I'd like to setup so that it's accessible only on one certain subdomain. So for example foo.bar:9999 works, but bar:9999, ...
0
votes
0answers
57 views

Reload nginx RTMP config file without restarting nginx

My scenario is: I have an nginx server that is used to forward RTMP live stream to YouTube. I would like to add some additional destinations in the config file (nginx.conf), while the livestream is ...
0
votes
0answers
7 views

AWS Connection timeout error in nginx error log

I asked this question on stack overflow but I haven't got any responses so I'm asking here. Is that allowed? Lmk if it is bad form and I should delete it here. https://stackoverflow.com/questions/...
0
votes
0answers
11 views

How can I filter the social media accounts an RTMP stream is pushed to by utilizing a stream key (unique stream name)? (Nginx/RTMP)

I'm using social media as an example, but really it could be any RTMP ingest URL. It looks like with the Nginx RMTP module you can not use patterns inside of nginx.conf, as well as not being able to ...
2
votes
1answer
61 views

How to allow specific SSL client certificates in Nginx?

Nginx's ssl_client_certificate and ssl_trusted_certificate directives can be used to allow client certificates signed by a given authority. But how can I allow specific certificates? I would like to ...
1
vote
0answers
57 views

Nginx RTMP to HLS issue

I am trying to figure out the issue when pushing to RTMP which has HLS turned on. Below is the command I am using: ffmpeg -i hls.m3u8.url -vcodec: copy -acodec libfdk_aac - -f flv rtmp://serverurl/...
0
votes
1answer
157 views

Hitting a wall with nginx SSL forwarding

I have an ningx reverse proxy server (running on a VM). I need it to forward 443 traffic from a subdomain to another VM running Jitsi (which requires its own installation of nginx with ssl certificate ...
0
votes
0answers
29 views

Let's encrypt, multiple webserver, one certificate

Im searching for a long time now. What is the best way to share a let's encrypt certificate across multiple webserver ? As example for a HA Cluster. One way i tought about was, to create a "dummy"...
1
vote
1answer
114 views

nginx data corruption when kTLS is enabled. Any ideas why?

I am using a 5.6 kernel with kTLS feature enabled (shown below): CONFIG_TLS=y CONFIG_TLS_DEVICE=y While installing nginx with OpenSSL support, I have enabled extra feature 'enable-ktls' for OpenSSL ...
0
votes
1answer
26 views

Unable to access my server with my domain name in http with a browser

I installed nginx on my server and want to access it with a browser using my domain name. Basically i can do that using my server IP http://41.111.142.74/ Now trying to do that with my domain name ...
0
votes
0answers
31 views

configuring sslh to work with nginx on https port

I am new with sslh configuration, but I faced problem: I have fedora server with nginx-1.16.1 configured with: http (80) https (3000) On sslh i have this config: listen: ( { host: "0.0.0.0";...
0
votes
0answers
15 views

nginx reverse-proxy a service in a sub-directory expecting to be at a root domain

A service that I am hosting expects to reside at the root of the domain. I would like to run it under a sub-directory as I am hosting several services on the same domain. Is there a combination of ...
0
votes
0answers
44 views

Why does my private server always fail to connect when I attempt to stream?

I'm confused on a number of fronts here. I just want to stream the output of my blackmagic card, or at least one of my computer monitors, to one other person via the internet in order to conduct a ...
0
votes
0answers
120 views

Receiving “Failed to start A high performance web server and a reverse proxy server.” after redis installation

I received the following error: Processing triggers for ureadahead (0.100.0-21) ... N: Ignoring file 'plesk.list.ai_back' in directory '/etc/apt/sources.list.d/' as it has an invalid filename I ...
0
votes
1answer
36 views

NginX cuts out stream to a server at “random”

I've setup my personal restreaming server with NGINX (1.7.12.1 Lizard with RTMP module, but tried a few others and result the same), but at random times random intervals this thing keeps CUTTING the ...
0
votes
0answers
44 views

Nginx resolver Not Taking Effect When Traffic Passed To Upstream

I am using the resolver directive in the tcp stream module in order to prevent Nginx from caching a single dns entry for s3.amazonaws.com. However, when I use an upstream, the resolver is not used ...
0
votes
0answers
315 views

Is there a way to stream only audio from nginx's RTMP module?

I'm very satisfied with nginx's RTMP module; I like the way it works and the way it does what it does. I thought it would be a perfect live audio streaming platform, but I can't seem to find any ...
0
votes
0answers
55 views

Internal only reverse proxy rules?

For the past couple years I've been running Home Assistant on a server and using several of its plug-ins for my home network; Pi-Hole and Nginx Reverse Proxy Manager. My Asus RT-AC87U has its DNS ...
0
votes
0answers
247 views

Nginx RDP gateway tunnel

I've configured nginx to proxy https traffic to a RDS connection broker. The https connection works and i can see the webpage of the RDS server and login to it. When i want to launch a remote app this ...
1
vote
1answer
120 views

nginx - Filelisting encoding messed up

I'm using nginx 1.17.8 on Windows 10. In the config I have set autoindex on, which works fine. But then some files with special characters are wrongly encoded / messed up: The auto generated link for ...
0
votes
0answers
133 views

How to use variables in NGINX RTMP and what do they do?

I've been trying to get my head around how the variables work specifically $name and $app. What are the benefits of using variables within a multi-stream and multiple stream qualities? This is the ...
0
votes
0answers
44 views

Proper permissions for nginx + SFTP chrooted users

We are moving to a new box and I'm making an effort to do things right, or at least better. CentOS 8.1 I have setup SFTP users. They are added to a group called sftp_users. They are chrooted to ...
0
votes
0answers
12 views

I am trying to replace the redirect_uri on the below URL and I am not abel to get that done

I am trying to replace the redirect_uri on the below URL and I am not abel to get that done. Actually I have an application and the application is authenticated againest Azure AD. I am using ngnix as ...
1
vote
1answer
165 views

Getting WordPress on an Nginx proxy to work with a subdirectory

I'm trying to use the WordPress official Docker container to serve content from https://example.com/blog. An Nginx instance sits in front of WordPress and handles all the SSL-ishness. Nginx is ...
0
votes
1answer
204 views

NGINX Reverse proxy with HTTPS

Follow up of a previous question of mine. What I want to do? I want to have my reverse proxy [NGINX] to redirect incoming webtraffic (HTTP and HTTPS) to the correct server based on the sub-domain. ...
0
votes
0answers
20 views

Unable to access sites behind reverse proxy

I'm trying to set up a reverse proxy on my home server and I cannot for the life of me figure it out, so I was hoping you guys would be able to help. I'm trying to set it up Jwilder's nginx reverse ...
0
votes
1answer
54 views

vsftpd - can't upload via upload tool but can with ftp client

I am using nginx as my web server and vsftpd for FTP access. I have all set up and a test site running which is accessible from the outside world. Also have an API backend that is also serving fine. ...
0
votes
1answer
132 views

This site can’t be reached + URL check: timeout

During installation of a software in the PC I got problems with grub system in Ubuntu 18.04.4 Desktop, which I resolved copying, from an installation iso image, the /bin/bash folder: https://askubuntu....
0
votes
0answers
27 views

Why URL nginx doesn't work without slash in the end?

I'm trying to have access to my web-app through this address: http://127.0.0.1/rukovoditel but it doesn't work. I get an error HTTP301/Moved permanetly. I can have access just if I go through the ...
0
votes
0answers
93 views

Nginx Reverse Proxy for Secure WebSocket with Two Seperate Server

I searched a lot about this, but somehow, I couldn't figure it out. Here is summary for my case: I have a client server which runs on Apache + Cpanel with letsencrypt ssl certificate. When a user ...
1
vote
1answer
42 views

SSL PROTOCOL ERROR when connecting to my website through its name

Today I issued and installed SSL certificates for my website. This is the rating assigned by https://www.ssllabs.com/ssltest/analyze.html : This is the result of https://check-your-website....
0
votes
0answers
46 views

Configure Nginx to reverse proxy docker containers to subdomains

server { listen 443; server_name https://domain.dev ssl_certificate /etc/ssl/domain.dev.crt; ssl_certificate_key /etc/ssl/domain.dev.key; location / { proxy_pass http://...
0
votes
1answer
281 views

Metallb vs Nginx Ingress in Kubernetes

From what I understand, Metallb is a load balancer that assigns IP address to a service, which can be exposed to the outside world. Nginx Ingress is just like normal nginx, but it resides in ...
1
vote
1answer
547 views

Cannot install Nginx on AWS EC2 AMI2 - Topic :topic: is not found

I would like to install Nginx as a reverse proxy on my AWS EC2 (OS: AMI2) instance. When I try to install nginx, I get told that nginx is available in Amazon Linux Extra topics... sudo yum install ...
2
votes
1answer
627 views

Helm chart nginx-ingress controller TCP redirect http to https

My environment is hosted in AWS. I had deployed the helm chart stable/nginx-ingress in TCP mode (I need an AWS ELB in TCP mode for WebSocket. I need exactly ELB classic!), also I need to use AWS ACM ...
0
votes
0answers
127 views

Use NGinX to serve static files or a file server

I am very new to NginX. I wanted to use it both as a web server, and for file transfer operations. I imagined it'd be something similar to the FTP server which can be enabled on IIS, however I ...
0
votes
1answer
143 views

Nginx reverse proxy to non-HTTP software

I'm wondering whether it's possible to do this with Nginx: server1.domain.com:9999 --> localhost:4000 server2.domain.com:9999 --> localhost:5000 server3.domain.com:9999 --> localhost:6000 ...
0
votes
0answers
235 views

How to investigate long response time for request

Developers noticed quite long response time (11 seconds) for Ajax requests on our website. The request is waiting for response in queue, because the browser already send 4 different Ajax requests. I ...
0
votes
1answer
161 views

ffmpeg- Multiple Outputs in NGINX RTMP

I would like to compress down a live video and send it two different RTMP Server at once via ffmpeg without pushing it to two local outputs. My Code looks like live on; meta copy; ...
0
votes
0answers
23 views

Fresh install of Nginx on Freshly installed macOS, only accepts requests on 0.0.0.0:8080 but not localhost:8080 or 127.0.0.1:8080

I just recently installed Nginx on a newly installed macOS. I followed several guides to get Nginx set up, and everything seems to have worked with one exception. I can't access the server using ...

1
2 3 4 5
18