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

Sub_filter: replacing a string containing $

Nginx sub_filter syntax: sub_filter string replacement; A variable in Nginx is set using the operand $: set $a 'Hello World'; When a $ is present in sub_filter String but not a variable, Nginx will not...

View Article


Install http_charset_module

Good Day; How do I install http_charset_module on an Nginx installed via apt install. A couple of read up does not tell who and we wish to use these facility on our proxies. Regards; Abson

View Article


Re: Install http_charset_module

It's added by default, see also http://nginx.org/en/docs/configure.html

View Article

Nginx rewrite urls to match proxy address

I am running a wordpress docker container , the site is accessible through host machines port 8000 , if go to localhost:8000 boom i get to see my wordpress site. It's boring to always type...

View Article

How to repace domain with IP

I need to pass an IP rather than any taken FQDN to my back-end service. For example: URL in browser is https://test.domain.com or https://test1.domain.com I redirected port 443 to...

View Article


First time - reverse proxy on oracle linux

Hello , as I understadn I can use nginx reverse proxy in order to give people access to my local network from the web. so if my proxy IP is 85.159.4.4 and I want them to be able to enter to devices on...

View Article

Re: First time - reverse proxy on oracle linux

I google and found this server { listen 80 default_server; listen [::]:80 default_server; server_name _; root /usr/share/nginx/html; # Load configuration files for the default server block. include...

View Article

Re: Install http_charset_module

Thanks for the reply when i execute nginx -V i do not see the module listed meaning that its not present.

View Article


Re: Install http_charset_module

Not all components are modules, using a viewer in hex-mode you could view the binary and search for the options. Or just try to use it and run -T to see if this feature is giving an error or not.

View Article


give access after proxy_pass

Hello I have this simple setting : server { listen 80 default_server; listen [::]:80 default_server; server_name _; root /usr/share/nginx/html; # Load configuration files for the default server block....

View Article

Cannot password protect Nginx subdirectory

I'm trying to set a username/password protection on an Nginx subdirectory, but I'm still able to access the subdirectory without supplying credentials. The Nginx is running on an AWS CentOS 7 instance....

View Article

Cannot make expiration date on my images to work

I've attached what I have of my config files when I run: docker-compose exec nginx nginx -T Image is representation of problem that https://gtmetrix.com/ sees on my site.

View Article

Re: Cannot make expiration date on my images to work

Anyone?

View Article


Served Wordpress file not accessed, seemed cached. Where is it cached?

Hello. I'm new to nginx. I installed it on Fedora 31 workstation, with Wordpress. Nginx and PHP work (php.info works), but Wordpress doesn't. My 1st problem is that when I go with Firefox to...

View Article

Re: nginx proxy_cache prevents docker (1.10.2 ) image push to artifactory .

were you able to find a solution ?

View Article


Nginx and Exchange 2019 (2016)

Hi Everyone, If this topic has been answered before, please let me know. I unfortunately cannot find any answers for this anywhere. So I ask you for help and to make me understand what it will...

View Article

Re: Nginx and Exchange 2019 (2016)

Hi, Seems that the forum dont have much activity. I´ll give it a try again :) I did find that Nginx Plus does support exchange traffic. And what is strange, and I need to understand I this bit:...

View Article


Make multiple subrequests and generate custom response based on the...

Hi, I have a use case where based on the contents of a file (accessed through URI), I need to get the contents of another file (again accessed through URI) and return the contents to the caller. The...

View Article

Nginx default_server catches all. Why?

Hello all, I have got 2 different URLs that are correctly redirected by Proxy_Pass. However as soon as I add the default_server (first server below), my 2 URLs are not redirected anymore. They fall...

View Article

Re: Nginx default_server catches all. Why?

I mixed up an xxxx and a yyyy when replacing the real addresses by fake ones. The configuration should read: # default server for this IP server{ listen xx.xx.xx.xx:8443 default_server; server_name _;...

View Article
Browsing all 4759 articles
Browse latest View live