servers:bsd:nginx:dokuwiki
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| servers:bsd:nginx:dokuwiki [2026/06/26 15:21] – all instances of 4 asterisk (****) was for an old workaround with codeboxes and Firefox; hand-removed as-encountered Sean Rhone | servers:bsd:nginx:dokuwiki [2026/08/08 00:05] (current) – [Prerequisites] Sean Rhone | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| ===== Prerequisites ===== | ===== Prerequisites ===== | ||
| - | * [[bsd: | + | * [[bsd: |
| * [[servers: | * [[servers: | ||
| * [[servers: | * [[servers: | ||
| Line 54: | Line 54: | ||
| ; Logging | ; Logging | ||
| - | php_value[log_errors] = "Off" | + | php_value[log_errors] = "0" |
| php_value[error_reporting] = " | php_value[error_reporting] = " | ||
| - | php_value[display_errors] = "Off" | + | php_value[display_errors] = "0" |
| - | php_value[display_startup_errors] = "Off" | + | php_value[display_startup_errors] = "0" |
| - | php_value[html_errors] = "Off" | + | php_value[html_errors] = "0" |
| ; General | ; General | ||
| Line 83: | Line 83: | ||
| | | ||
| } | } | ||
| + | |||
| + | # End</ | ||
| + | |||
| + | ===== Deny Directives ===== | ||
| + | |||
| + | * https:// | ||
| + | |||
| + | su - | ||
| + | |||
| + | ee '/ | ||
| + | |||
| + | < | ||
| + | # Web Access Security | ||
| + | | ||
| + | deny ' | ||
| + | } | ||
| + | |||
| + | | ||
| + | deny ' | ||
| + | } | ||
| + | |||
| + | | ||
| + | internal; | ||
| + | } | ||
| # End</ | # End</ | ||
| Line 102: | Line 126: | ||
| | | ||
| | | ||
| + | |||
| + | # include '/ | ||
| | | ||
| Line 107: | Line 133: | ||
| # access_log '/ | # access_log '/ | ||
| # error_log '/ | # error_log '/ | ||
| - | |||
| - | # location = '/ | ||
| - | # deny ' | ||
| - | # } | ||
| - | |||
| - | # location ' | ||
| - | # deny ' | ||
| - | # } | ||
| - | |||
| - | # location ' | ||
| - | # internal; | ||
| - | # } | ||
| | | ||
| Line 146: | Line 160: | ||
| * The width of the full site: '' | * The width of the full site: '' | ||
| - | ===== nginx Server Block Deny Directives | + | ===== nginx Deny Directive |
| - | * Uncomment | + | * Uncomment |
| * Do after initial setup | * Do after initial setup | ||
/usr/local/www/wiki/data/attic/servers/bsd/nginx/dokuwiki.1782501669.txt.gz · Last modified: by Sean Rhone
