server {
listen 80;
server_name your.docs.domain;
charset utf-8;
include gzip.conf;
# alias favicon.* to static
location ~ ^/favicon.(\w*)$ {
include static_limit;
alias /path/to/your/favicon.$1;
}
# Finally, send all non-media requests to the Django server.
location = / {
alias /srv/http/docs/;
}
location ~* /([^/]+)/(.*) {
alias /srv/http/docs/$1/docs/_build/html/$2;
}
}
-
Notifications
You must be signed in to change notification settings - Fork 0
Nekmo/selfhosted-docs
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published