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

Using a variable in PROXY_PASS

Dear friends, I'll go straight to the point. This is my nginx.conf: set $upstream_portainer "http://my_portainer-service:9000"; location /portainer/ { proxy_http_version 1.1; proxy_set_header Host...

View Article


nginx - rate limit by argument value

First let me tell you that I'm new to nginx. I'm trying to limit request by arguments in uri. localhost/?argId=1 localhost/?argId=2 localhost/?argId=3 ---------------- nginx.conf http { ......

View Article


Re: Using a variable in PROXY_PASS

Hi Tyler_durden_83; I think you should remove the last slash of the prox_pass parameters.I mean, you could try this 'proxy_pass $upstream_portainer' and 'set $upstream_portainer...

View Article

Re: Can't solve this redirect :(

Nowbody who have any suggestion for a solution? or could helo me make this rewrite

View Article

Proxy Server or Load Balancer to pass specific URLS

Hi, I am new to Nginx and require some beginner advice. I have multiple webservers, running various apps (seafile, zammand, urbackup) all as VMs on the same network. All need to be accessed via https...

View Article


Re: Can't solve this redirect :(

Hi JoakimR; This will probably work. location /filters { rewrite .* /index.php?controller=filters permanent; } Permanent means, address that you try to access is moved to new address.QSA process is...

View Article

Re: gzip_types docx xlsx problem

Hi, Did you found any solution for this? I am facing the same issue. Thanks

View Article

subdirectory reverse proxy to root directory of internal proxy

Hello, Im trying to configure a reverse proxy which would act as a frontend for all internal applications hosted on different servers. On the reverse proxy, each internal application would be served...

View Article


Init script on Custom built nginx

Facing some problems after installing source built nginx Installed using automatic pagespeed installer on NEW Ubuntu 16.04 (Clean install) Doc Link :...

View Article


stream based on hostname

Hello! here is my example of not working config stream { map $hostname $stream_destination { hostname.com ip_address_1; hostname2.com ip_address_2; } server { listen 8080; proxy_pass...

View Article

Nginx as reverse web proxy changes all to apache default page.

I'm very confused. I am using Nginx as a reverse web proxy in VM environment with 4 VM web servers. I have 4 conf files directing to each site. The last 2 mornings I have found that all 4 sites are...

View Article

Nginx phpmyadmin redirecting to homepage

Hello, I have been struggling to find a solution to this and could uses some help please. I created a webserver using wordpress and added phpmyadmin. I am able to login to phpmyadmin and created a...

View Article

nginx: [emerg] could not build test_types_hash

Hi, I am using nginx on CentOs7. When I am using gzip with "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" MIME type, it is giving me below error: Mar 13 14:57:47...

View Article


Help wtih CORS configuration...

Hi everybody... I have this configuration applied to my server in domain.nginx.conf file location ~* \.(eot|otf|ttf|woff|woff2)$ { add_header Access-Control-Allow-Origin *; } location / { include...

View Article

How to limit requests per second per host (domain)?

Hi there! I have nginx serving several different domains. I've already applied requests limits **per IP**, in order to protect against some types of attacks. However, that limits are about the traffic...

View Article


nginx git configuration

Hi to all, I tryed to configure nginx to forward request auth to my git repository , that i ve setup with ssh key authentication. I ve try this solution but that not works fine for me . My nginx server...

View Article

Re: nginx git configuration

ssh <> http, so why are you trying to pass the ssh protocol via http ?

View Article


Re: nginx git configuration

YES simple http to ssh protocol, but that not works for me. why ? i ve to pass also the auth with ssh key than example git clone git@(httpNginxarress/repository

View Article

Re: nginx git configuration

I ve nginx on Windows frontend and git repository on Linux vm in the backend side. How i can configure that??

View Article

How to Verifiy Nginx Source Tarball with GPG on Ubuntu Server

Hi, I am new to Nginx and to PGP/GPG. I am learning how to compile Nginx Open Source from source on Ubuntu server, and want to verify the source tarball file with the PGP signature provided. The first...

View Article
Browsing all 4759 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>