Re: Nginx rule for subdomains: ERR_TOO_MANY_REDIRECTS

2017-06-09 Thread iivan
Hi Igal, The lucee proxy is configured correctly: https://gist.github.com/ivanionut/c4339b4006fa1bf8e12c3ba7be9ee0bc I omitted from the gist that I posted earlier to make it as easy configuration file. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,274541,274798#msg-274798 ___

Re: Nginx rule for subdomains: ERR_TOO_MANY_REDIRECTS

2017-06-09 Thread iivan
Hi Francis, to me there seems to be some bug... It's very weird that it worked first and now it does not. For example: set $sub_domain ''; if ($host ~* ^(.*)\.salva\.link$) { set $sub_domain $1;

Re: Nginx rule for subdomains: ERR_TOO_MANY_REDIRECTS

2017-06-08 Thread iivan
Hi Igal, Firstly, thank you for your answer. I also like to find you on this forum (I am a lucee user :) ), Can you give me a tip how to do it? Here's the full configuration file: https://gist.github.com/ivanionut/946468ce86086a55937e92c7249e3ed7 It was working correctly before the upgrade to th

Re: Nginx rule for subdomains: ERR_TOO_MANY_REDIRECTS

2017-06-07 Thread iivan
Hi, do not you have any suggestions for me? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,274541,274751#msg-274751 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Nginx rule for subdomains: ERR_TOO_MANY_REDIRECTS

2017-05-31 Thread iivan
I updated nginx to version 1.13.0 This rule that was working correctly right now makes me mistake in the browser: ERR_TOO_MANY_REDIRECTS if ($host ~* ^(.*)\.website\.com$) { set $sub_domain $1; rewrite ^/(.*)?$ /index.cfm?event=dashboard&lista=$sub_domain&nuovoURL=$1 last; } T

Re: Full URL parameter in nginx

2016-07-26 Thread iivan
Hi Francis, first of all, thank you for your intervention. Look: ## nginx rule: rewrite ^/(.*)?$ /index.cfm?event=saveURL=$1$is_args$args last; ## this URL: http://www.mywebsite.com/http://www.anotherwebsite.com/index.php?lvl=cmspage&pageid=14&id_article=52 ## Return only: http://www.anoth

Re: Full URL parameter in nginx

2016-07-25 Thread iivan
No one knows how to fix this? :( Posted at Nginx Forum: https://forum.nginx.org/read.php?2,267813,268454#msg-268454 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Full URL parameter in nginx

2016-06-24 Thread iivan
Hi nanaya, today I run a few tests. this URL: http://www.website.com/index.php?lvl=cmspage&pageid=14&id_article=52 Return only: http://www.website.com/index.php?lvl=cmspage you would know how to fix? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,267813,267866#msg-267866 __

Re: Full URL parameter in nginx

2016-06-23 Thread iivan
Thanks nanaya, It is the solution I was looking for! rewrite ^/(.*)?$ /index.cfm?event=saveURL=$1$is_args$args last; You are the best :) Posted at Nginx Forum: https://forum.nginx.org/read.php?2,267813,267830#msg-267830 ___ nginx mailing list nginx@n

Full URL parameter in nginx

2016-06-23 Thread iivan
Hi, I have this nginx rule: rewrite ^/(.*)?$ /index.cfm?event=saveURL=$1 last; - Which makes this work: http://mywebsite.com/http://notherwebsite.com/page.html - But if I pass a parameter like this: http://mywebsite.com/http://notherwebsite.com/page.html?id=1 cuts off ?id=1 How can I fix this

nginx rewrite & parameter full-url and file extensions

2016-04-26 Thread iivan
Hi, I will try to be brief. I have the following nginx rewrite url: rewrite ^/(.*)?$ /index.php?completeURL=$1 last; I want a url like: http://mywebsite.com/http://www.otherwebsite.com/dir1/dirx/article.php&id=2&category=1 request: http://mywebsite.com/index.php?completeURL=http://www.otherwebsi