0

Trouble with reverse proxy for Ajenti behind nginx

MrSliff 8 years ago updated 8 years ago 0

Hello,


I eed some help setting up a reverse proxy for Ajenti. I fairly new to nginx and the whole reverse proyx thing.


I've tried some different solutions, but nothing worked for me :(


I want to have Ajenti accessible through my subdomain panel.domain.com whicht is pointing to domain.com/ajenti.


Additionally i want to use signed ssl certificates from my main domain for ajenti.


Could somebody please help me and point me in the right direction in how to make ajenti accessible and let the url stay panel.domain.com?


I tried setting it up in ajenti V itself in the Advanced config section for my main website, and tried to add the subdomain as a website insite Ajenti V, but that didn't work for me.


Also i disabled ssl in Ajenti.json and added the settings in nginx.conf.


At the current state ssl is disabled in ajenti.json and redirection is set up in ajenti V. Which doesnt wor (yet).


Tahnk you for your help!


edit:

In Ajenti V my website is set up to automatically redirect to https://domain.com