-
|
Specifically, for my Vaultwarden container, I want to restrict access to the |
Beta Was this translation helpful? Give feedback.
Answered by
SchoNie
Mar 27, 2025
Replies: 1 comment 3 replies
-
|
That is in the docs: Per-VIRTUAL_PATH location configuration |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You don't need
VIRTUAL_PATHsindeed. Sorry the Per-VIRTUAL_HOST settings is what you need.For example, if you have a virtual host named app.example.com, you could provide a custom configuration for that host as follows:
create your virtual host config file:
mount it to
/etc/nginx/vhost.d/app.example.comCheck the Docker Compose File example in the linked documentation how to mount this file in your container.
This will automatically include your config with /admin location as an additional location block.