Add redirect from openneo.net to impress.openneo.net

The homepage used to point to old projects that don't work anymore
anyway! This is the only project that stuck, so just redirect here!

We also remove the openneo.net link from the footer, because there's
nothing useful to say there anymore!
This commit is contained in:
Emi Matchu 2024-02-20 10:35:59 -08:00
parent 377df4486c
commit e178505d2d
3 changed files with 26 additions and 1 deletions

View file

@ -60,7 +60,6 @@
%noscript= submit_tag 'Go' %noscript= submit_tag 'Go'
%ul %ul
%li= link_to t('organization_name'), 'https://openneo.net/'
%li= link_to t('.footer.source_code'), 'https://github.com/openneo/impress' %li= link_to t('.footer.source_code'), 'https://github.com/openneo/impress'
%li= link_to t('.footer.terms'), terms_path %li= link_to t('.footer.terms'), terms_path

View file

@ -0,0 +1,11 @@
server {
server_name openneo.net;
listen 80;
listen [::]:80;
listen 443 ssl;
listen [::]:443 ssl;
location / {
return 302 https://{{impress_hostname}}/;
}
}

View file

@ -320,6 +320,21 @@
notify: notify:
- Reload nginx - Reload nginx
- name: Add openneo-home config file to nginx
template:
src: files/sites-available/openneo-home.conf
dest: /etc/nginx/sites-available/openneo-home.conf
notify:
- Reload nginx
- name: Enable openneo-home config file in nginx
file:
src: /etc/nginx/sites-available/openneo-home.conf
dest: /etc/nginx/sites-enabled/openneo-home.conf
state: link
notify:
- Reload nginx
- name: Install MariaDB - name: Install MariaDB
apt: apt:
name: mariadb-server name: mariadb-server