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

Re: update nginx on windows

You need to stop nginx completely before you can replace the binary.

View Article


Captcha issues on oxwall

Hello everyone, I have oxwall v1.8.4.1 installed on a ubuntu 14.04 server with LEMP stack. This server functions great with all other open-source software: wordpress & opencart It has all the...

View Article


Where put loacation directives (newbie)

I'm a newbie in Nginx and Plesk. I'm learning to configure nginx.conf for a Wordpress + Multisite + Subdomain (with domain mapped) + https. Now (in https) I see the main domain and its articles....

View Article

Serve 2 https server{} block for 2 adress

Hey, I successfully was able to set online a website in https ; but when I try to put a second one I get the following error : "" [alert] 27063#0: worker process 27157 exited on signal 11 ""...

View Article

Re: Serve 2 https server{} block for 2 adress

...Ok. Just made it work. It missed something I did not even include here (it was tls tweaks I thought unimportant on the issue) this snippet : "" ssl_protocols TLSv1.2; ssl_prefer_server_ciphers on;...

View Article


Error redirect http to https

[root@balanceadorA1 conf]# cat nginx.conf worker_processes auto; events { worker_connections 1024; } http { upstream cluster1 { # simples round-robin server 172.16.1.2:80; server 172.16.1.7:80 backup;...

View Article

Simple question about redirects

Hello all Started to dabble in nginx lately but I'm still having issues with many redirects and rewrites. I can make and understand simple ones but need help with some, for instance... I have a website...

View Article

nginx block mobile headers?

Is there any way to block headers from a cell phone? I mean this: "Mozilla/5.0 (Linux; Android 5.1.1; [b]Lenovo A6020a40[/b] Build/LMY47V) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.83...

View Article


Trying nginx+php+mysql on Mac OS. Failing :-(

Dear friends, I installed mysql, nginx and php 7 on my Mac OS Sierra and despite working for several hours I am not quite managing to get the phpinfo to work (it gets downloaded). As far as I...

View Article


Re: Trying nginx+php+mysql on Mac OS. Failing :-(

Guys !!! After a good dinner and getting back to analysing I found the error !!! A backslash had crept before the $ sign in location ~ \.php$ Sorry for disturbing but still if you have good suggestions...

View Article

Why am I getting Proxy returns “HTTP/1.1 407 authenticationrequired”?

I am using nginx, gunicorn, django for backend. I have created apis in django, and these apis works fine for me from postman and even from my python code. But when I try to access the api from proxy...

View Article

rewrute rules not work - gave 404 not found

I use vhost - cpanel.site.com and my rewrite rules is........ but not work: location = /home { rewrite ^(.*)$ /home.php break; } location = /dev/changelog { rewrite ^(.*)$ /changelog.php; rewrite...

View Article

Reverse Proxy NGINX and Foscam Active-X error

Hi All, I have a working reverse proxy for my Foscam out door camera with a StartSSL cert and everything works fine but If I want to use the camera's full function to record to a network device I need...

View Article


return 403; custom page NOT work

I use: if ($http_user_agent ~* "9003X") { return 403; } How add return 403; custom page?

View Article

Re: Preserving Source IP using SSL Preread + OpenVPN

I am still looking to get this to work as well. Would love if someone posted a working example config. I am still trying with OpenVPN on 443

View Article


NGINX config required for shifting traffic based on some URL parameter

Hi I am not developer but we want nginx to transfer streaming traffic based on some live tv channel name to specific server e.g: http://oursite.com:1935/live/smil:mychannel1.smil/playlist.m3u8 Like in...

View Article

Is there any way of bypassing the http request when localhost used as...

Hi, I am using my custom module for response when cache miss happens. When cache miss is happening proxy server is making another http request to localhost and then it is coming to the "location...

View Article


Will there be any performance improvement if same node is used as proxy_pass...

In my application I want to improve nginx performance in case of cache miss. Below are the two cases I am considering. Case 1 : If I use some other nginx node as PROXY_PASS, so when cache miss happens...

View Article

Disable NGINX caching 304 Responses from Origin Server

We have a pretty simple setup with NGINX sitting on the front and a backend server (on a separate physical server) that provides the content. Nginx then caches content based on the EXPIRES and...

View Article

Loadbalance a website that only support https

Hello, I want to load-balance a web page that only supports https. For me it is ok to terminate the incoming https connection and create a new one. I tried with this config: http { upstream myapp1 {...

View Article
Browsing all 4759 articles
Browse latest View live


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