[wgo2-web/oscp] Land some rewrites
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [wgo2-web/oscp] Land some rewrites
- Date: Wed, 17 Mar 2021 17:58:54 +0000 (UTC)
commit 08b3c4b8a4a75a6f0015fff6fa188e17a91f93e1
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Wed Mar 17 18:58:50 2021 +0100
Land some rewrites
nginx.conf | 12 ++++++++++++
1 file changed, 12 insertions(+)
---
diff --git a/nginx.conf b/nginx.conf
index 288614a..ff61494 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -127,5 +127,17 @@ http {
expires max;
log_not_found off;
}
+
+ location ~ ^/foundation/(.*)$ {
+ return 301 https://foundation.gnome.org/$1;
+ }
+
+ location /civicrm/ {
+ return 301 https://www.gnome.org/civicrm/wp-admin;
+ }
+
+ location /civicrm/wp-content/plugins/files/civicrm/ConfigAndLog/ {
+ deny all;
+ }
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]