Questions tagged [nginx]
nginx (pronounced “engine x”) is a lightweight web server and a reverse proxy server
1,044
questions
0
votes
1
answer
21
views
How to allow the download of files with custom extensions from a Plesk server?
I have a dedicated Plesk server with several domains. In one of them I want to make available a file called, say, "file.db"
If I try to download that file from a web browser, I get a 403 ...
0
votes
0
answers
18
views
Best way for server Traffic monitor Ubuntu? [closed]
0
I have an Ubuntu Server which is using nginx reverse_proxy to deliver some static files to my customers through different domains. for instance dl1.exmaple.com delivers my first download host files ...
0
votes
0
answers
17
views
Nginx rewrite inside location
Does make sense using of nginx rewrite statement with break flag inside location?
location {
rewrite path1 path2 break;
}
Seems like in this case it does'nt matter wich path2 is being used. Or maybe ...
0
votes
0
answers
30
views
How do I set up Geoserver on Debian 12 with Tomcat9?
My Nginx after running certbot (in sites-available/domain):
server {
listen 80;
server_name your_domain.com;
# Redirect all HTTP requests to HTTPS
return 301 https://$host$request_uri;...
0
votes
1
answer
32
views
Allow streaming only first or random frames of video but allow full download
I have a server on a Raspberry Pi 5 (8 GB of RAM btw). I have Nginx on it that allows me and others to watch my videos through a nice site. Though through trial and various errors, I found out I can't ...
0
votes
0
answers
21
views
How to setup SSL certification for host inside CGNAT accessed via ddns
I am just learning networking (absolute noob, still) and NAS managing. I have a media server running an interface app with no security measures so far, and want to implement SSL certification through ...
0
votes
0
answers
9
views
How to set-up Nginx conf to not pick Alphabetic order incase URL doesn't match reques
Wasn't sure how to word out the title but i have multiple docker server running wp/nginx Now we have a conf with a block for 80 and 443 for every site in the conf.d dir and in Cloudflare point the ip ...
0
votes
0
answers
32
views
Resolving virtual host local domain
My goal
When I go to http://my-local.dev it should resolve http://localhost:3000
My configuration
I'm using Windows 11 with WSL (Ubuntu 22.04)
/etc/hosts
127.0.0.1 localhost
127.0.0.1 my-...
0
votes
0
answers
131
views
How do I set up Nginx reverse proxy and nftables to encrypt HTTP through CGNAT? (Read description)
(repost off Network engineering stack exchange as that was not the right place.
My home network is behind CG-NAT and am not able to port forward. So, I have a Linode server configured to forward all ...
0
votes
0
answers
31
views
Nginx Reverse Proxy - Node Apps ( on port 3000, 3001, 3002 and 3003) Configuration
0
So i have 4 frontends that i needed to be accessed by public, but i want to specify an user friendly like example.com/lcd instead of example.com:3002. I want this for all those ports, 3001, 3000 and ...
1
vote
1
answer
60
views
ISPconfig/Nginx/wordpress to nginx proxy manager | wordpress using permalinks/postname
I am migrating my wordpress site from Ispconfig/Apache to Ispconfig/Nginx and introducing Nginx proxy manager in the mix. The problem seems to be the following:
htaccess is not enabled in nginx
are ...
0
votes
1
answer
29
views
NGINX multiple authentication methods (one or the other) AND an IP check seems impossible
location / {
proxy_pass $forward_auth_target;
allow xxxxx/24;
deny all;
satisfy any; # This gets satisfied by the IP check, and auth is completely bypassed
...
0
votes
0
answers
36
views
Is there a way to prevent direct copy of URL with X-Accel?
I am currently serving private images using X-Accel.
The images folder is behind the root, and I have the following block inside the nginx config:
location /private_files {
internal;
root /var/...
0
votes
1
answer
14
views
X-Accel return 404 but path and config seem to be correct
I have the following block in my nginx config:
location /files {
internal;
root /var/www/website/storage/uploads;
}
In my Laravel app I am trying to redirect get-file URI to the private ...
0
votes
0
answers
42
views
respond with a custom file from query string or default if file doesn't exist
I have an nginx server running a react single page application, simple stuff:
server{
server_name testing001.example.com;
location / {
root /var/www/testing001;
try_files $uri /...