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

Reverse proxy to backend without sending context location to backend

Hello Nginx community! I am since a bit of time trying to set up a backend server on my Nginx instance. I can access the backend directly with: status.domain.com on port 443. When I add this to my...

View Article


Re: What's wrong with my config?

Im stupid, I didnt see a leftover return 404. Please close if there even is any mods here.

View Article


Re: Reverse proxy to backend without sending context location to backend

I was trying some more here: this is what I get in access log on nginx: 192.168.0.20 - - [11/Jun/2018:15:25:46 +0200] "GET /status HTTP/1.1" 301 194 "-" "Mozilla/5.0 (X11; Linux x86_64)...

View Article

nginx + mod_rewrite

Hello Experts, I have Nginx 1.12 installed on my Amazon AMI instance. I wanted to check if mod_rewrite is enabled in my Nginx or not. please guide.

View Article

Intentionally removed nginx header is shown with pagespeed

I was using nginx 1.13.6 with headers_more_module to remove the "Server: nginx" header from all requests. Now, I have recompiled nginx with ngx_pagespeed module using the following command: bash...

View Article


Adding different headers for different requests

Hi all. So far my config has looked like this: - adding some haders globally in http block - then, if necessary, adding / removing some additional headers in location blocks for certain sites (server...

View Article

Re: Adding different headers for different requests

After some research I see that I cannot use if directive in http context, it can only be used on "lower" levels, so in server or location. However, if together with add_header can only be used in...

View Article

Re: Reverse proxy to backend without sending context location to backend

location /mylink { proxy_pass http://10.0.0.2:8000/; proxy_redirect http://10.0.0.2:8000 /mylink; port_in_redirect off; } This also seems not to work, at least for some specific content. I will try...

View Article


Nginx stops working

I am using Nginx as a reverse web proxy. I host several sites with 1 public IP address. Almost every day when I go to one of the websites I am greeted with a default Apache webpage instead of the...

View Article


[Conf File]Name resolution set in the hosts file has priority

than the redirect setting specified by [Location] on the conf file, The setting in the hosts stored in the same server takes precedence and an unexpected redirect occurs. â‘  Is it that nginx's...

View Article

nginx reverse proxy with SASStudio - same host

Hi, i'm trying to configure nginx in reverse proxy mode to access SASStudio installed (CentOS 7). getting an error....

View Article

Wrong content / side redirect

Hello, I'm encountering an issue with my server / nginx configuration and although I've searched this forum and checked other resources, I couldn't find a working solution. So, I'm using a Ubuntu 16.04...

View Article

Re: Preserving Source IP using SSL Preread + OpenVPN

i managed to do this, but not with nginx alone: My setup: Single Server with OpenVPN and HTTPS both on Port 443. Additionally: since many firewalls with deep-packet-inspection (DPI) will block the...

View Article


Re: nginx 1.10.1: how to integrate the icap protocoll || a icap client to...

HI ,i have same task to implement icap client in nginx now . do you have resolve it ??

View Article

Reverse proxy with Exchange 2013 and Outlook

Hi, Everything runs fine for my Nginx reverse proxy, but only Exchange RPC is not working for Outlook. OWA is working well. This is my nginx.conf server { listen 443; ssl on; ssl_certificate...

View Article


Autoindex prevent top level directory from returning to index page

I have a simple configuration where I want to use the autoindex feature for a particular directory. The following is the basic outline of the configuration: server { root /var/www; ... location / {...

View Article

Re: nginx 1.10.1: how to integrate the icap protocoll || a icap client to...

hello, do you have any suggessions? I have the same task.

View Article


403 Forbidden nginx/1.2.1

Hello everyone. I am new to ngnix. I want to create a subdomain www.website.com/test I have created the folder like this /var/www/website/test, but then i try to access it i get 403 Forbidden...

View Article

Configuring Nginx SSL client authentication between 2 websites

I am in the process of configuring client side certification between 2 websites. example1.com and example2.com. example1.com will be accessing example2.com I have created my certificate store and have...

View Article

nginx for Windows log file

Hello, how do I disable nginx log file creation? it is 188 GB and I don't think I need it

View Article
Browsing all 4759 articles
Browse latest View live


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