Welcome! Log In Create A New Profile

Advanced

Multitenant invalid configuration reload

Posted by mgmuhilan 
mgmuhilan
Multitenant invalid configuration reload
March 20, 2017 09:50PM
Hello Everyone,

I had asked this question in stackoverflow
(http://stackoverflow.com/questions/42771887/invalid-host-in-upstream-for-multitenant)
earlier, but I did not get any response so far, so I wanted to check
here.For now, I have a POC which generates tenant config (one per tenant) in
a temp destination and then validates using "nginx -t "option and then
finally all the good tenant configs are copied to the actual destination and
then reloaded.

Is there a simpler solution for the problem mentioned in the stackoverflow
thread ?

Thanks in advance.

Regards,
Muhilan

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,273061,273061#msg-273061

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Maxim Ozerov
RE: Multitenant invalid configuration reload
March 21, 2017 12:40PM
I think, the reason that nobody answered, that the essence of a problem is accurately not formulated.
It in what, that you incorrectly form the configuration file?

-----Original Message-----
From: nginx [mailto:[email protected]] On Behalf Of mgmuhilan
Sent: Monday, March 20, 2017 11:46 PM
To: nginx@nginx.org
Subject: Multitenant invalid configuration reload

Hello Everyone,

I had asked this question in stackoverflow
(http://stackoverflow.com/questions/42771887/invalid-host-in-upstream-for-multitenant)
earlier, but I did not get any response so far, so I wanted to check here.For now, I have a POC which generates tenant config (one per tenant) in a temp destination and then validates using "nginx -t "option and then finally all the good tenant configs are copied to the actual destination and then reloaded.

Is there a simpler solution for the problem mentioned in the stackoverflow thread ?

Thanks in advance.

Regards,
Muhilan

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,273061,273061#msg-273061

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
mgmuhilan
Re: RE: Multitenant invalid configuration reload
March 21, 2017 02:40PM
Hi Maxim,

Thank you.

I removed unwanted information from the stackoverflow question.

http://stackoverflow.com/questions/42771887/invalid-host-in-upstream-for-multitenant

Can you please take a look at it now?

Regards,
Muhilan

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,273061,273080#msg-273080

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Sorry, only registered users may post in this forum.

Click here to login