Quantcast
Channel: Nginx Forum - How to...
Browsing all 4759 articles
Browse latest View live
↧

Nginx and my public ip partially work

Hello evryone, I run Nginx on a raspberry pi 3 with a wordpress site When I launch my site with my public ip adresse (that I forwarded in my router to the raspberry local ip with port 80) is ok, the...

View Article


proxy-authenticate with nginx as proxy server

Hello. I am having trouble with authentication when using nginx as a proxy server. I am using the ngx_http_auth_pam_module for proxy authentication on the proxy server. I want this to return a 407...

View Article


Re: Nginx and my public ip partially work

I add in attachment a screenshot of my problem

View Article

NGINX rewrite

I'm attempting to write a PHP application, and I'm not sure how to make the friendly URLs appear as "/category/abc.X/" where abc is a URL slug and X is an ID. Ideally, I'd like to pass it to something...

View Article

Reverse proxy and client validation using .crt certificates

Hello, I have a web api installed using docker in my Ubuntu. What I want to do is to expose my API using nginx reverse proxy so that the clients consume my API using a https endpoint. One requirement...

View Article


systemctl cannot start nginx when access_log is set to /tmp/nginx/access.log

I happened to find this annoying issue - not sure this is a systemctl issue or an nginx problem. The issue is reproducible on amazonlinux2 and centos8 (I tried both on AWS EC2) steps to re-produce: in...

View Article

Re: systemctl cannot start nginx when access_log is set to /tmp/nginx/access.log

I got the answer for this - actually this is by design: The nginx service[0] in RHEL/CentOS 8 uses PrivateTmp=true directive so it doesn't see the /tmp/nginx directory you just created. You could...

View Article

SAMEORIGIN vs CORS

Hi all, I'm using nignx in order to serve an application that (can) make use of CORS settings. That means that in the dashboard of the application I can have some settings for restricting CORS to...

View Article


REVERSE PROXY - access to script blockedby cors policy

Good Day; Can you please kindly help with error we are having below we are running URLs proxy pass on an Nginx Reverse Proxy. we are getting this error below from one of the URLS access to script at +...

View Article


Noob Needs some assistance

First off, I'm a total noobie to NGINX. And even worse, I'm a Windows guy. So I'll apologize in advance. But I have a simple NGINX install on a Windows PC running at home. All I'm currently running it...

View Article

Re: NGINX rewrite

Hi Friendly addresses. In Apche I used .htaccess and wni the entry RewriteEngine On RewriteRule ^ Home $ index.php? Str = home [L] RewriteRule ^ Contact $ index.php? Str = contact [L]. On the page, the...

View Article

Nginx proxy with multiple ips behind VPN

Hi I have a tornadoweb server hosted on a machine and nginx server on top on that machine. All routes to nginx are then redirected to the tornadoweb server. The tornadoweb server requests information...

View Article

Re: Nginx proxy with multiple ips behind VPN

Such dynamics are better solved with Lua by keeping the actual state in memory pulled from a database. Drop this into google: "nginx lua dynamic proxy"

View Article


Error in nginx configuration

Hello everyone, I am just starting my way to NGINX and I need a pro answer. There is CentOS7 on which GLPI + Nginx is installed. Everything seems to work without problems, but I encountered such a...

View Article

Re: Noob Needs some assistance

I played around with a test install. I was able to answer all of my questions. The one weird quirk I did find out is you can't use a virtual folder of /broadcast for some reason. It didn't like that....

View Article


Guidance: statisc html to redirect to kibana

I've made a simple html file, so when you log into the web it has two buttons to redirect. This is the code of this web.html file: <!DOCTYPE html> <html lang="es"> <head>...

View Article

Re: Error in nginx configuration

I close the topic, since I figured out this question myself, who cares, I will lay out my configuration in which NGINX started accessing the URL correctly. server { listen 80 default_server; listen...

View Article


Global LoadBalancer using NGINX

I'm using NGINX as a L7 SSL passthrough to a couple groups of upstream servers (also running NGINX). At the bottom of this message is my nginx configuration for this global LB that is using the stream...

View Article

NGINX proxy_pass background request

Hi, i have the following problem. I have two Applikations each of them have authentication module so when i wants to login the authentication module verfify my data but for each Applikation the...

View Article

NginX Load Balancing with Podman Compose

For those that may not know, podman is a container system that can run rootless. Podman-compose, Podman's version of docker-compose, requires that all ports be unique since they use a shared network....

View Article
Browsing all 4759 articles
Browse latest View live