misc
This commit is contained in:
1 parent
490444032c
commit
efecc500c4
15 files changed
+349
-47
No files matched your search
@@ -43,6 +43,14 @@ server {
|
||||
proxy_intercept_errors on;
|
||||
error_page 502 503 504 = @contact_down;
|
||||
}
|
||||
# The proof-of-work challenge the form solves before it sends; issued by the same handler.
|
||||
location = /contact/challenge {
|
||||
limit_except GET { deny all; }
|
||||
proxy_pass http://127.0.0.1:3000;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_read_timeout 10s;
|
||||
}
|
||||
# Handler not running: send the visitor to the error page in their language.
|
||||
location @contact_down {
|
||||
if ($http_referer ~ "/de(/|$|#)") { return 303 /de/contact/error; }
|
||||
|
||||
Reference in new issue
Block a user