1
5
Fork
You've already forked devops
3

Server block for Nginx: example for subdirectory instead of root? #32

Closed
opened 2022年01月09日 09:57:32 +01:00 by ekianjo · 1 comment
ekianjo commented 2022年01月09日 09:57:32 +01:00 (Migrated from github.com)
Copy link

Hi, I am wondering if the example you have shared for Nginx server block on:

https://github.com/BookStackApp/devops/blob/main/config/nginx

can be used in the same way for subdirectories on the nginx server? Have you ever tried it?

Hi, I am wondering if the example you have shared for Nginx server block on: https://github.com/BookStackApp/devops/blob/main/config/nginx can be used in the same way for subdirectories on the nginx server? Have you ever tried it?
ssddanbrown commented 2022年01月28日 20:18:42 +01:00 (Migrated from github.com)
Copy link

Hi @ekianjo,
Sorry for my late reply. Yes, you can acheive a subdirectory style (In terms of the URL) setup on Nginx.
I've updated our documentation page to include instructions for nginx:
https://www.bookstackapp.com/docs/admin/subdirectory-setup/#nginx-setup

I've also added an example nginx config for this here:
https://github.com/BookStackApp/devops/blob/main/config/nginx/subpath-proxy-config

Will therefore close this off but just shout if you have any issues using these.

Hi @ekianjo, Sorry for my late reply. Yes, you can acheive a subdirectory style (In terms of the URL) setup on Nginx. I've updated our documentation page to include instructions for nginx: https://www.bookstackapp.com/docs/admin/subdirectory-setup/#nginx-setup I've also added an example nginx config for this here: https://github.com/BookStackApp/devops/blob/main/config/nginx/subpath-proxy-config Will therefore close this off but just shout if you have any issues using these.
Sign in to join this conversation.
No Branch/Tag specified
main
No results found.
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bookstack/devops#32
Reference in a new issue
bookstack/devops
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?