Skip to content

Nekmo/selfhosted-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Self Hosted Docs

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;
    }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages