feat: complete rewrite of server component
This commit is contained in:
14 files changed
+673
-324
No files matched your search
@@ -1,15 +1,15 @@
|
||||
# Only allow web access to update.php and index.html
|
||||
<Files *>
|
||||
Order Deny,Allow
|
||||
Deny from all
|
||||
</Files>
|
||||
# SPDX-FileCopyrightText: 2016 Max Mehl <mail@mehl.mx>
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
<FilesMatch ^$>
|
||||
Order Allow,Deny
|
||||
Allow from all
|
||||
</FilesMatch>
|
||||
# Run update.cgi as CGI and hand the Authorization header to it
|
||||
Options +ExecCGI
|
||||
AddHandler cgi-script .cgi
|
||||
CGIPassAuth On
|
||||
|
||||
<FilesMatch "^(update\.php|index\.html)$">
|
||||
Order Allow,Deny
|
||||
Allow from all
|
||||
# Optional: config location if it is not ~/etc/snap-dyndns/config.toml
|
||||
# SetEnv SNAP_DYNDNS_CONFIG /home/USER/etc/snap-dyndns/config.toml
|
||||
|
||||
# Only update.cgi may be requested, nothing else of this repository
|
||||
<FilesMatch "^(?!update\.cgi$)">
|
||||
Require all denied
|
||||
</FilesMatch>
|
||||
Reference in new issue
Block a user