File tree Expand file tree Collapse file tree 3 files changed +18
-3
lines changed
Expand file tree Collapse file tree 3 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,3 @@ location ~ ^/2019/(.*)$ {
22 alias /opt/inpycon2019/$1;
33}
44
5- location = / {
6- rewrite "^.*$" /2019/ redirect;
7- }
Original file line number Diff line number Diff line change 1+ location ~ ^/2020/(.*)$ {
2+ alias /opt/inpycon2020/$1;
3+ }
4+
5+ location = / {
6+ rewrite "^.*$" /2020/ redirect;
7+ }
Original file line number Diff line number Diff line change @@ -28,6 +28,11 @@ https://github.com/pythonindia/inpycon2019.git:
2828 - rev: gh-pages
2929 - target: /opt/inpycon2019
3030
31+ https: //github.com/pythonindia/inpycon2020.git:
32+ git.latest :
33+ - rev: master
34+ - target: /opt/inpycon2020
35+
3136https: //github.com/pythonindia/pyconindia-archive.git:
3237 git.latest :
3338 - rev: 72613218a3ad7123da3804e3df0c19f01c0a684b
@@ -85,6 +90,12 @@ nginx_inpycon_dir:
8590 - require:
8691 - file: nginx_inpycon_dir
8792
93+ /etc/nginx/sites-available/in.pycon.org/pycon2020.conf :
94+ file.managed :
95+ - source: salt://inpycon/in.pycon2020.conf
96+ - require:
97+ - file: nginx_inpycon_dir
98+
8899/etc/nginx/sites-available/in.pycon.org/old-pycon.conf :
89100 file.managed :
90101 - source: salt://inpycon/old-pycon.conf
You can’t perform that action at this time.
0 commit comments