srobo / ansible

Ansible configuration for Student Robotics' pet machines
MIT License
0 stars 4 forks source link

Add a redirect to the SR2023 microgames #26

Closed PeterJCLaw closed 1 year ago

PeterJCLaw commented 1 year ago

Summary

:ronseal:

Code review

Testing

TASK [srobo-nginx : Copy our configuration] ************************************************************************************************
--- before: /etc/nginx/nginx.conf
+++ after: /home/peterjclaw/.ansible/tmp/ansible-local-121676vsucz1fu/tmpr1x2z3d9/nginx.conf
@@ -88,6 +88,9 @@
       proxy_set_header Host srobo.github.io;
     }

+    # SR2023 microgames
+    rewrite ^/microgames           https://docs.google.com/document/d/1jj7DP0gXUDItHEe77ABc5cyV82qqbA_7SYDgiihUbxA/edit redirect;
+
     #location /userman/ {
     #  proxy_pass https://patience.studentrobotics.org/userman/;
     #}

changed: [monty.studentrobotics.org]

Links

https://studentrobotics.slack.com/archives/CBP7UL6RG/p1666402018012279