Skip to content

Commit e4d6be5

Browse files
committed
update domain names in config
1 parent ca9dc85 commit e4d6be5

File tree

10 files changed

+10
-152
lines changed

10 files changed

+10
-152
lines changed

salt/roots/le/certbot-cli.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ rsa-key-size = 4096
1010

1111
# Uncomment and update to generate certificates for the specified
1212
# domains.
13-
domains = pythonexpress.in #, www.pythonexpress.in
13+
domains = pythonexpress.org #, www.pythonexpress.org
1414
# staging = true
1515

1616
# Uncomment to use a text interface instead of ncurses

salt/roots/nginx-default.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ server {
1111
# listen 443 ssl default_server;
1212
# listen [::]:443 ssl default_server;
1313
server_name _;
14-
return 301 $scheme://pythonexpress.in$request_uri;
14+
return 301 $scheme://pythonexpress.org$request_uri;
1515
# return 444 'Real Programmers: https://xkcd.com/378/';
1616
}

salt/roots/pythonexpress/init.sls

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
/etc/nginx/sites-available/pythonexpress.org.conf:
77
file.managed:
8-
- source: salt://pythonexpressin/pythonexpress.org.conf
8+
- source: salt://pythonexpress/pythonexpress.org.conf
99
- template: jinja
1010
- require:
1111
- file: nginx_config_folders
@@ -14,7 +14,7 @@
1414

1515
/etc/nginx/sites-available/beta.pythonexpress.in.conf:
1616
file.managed:
17-
- source: salt://pythonexpressin/beta.pythonexpress.in.conf
17+
- source: salt://pythonexpress/beta.pythonexpress.in.conf
1818
- template: jinja
1919
- require:
2020
- file: nginx_config_folders
@@ -50,6 +50,6 @@ nginx_pythonexpress_dir:
5050

5151
/etc/nginx/sites-available/pythonexpress.org.with_ssl.conf:
5252
file.managed:
53-
- source: salt://pythonexpressin/pythonexpress.org.with_ssl.conf
53+
- source: salt://pythonexpress/pythonexpress.org.with_ssl.conf
5454

5555
{% endif %}

salt/roots/pythonexpressin/beta.pythonexpress.in.conf

Lines changed: 0 additions & 12 deletions
This file was deleted.

salt/roots/pythonexpressin/init.sls

Lines changed: 0 additions & 55 deletions
This file was deleted.

salt/roots/pythonexpressin/pythonexpress.org.conf

Lines changed: 0 additions & 45 deletions
This file was deleted.

salt/roots/pythonexpressin/pythonexpress.org.with_ssl.conf

Lines changed: 0 additions & 30 deletions
This file was deleted.

salt/roots/top.sls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ base:
1010
- inpycon
1111
- lib/uwsgi_common
1212
- junction
13-
'nodename:pythonexpress.in':
13+
'nodename:pythonexpress.org':
1414
- match: grain
1515
- lib/uwsgi_common
16-
- pythonexpressin
16+
- pythonexpress
1717
- wye
1818
- mail
1919
- lib/celery

salt/roots/wye/files/prod.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ADMINS = ({%for name, email in admins.items() %}
1313
('{{name}}', '{{email}}'), {% endfor %}
1414
)
1515

16-
ALLOWED_HOSTS = ['.pythonexpress.in']
16+
ALLOWED_HOSTS = ['.pythonexpress.org']
1717

1818
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
1919
EMAIL_HOST_USER = '{{ pillar["wye"]["email_host_user"] }}'

salt/roots/wye/service.sls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@
2525
- file: /opt/{{name}}/settings/prod.py
2626
- git: {{name}}_code
2727

28-
/etc/nginx/sites-available/pythonexpress.in/express.conf:
28+
/etc/nginx/sites-available/pythonexpress.org/express.conf:
2929
file.managed:
3030
- source: salt://{{name}}/files/express.conf.j2
3131
- require:
3232
- file: nginx_pythonexpress_dir
3333
- template: jinja
3434

35-
/etc/nginx/sites-available/pythonexpress.in/upstreams/{{name}}_upstream.conf:
35+
/etc/nginx/sites-available/pythonexpress.org/upstreams/{{name}}_upstream.conf:
3636
file.managed:
3737
- source: salt://{{name}}/files/{{name}}_upstream.conf.j2
3838
- require:

0 commit comments

Comments
 (0)