-
Hello how can i permantly (not using the authentication thing) limit access to certain apps via allowing only specific IPs to be able to access it. for example access to portainer only to internal 192.168.0.0/24 IP Range. is there any best practices how to do that? |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 12 replies
-
You have to edit nginx config for that. You can add something like this to your
|
Beta Was this translation helpful? Give feedback.
-
thank you very much - it works - perfect! is there for the general captain backend also an nginx rule i could set that allow/deny rules? |
Beta Was this translation helpful? Give feedback.
-
great working! all the best for Christmas |
Beta Was this translation helpful? Give feedback.
-
Hi githubsaturn. May i ask another thing ? i try to setup a wordpress multisite installation on caprover using wordpress 5.8.2 label for docker container. for multisite i need to add some things to htaccess (which nginx doesnt have) how could i add that to the nginx setting of that container?
|
Beta Was this translation helpful? Give feedback.
-
yes thank you - thats what i ended up doing and now it just works fine! appreciate the fast help here! is there any plans on integrating:
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hello Kasra - for the self deployed one click app - is it possible to set the restart policy in caprover or do i need to use portainer for it? eg. an app where i use the image from docker hub and put the env values manually. thank you |
Beta Was this translation helpful? Give feedback.
Hello Kasra - for the self deployed one click app - is it possible to set the restart policy in caprover or do i need to use portainer for it?
eg. an app where i use the image from docker hub and put the env values manually. thank you