[redirects-web/proxy] Split by location



commit 051ec8f447ac469f8fa1694f0f6619ffedc1ec9d
Author: Andrea Veri <averi redhat com>
Date:   Fri Jul 30 13:47:35 2021 +0200

    Split by location

 conf.d/developer.gnome.org.conf | 187 +++++++++++++++++++++++++++++++++++++++-
 1 file changed, 185 insertions(+), 2 deletions(-)
---
diff --git a/conf.d/developer.gnome.org.conf b/conf.d/developer.gnome.org.conf
index 262ed25..9b2a0dc 100644
--- a/conf.d/developer.gnome.org.conf
+++ b/conf.d/developer.gnome.org.conf
@@ -6,33 +6,216 @@ server {
     location / {
         proxy_set_header Host teams.pages.gitlab.gnome.org;
         proxy_set_header X-Forwarded-Host "";
+
+        proxy_redirect //teams.pages.gitlab.gnome.org/documentation/developer-www 
https://developer.gnome.org/;
+        proxy_pass https://teams.pages.gitlab.gnome.org/documentation/developer-www;
+    } 
+
+    location /platform-overview/unstable {
+        proxy_set_header Host teams.pages.gitlab.gnome.org;
+        proxy_set_header X-Forwarded-Host "";
+
         proxy_redirect 
//teams.pages.gitlab.gnome.org/documentation/developer-www/documentation/introduction.html 
https://developer.gnome.org/platform-overview/unstable/;
+        proxy_pass https://teams.pages.gitlab.gnome.org/documentation/developer-www;
+    } 
+
+    location /guides {
+        proxy_set_header Host teams.pages.gitlab.gnome.org;
+        proxy_set_header X-Forwarded-Host "";
+
         proxy_redirect 
//teams.pages.gitlab.gnome.org/documentation/developer-www/documentation/guidelines.html 
https://developer.gnome.org/guides/;
+        proxy_pass https://teams.pages.gitlab.gnome.org/documentation/developer-www;
+    } 
+
+    location /AlternateMenubarLayout {
+        proxy_set_header Host teams.pages.gitlab.gnome.org;
+        proxy_set_header X-Forwarded-Host "";
+
         proxy_redirect 
//teams.pages.gitlab.gnome.org/documentation/developer-www/documentation/tutorials.html 
https://developer.gnome.org/AlternateMenubarLayout/;
+        proxy_pass https://teams.pages.gitlab.gnome.org/documentation/developer-www;
+    } 
+
+    location /AppFolders {
+        proxy_set_header Host teams.pages.gitlab.gnome.org;
+        proxy_set_header X-Forwarded-Host "";
+
         proxy_redirect 
//teams.pages.gitlab.gnome.org/documentation/developer-www/documentation/tutorials.html 
https://developer.gnome.org/AppFolders/;
+        proxy_pass https://teams.pages.gitlab.gnome.org/documentation/developer-www;
+    } 
+
+    location /ChooseApplicationID {
+        proxy_set_header Host teams.pages.gitlab.gnome.org;
+        proxy_set_header X-Forwarded-Host "";
+
         proxy_redirect 
//teams.pages.gitlab.gnome.org/documentation/developer-www/documentation/tutorials/application-id.html 
https://developer.gnome.org/ChooseApplicationID/;
+        proxy_pass https://teams.pages.gitlab.gnome.org/documentation/developer-www;
+    } 
+
+    location /Buttons {
+        proxy_set_header Host teams.pages.gitlab.gnome.org;
+        proxy_set_header X-Forwarded-Host "";
+
         proxy_redirect 
//teams.pages.gitlab.gnome.org/documentation/developer-www/documentation/tutorials.html 
https://developer.gnome.org/Buttons/;
+        proxy_pass https://teams.pages.gitlab.gnome.org/documentation/developer-www;
+    } 
+
+    location /CustomStyle {
+        proxy_set_header Host teams.pages.gitlab.gnome.org;
+        proxy_set_header X-Forwarded-Host "";
+
         proxy_redirect 
//teams.pages.gitlab.gnome.org/documentation/developer-www/documentation/tutorials.html 
https://developer.gnome.org/CustomStyle/;
+        proxy_pass https://teams.pages.gitlab.gnome.org/documentation/developer-www;
+    } 
+
+    location /Deprecations {
+        proxy_set_header Host teams.pages.gitlab.gnome.org;
+        proxy_set_header X-Forwarded-Host "";
+
         proxy_redirect 
//teams.pages.gitlab.gnome.org/documentation/developer-www/documentation/tutorials/deprecations.html 
https://developer.gnome.org/Deprecations/;
+        proxy_pass https://teams.pages.gitlab.gnome.org/documentation/developer-www;
+    } 
+
+    location /DragAndDrop {
+        proxy_set_header Host teams.pages.gitlab.gnome.org;
+        proxy_set_header X-Forwarded-Host "";
+
         proxy_redirect 
//teams.pages.gitlab.gnome.org/documentation/developer-www/documentation/tutorials.html 
https://developer.gnome.org/DragAndDrop/;
+        proxy_pass https://teams.pages.gitlab.gnome.org/documentation/developer-www;
+    } 
+
+    location /Dialogs {
+        proxy_set_header Host teams.pages.gitlab.gnome.org;
+        proxy_set_header X-Forwarded-Host "";
+
         proxy_redirect 
//teams.pages.gitlab.gnome.org/documentation/developer-www/documentation/tutorials.html 
https://developer.gnome.org/Dialogs/;
+        proxy_pass https://teams.pages.gitlab.gnome.org/documentation/developer-www;
+    } 
+
+    location /ExtractShell {
+        proxy_set_header Host teams.pages.gitlab.gnome.org;
+        proxy_set_header X-Forwarded-Host "";
+
         proxy_redirect 
//teams.pages.gitlab.gnome.org/documentation/developer-www/documentation/tutorials.html 
https://developer.gnome.org/ExtractShell/;
+        proxy_pass https://teams.pages.gitlab.gnome.org/documentation/developer-www;
+    } 
+
+    location /GAction {
+        proxy_set_header Host teams.pages.gitlab.gnome.org;
+        proxy_set_header X-Forwarded-Host "";
+
         proxy_redirect 
//teams.pages.gitlab.gnome.org/documentation/developer-www/documentation/tutorials/actions.html 
https://developer.gnome.org/GAction/;
+        proxy_pass https://teams.pages.gitlab.gnome.org/documentation/developer-www;
+    } 
+
+    location /GNotification {
+        proxy_set_header Host teams.pages.gitlab.gnome.org;
+        proxy_set_header X-Forwarded-Host "";
+
         proxy_redirect 
//teams.pages.gitlab.gnome.org/documentation/developer-www/documentation/tutorials/notifications.html 
https://developer.gnome.org/GNotification/;
+        proxy_pass https://teams.pages.gitlab.gnome.org/documentation/developer-www;
+    } 
+
+    location /Gestures {
+        proxy_set_header Host teams.pages.gitlab.gnome.org;
+        proxy_set_header X-Forwarded-Host "";
+
         proxy_redirect 
//teams.pages.gitlab.gnome.org/documentation/developer-www/documentation/tutorials.html 
https://developer.gnome.org/Gestures/;
+        proxy_pass https://teams.pages.gitlab.gnome.org/documentation/developer-www;
+    } 
+
+    location /CommandLine {
+        proxy_set_header Host teams.pages.gitlab.gnome.org;
+        proxy_set_header X-Forwarded-Host "";
+
         proxy_redirect 
//teams.pages.gitlab.gnome.org/documentation/developer-www/documentation/tutorials.html 
https://developer.gnome.org/CommandLine/;
+        proxy_pass https://teams.pages.gitlab.gnome.org/documentation/developer-www;
+    } 
+
+    location /ClutterGstGirPython {
+        proxy_set_header Host teams.pages.gitlab.gnome.org;
+        proxy_set_header X-Forwarded-Host "";
+
         proxy_redirect 
//teams.pages.gitlab.gnome.org/documentation/developer-www/documentation/tutorials.html 
https://developer.gnome.org/ClutterGstGirPython/;
+        proxy_pass https://teams.pages.gitlab.gnome.org/documentation/developer-www;
+    } 
+
+    location /Labels {
+        proxy_set_header Host teams.pages.gitlab.gnome.org;
+        proxy_set_header X-Forwarded-Host "";
+
         proxy_redirect 
//teams.pages.gitlab.gnome.org/documentation/developer-www/documentation/tutorials.html 
https://developer.gnome.org/Labels/;
+        proxy_pass https://teams.pages.gitlab.gnome.org/documentation/developer-www;
+    } 
+
+    location /ApplicationMenu {
+        proxy_set_header Host teams.pages.gitlab.gnome.org;
+        proxy_set_header X-Forwarded-Host "";
+
         proxy_redirect 
//teams.pages.gitlab.gnome.org/documentation/developer-www/documentation/tutorials.html 
https://developer.gnome.org/ApplicationMenu/;
+        proxy_pass https://teams.pages.gitlab.gnome.org/documentation/developer-www;
+    } 
+
+    location /SaveWindowState {
+        proxy_set_header Host teams.pages.gitlab.gnome.org;
+        proxy_set_header X-Forwarded-Host "";
+
         proxy_redirect 
//teams.pages.gitlab.gnome.org/documentation/developer-www/documentation/tutorials/save-state.html 
https://developer.gnome.org/SaveWindowState/;
+        proxy_pass https://teams.pages.gitlab.gnome.org/documentation/developer-www;
+    } 
+
+    location /SearchProvider {
+        proxy_set_header Host teams.pages.gitlab.gnome.org;
+        proxy_set_header X-Forwarded-Host "";
+
         proxy_redirect 
//teams.pages.gitlab.gnome.org/documentation/developer-www/documentation/tutorials/search-provider.html 
https://developer.gnome.org/SearchProvider/;
+        proxy_pass https://teams.pages.gitlab.gnome.org/documentation/developer-www;
+    } 
+
+    location /DBusApplicationLaunching {
+        proxy_set_header Host teams.pages.gitlab.gnome.org;
+        proxy_set_header X-Forwarded-Host "";
+
         proxy_redirect 
//teams.pages.gitlab.gnome.org/documentation/developer-www/documentation/tutorials.html 
https://developer.gnome.org/DBusApplicationLaunching/;
+        proxy_pass https://teams.pages.gitlab.gnome.org/documentation/developer-www;
+    } 
+
+    location /SubclassGObject {
+        proxy_set_header Host teams.pages.gitlab.gnome.org;
+        proxy_set_header X-Forwarded-Host "";
+
         proxy_redirect 
//teams.pages.gitlab.gnome.org/documentation/developer-www/documentation/tutorials.html 
https://developer.gnome.org/SubclassGObject/;
+        proxy_pass https://teams.pages.gitlab.gnome.org/documentation/developer-www;
+    } 
+
+    location /ThemedIcons {
+        proxy_set_header Host teams.pages.gitlab.gnome.org;
+        proxy_set_header X-Forwarded-Host "";
+
         proxy_redirect 
//teams.pages.gitlab.gnome.org/documentation/developer-www/documentation/tutorials/themed-icons.html 
https://developer.gnome.org/ThemedIcons/;
+        proxy_pass https://teams.pages.gitlab.gnome.org/documentation/developer-www;
+    } 
+
+    location /GMenu {
+        proxy_set_header Host teams.pages.gitlab.gnome.org;
+        proxy_set_header X-Forwarded-Host "";
+
         proxy_redirect 
//teams.pages.gitlab.gnome.org/documentation/developer-www/documentation/tutorials/menus.html 
https://developer.gnome.org/GMenu/;
+        proxy_pass https://teams.pages.gitlab.gnome.org/documentation/developer-www;
+    } 
+
+    location /GSettings {
+        proxy_set_header Host teams.pages.gitlab.gnome.org;
+        proxy_set_header X-Forwarded-Host "";
+
         proxy_redirect 
//teams.pages.gitlab.gnome.org/documentation/developer-www/documentation/tutorials.html 
https://developer.gnome.org/GSettings/;
+        proxy_pass https://teams.pages.gitlab.gnome.org/documentation/developer-www;
+    } 
+
+    location /GtkApplication {
+        proxy_set_header Host teams.pages.gitlab.gnome.org;
+        proxy_set_header X-Forwarded-Host "";
+
         proxy_redirect 
//teams.pages.gitlab.gnome.org/documentation/developer-www/documentation/tutorials/application.html 
https://developer.gnome.org/GtkApplication/;
-        proxy_redirect //teams.pages.gitlab.gnome.org/documentation/developer-www 
https://developer.gnome.org/;
         proxy_pass https://teams.pages.gitlab.gnome.org/documentation/developer-www;
-    }
+    } 
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]