User Tools

Site Tools


http_auth

This is an old revision of the document!


http Authentication for nginx

location / {
        proxy_pass         http://127.0.0.1:9091;
        auth_basic            "Basic Auth";
        auth_basic_user_file  "/var/www/.htpasswd";
}

http_auth.1429370411.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki