Skip to main content

Questions tagged [nginx]

Nginx ("eNgine x") is a lightweight, high-performance HTTP server, reverse proxy, TCP stream proxy and mail proxy, released under a BSD-like license.

0 votes
1 answer
46 views

how to prevent cloudflare from stripping access-control-allow-origin response header?

I'm configuring nginx to serve static images, I want to make it available for other domains, and tried adding this directive on location block: add_header Access-Control-Allow-Origin *; I tested in ...
ReYuki's user avatar
  • 41
0 votes
0 answers
33 views

Nginx header with version [duplicate]

Hello Guys we are using nginx open source from amazon repository I removed the version header but still the nginx name showing as it is can any one know how to remove the nginx name we have amazon ...
swapnil pawar's user avatar
0 votes
1 answer
155 views

nginx rewrite remove all arguments from uri

I've been spinning my wheels for a month on the following problem. Nothing I have tried from reading lots of answers from here and on stack exchange about rewriting queries has worked. Google has ...
Curtis Maurand's user avatar
0 votes
0 answers
91 views

Podman Container Issue - Apache2/Nginx Web Server 403 Forbidden

I’ve been encountering a very curious issue with a Podman container, and I’ve been trying to resolve it for days now. I want to run Container (1) with a web server (Apache2/httpd) on a VM. I forward ...
Robin's user avatar
  • 1
0 votes
1 answer
61 views

More issues with NGINX reverse proxy

For the life of me, I cannot seem to get my NGINX reverse proxy server working for virtual hosts. And before anyone tells me to use NPM, I'm already using it; however, the server is (1) virtual, (2) ...
John Klein's user avatar
0 votes
0 answers
204 views

AWstats on Nginx with multiple virtual hosts

I got awstats set up on Ubuntu with Nginx, and it is now reading the log files and generating statistics. However it is combining multiple sites into one set of stats, even when using the ?domain.com ...
Thystra's user avatar
  • 111
1 vote
0 answers
125 views

is it necessary to recreate the image to have the right level of log?

I’m running php-fpm and nginx in the same image, both managed by supervisord.conf, and deploying that image to a Kubernetes cluster. Our team wants php-fpm—and especially nginx—logs to go to stdout ...
Andy K's user avatar
  • 79
0 votes
0 answers
101 views

Nextcloud All in One Returns 502 Bad Gateway error

I am using 1Panel to manage Docker containers which utilizes Openresty 1.21.4.3-3-3-focal for the reverse proxy server. I have used the following compose.yml services: nextcloud-aio-...
expermint's user avatar
0 votes
1 answer
135 views

Add rule to IPTables when also running Fail2ban

I'm running a nginx web-server on a Raspberry Pi 4b running Bookworm. It seems to be running fine and IPTables/Fail2Ban seem to be catching potentially malicious traffic with my rules/jails. Recently ...
RDK's user avatar
  • 123
1 vote
1 answer
197 views

Hugo Performance: Thousands of post subdirectories within public directory

I'm going to host a lot of Hugo posts as page bundles(directories) on a ZFS filesystem on a FreeBSD machine. So there's going to be 100,000 directories(page bundles consist of images and an index.md ...
SeriousGeorgian's user avatar
1 vote
1 answer
451 views

Nginx not setting Access-Control-Allow-Origin on cross domain fetch request

I'm struggling with some Nginx/CORS configuration that had been working for a few months but has stopped recently. I have three domains: an API at api.example.com and two frontends at auth.example.com ...
Tony Merryfield's user avatar
1 vote
1 answer
92 views

NGINX can't resolve upstream name from it's own config

I have a MarkLogic cluster set up in docker and I wanted to add nginx as a load balancer so I can access all hosts on the same ports. The basic configuration doesn't work, when I try to access http://...
trueboar's user avatar
3 votes
0 answers
77 views

Nginx responds on private IP but not on public IP in AWS EC2

I have an Nginx server in EC2. It's in a VPC on a public subnet that's attached to an internet gateway. The security group is configured to allow traffic on port 80 and 443. The instance is running on ...
AlexLordThorsen's user avatar
1 vote
0 answers
79 views

Increasing net.netfilter.nf_conntrack_max leads to unavailable server

We are running debian bullseye kernel-5.10.0-35-amd64 with 2 10G NICs and one smaller NIC which is unused: 01:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection ...
Janning's user avatar
  • 1,741
1 vote
1 answer
93 views

How to configure Nginx reverse proxy with Docker for nopCommerce to work with HTTPS?

Where this question can be asked May be server fault? I’m running a nopCommerce ASP.NET Core application using Docker containers on Linux. Setup: nopCommercecontainer (ASP.NET Core app, exposed on ...
Akash Raghav's user avatar

15 30 50 per page
1
2 3 4 5
1163