User Tools

Site Tools


terminal:caddy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
terminal:caddy [2024/08/18 02:02] meloterminal:caddy [2024/09/06 18:08] (current) melo
Line 1: Line 1:
 ===== caddy notes ===== ===== caddy notes =====
          
-file browse:+static site:
 <code>https://example.com { <code>https://example.com {
         root * "/path/to/dir"         root * "/path/to/dir"
         file_server         file_server
 +}</code>
 +
 +file browse
 +<code>https://example.com {
 +    root * "/path/to/dir"
 +    file_server browse
 }</code> }</code>
  
Line 29: Line 35:
  
 }</code> }</code>
-<code>echo -n 'password_to_be_hashed' | base64</code>+<code>htpasswd -nbBC 10 username password_to_be_hashed</code>
terminal/caddy.1723946540.txt.gz · Last modified: 2024/08/18 02:02 by melo

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki