Add new VHOST #54
Replies: 7 comments
-
|
You would put it in your destination hosts container yes. Luckily I've made it easier overall if you continue to track my images.
When working with I am watching some of your posts on both FD and LLNG lists, and curious to see how you end up protecting an API with OAuth, when you figure it out, please share the info :) |
Beta Was this translation helpful? Give feedback.
-
|
Oh nice to see that you're aware about what im trying to do :D ! If i get it i will give you a feedback, but my first step is just to protect api call without OAuth (maybe just by asking a lemon-ldap cookie header in api request call). So the easiest way for me atm is to use you're I just have some trouble to understand the Handler part. LemonLDAP doesn't provide a basic handler by default ? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
After trying the example i got an 403 Forbidden when i try to connect to my container hostname. I checked all the configuration and didnt find any problem on it. Do you have any idea ? EDITmy docker run command : |
Beta Was this translation helpful? Give feedback.
-
|
I believe the llng container should give information - try the loglevel of debug which will output quite alot of info as to whats happening. |
Beta Was this translation helpful? Give feedback.
-
|
oh my god, im so dumb... i was already logged in sorry... XD After quick search, my API is a node express app, i maybe need to implement this handler : https://github.com/LemonLDAPNG/node-lemonldap-ng-handler#nginx-authorization-server to protect my express app ? |
Beta Was this translation helpful? Give feedback.
-
|
With a Node Express application you can use the nodejs handler, I've used it successfully in the past, although I dont think I have any documentation off the top of my head. You could avoid using nginx entirely, unless you had a need for it. |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
After adding a new VHOST through Manager, i need to add a .conf file for the new app to protect in /etc/nginx/conf.d with a docker cp or inside container's shell right ?
Tom;
Beta Was this translation helpful? Give feedback.
All reactions