Subdomain Rewrites
Hello thereI'm running nginx/0.7.62 on a Ubuntu box.We've recently changed domain names.I've got 2 wildcard DNS entries setup pointing at the server*.subdomain.domainA.com and *.subdomain.domainB.comI...
View ArticleRe: Subdomain Rewrites
UpdateI have now updated to 1.2.6 in an effort to get this working.I will now change the syntax to the newest possible.Back in a bit :-)
View ArticleRe: Subdomain Rewrites
Got itserver {listen 80;server_name ~^(?<firstsubdomain>.+?)\.subdomain\.domainA\.com$;rewrite ^(.*) http://$firstsubdomain.subdomain.domainB.com$request_uri? permanent;}Always helps to upgrade,...
View ArticleRe: X-Forwarded-For Header Apparently Not Being Pulled Correctly
Turns out the X-Real-IP variable is being pulled OK in our production environment anyway, so we can work around. Thanks everyone.
View ArticleNginx HttpUploadProgressModule not working as expected
Hi All,I have Nginx sat in front of Apache. I have Nginx compiled with HttpUploadProgressModule heres some relevant config.location / {root...
View Article-s reload access denied?
For some reason whenever i try to either do a nginx.exe -s reload/stop/quit it will get access denied... Do any of you have a solution to that problem???Info:C:\Servers\NGINX-1.2.8>nginx -s...
View ArticleRestricting ALL /administrator folder
Hello Everybody,I need some help ...Currently I am allowing authentication to the /administrator folder by (and this working fine for me):location /administrator {<tmpl_var...
View ArticleTrailing Slashes and Reverse Proxy
Hello,I'm running a reverse proxy using nginx 1.2.8 to a number of apache2 servers sitting on local private IP space. When content using relative links is served, links including a trailing slash work...
View ArticleWebsocket connection with proxy pass Nginx 1.3.13 or greater
I have been stuck on an issue for about a week and was curious if anyone had any thoughts for me to peruse.I have found many stack overflow questions and websites about this issue but none seem to work...
View ArticleRe: Trailing Slashes and Reverse Proxy
This is the current config:nginx.conf:user nginx;worker_processes auto;error_log /var/log/nginx/error.log warn;pid /var/run/nginx.pid;events {worker_connections 1024;use epoll;multi_accept on;}http...
View ArticleNeed help w SSL setup
Trying to get SSL setup properly. Can someone verify I'm doing this correctly? These config files work.. Below works.. but I am required to push all traffic through SSL. Would like to be able to...
View ArticleRe: Trailing Slashes and Reverse Proxy
The issue is resolved now. This was not related to nginx, but the upstream apache configuration.
View ArticleNewbie question: two sites/1 server
Hi, I'm just new to nginx, even if my apache experience isn't so deep. Recently I bought a new sd memory for my Raspberry and decided to try archlinux with nginx (previously I used raspbian with...
View ArticleWhat fastcgi_cache_key to use for mobile page caching
Hello,I have a website that serves web pages based on user agents to differentiate between mobile and desktop users.So, the same URL will look different depending on whether you are viewing it on...
View ArticleColdFusion 10 and Nginx
Hi. I am newbie in nginx. How to configure CF 10 with nginx? How do I display <cfoutput>#NOW()#</cfoutput> in nginx web server? tq in advance.
View ArticleWebsites can get to the correct server blocks
http://stackoverflow.com/questions/16264412/nginx-host-multiple-websites-cant-get-the-correct-websiteI would like to know how to host multiple websites on a single IP address.I'm using Nginx in Ubuntu...
View ArticleRedirecting www to non-www with Varnish installed?
Hello, before I installed Varnish, I was redirecting the www version of my domain to the non-www version with the following code:server {server_name www.example.com;rewrite ^(.*) http://example.com$1...
View ArticleSNI requires TLSv1 protocol, why?
After migrating our multi-tenant application to an nginx reverse proxy which has SNI requirements, I encountered an interesting issue while doing some security clean up after a routine PCI scan.As I...
View ArticleHow to start mp4 at half time
Hi guysI try to play my mp4 file through nginx in windows server 2003.I nstall and config the nginx in my server and start it, after start nginx I copy my mp4 video to the nginx root directory and when...
View Article