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 @@ -2,7 +2,3 @@ location ~ ^/2017/(.*)$ {
22 alias /opt/inpycon2017/$1;
33}
44
5- location = / {
6- rewrite "^.*$" /2017/ redirect;
7- }
8-
Original file line number Diff line number Diff line change 1+ location ~ ^/2018/(.*)$ {
2+ alias /opt/inpycon2018/$1;
3+ }
4+
5+ location = / {
6+ rewrite "^.*$" /2018/ redirect;
7+ }
Original file line number Diff line number Diff line change @@ -18,6 +18,11 @@ https://github.com/pythonindia/inpycon2017.git:
1818 - rev: master
1919 - target: /opt/inpycon2017
2020
21+ https: //github.com/pythonindia/inpycon2018.git:
22+ git.latest :
23+ - rev: master
24+ - target: /opt/inpycon2018
25+
2126https: //github.com/pythonindia/pyconindia-archive.git:
2227 git.latest :
2328 - rev: 72613218a3ad7123da3804e3df0c19f01c0a684b
@@ -63,6 +68,12 @@ nginx_inpycon_dir:
6368 - require:
6469 - file: nginx_inpycon_dir
6570
71+ /etc/nginx/sites-available/in.pycon.org/pycon2018.conf :
72+ file.managed :
73+ - source: salt://inpycon/in.pycon2018.conf
74+ - require:
75+ - file: nginx_inpycon_dir
76+
6677/etc/nginx/sites-available/in.pycon.org/old-pycon.conf :
6778 file.managed :
6879 - source: salt://inpycon/old-pycon.conf
You can’t perform that action at this time.
0 commit comments