File tree Expand file tree Collapse file tree 3 files changed +18
-4
lines changed
Expand file tree Collapse file tree 3 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 11location ~ ^/2018/(.*)$ {
22 alias /opt/inpycon2018/$1;
33}
4-
5- location = / {
6- rewrite "^.*$" /2018/ redirect;
7- }
Original file line number Diff line number Diff line change 1+ location ~ ^/2019/(.*)$ {
2+ alias /opt/inpycon2019/$1;
3+ }
4+
5+ location = / {
6+ rewrite "^.*$" /2019/ redirect;
7+ }
Original file line number Diff line number Diff line change @@ -23,6 +23,11 @@ https://github.com/pythonindia/inpycon2018.git:
2323 - rev: master
2424 - target: /opt/inpycon2018
2525
26+ https: //github.com/pythonindia/inpycon2019.git:
27+ git.latest :
28+ - rev: master
29+ - target: /opt/inpycon2019
30+
2631https: //github.com/pythonindia/pyconindia-archive.git:
2732 git.latest :
2833 - rev: 72613218a3ad7123da3804e3df0c19f01c0a684b
@@ -74,6 +79,12 @@ nginx_inpycon_dir:
7479 - require:
7580 - file: nginx_inpycon_dir
7681
82+ /etc/nginx/sites-available/in.pycon.org/pycon2019.conf :
83+ file.managed :
84+ - source: salt://inpycon/in.pycon2019.conf
85+ - require:
86+ - file: nginx_inpycon_dir
87+
7788/etc/nginx/sites-available/in.pycon.org/old-pycon.conf :
7889 file.managed :
7990 - source: salt://inpycon/old-pycon.conf
You can’t perform that action at this time.
0 commit comments