nndocs:templates:apache
Differences
This shows you the differences between two versions of the page.
| nndocs:templates:apache [2024/09/03 17:38] – created naptastic | nndocs:templates:apache [2024/09/03 17:41] (current) – naptastic | ||
|---|---|---|---|
| Line 97: | Line 97: | ||
| | | ||
| < | < | ||
| - | SSLCertificateFile | + | SSLCertificateFile |
| - | SSLCertificateKeyFile | + | SSLCertificateKeyFile |
| - | SSLCACertificateFile | + | SSLCACertificateFile |
| </ | </ | ||
| | | ||
| Line 121: | Line 121: | ||
| < | < | ||
| - | ServerName | + | ServerName |
| - | ServerAdmin | + | ServerAdmin |
| - | DocumentRoot /var/www/narf.rocks | + | DocumentRoot /var/www/[% servername %] |
| | | ||
| < | < | ||
| Line 130: | Line 130: | ||
| Require ip 172.16.0.0/ | Require ip 172.16.0.0/ | ||
| Require ip 192.168.0.0/ | Require ip 192.168.0.0/ | ||
| - | Require ip 208.74.120.0/ | ||
| </ | </ | ||
| | | ||
| RewriteEngine On | RewriteEngine On | ||
| - | RewriteRule /(.*) http://127.0.0.1:9091/$1 [P] | + | RewriteRule /(.*) http://[% transmission_ip %]:9091/$1 [P] |
| </ | </ | ||
| Line 142: | Line 141: | ||
| < | < | ||
| - | ServerName | + | ServerName |
| | | ||
| RewriteEngine On | RewriteEngine On | ||
| - | RewriteCond %{SERVER_NAME} =wiki.naptastic.com | + | RewriteCond %{SERVER_NAME} =[% servername %] |
| RewriteRule ^ https:// | RewriteRule ^ https:// | ||
| </ | </ | ||
| | | ||
| < | < | ||
| - | ServerName | + | ServerName |
| - | ServerAdmin | + | ServerAdmin |
| - | DocumentRoot /var/www/wiki.naptastic.com/ | + | DocumentRoot /var/www/[% servername %]/ |
| | | ||
| - | < | + | < |
| DirectoryIndex doku.php | DirectoryIndex doku.php | ||
| AllowOverride all | AllowOverride all | ||
| Line 173: | Line 172: | ||
| | | ||
| < | < | ||
| - | SSLCertificateFile | + | SSLCertificateFile |
| - | SSLCertificateKeyFile | + | SSLCertificateKeyFile |
| - | SSLCACertificateFile | + | SSLCACertificateFile |
| </ | </ | ||
| | | ||
| < | < | ||
| - | SetHandler " | + | SetHandler " |
| </ | </ | ||
| | | ||
nndocs/templates/apache.1725385096.txt.gz · Last modified: 2024/09/03 17:38 by naptastic
