Skip to content

Commit

Permalink
Clean up salt requisites
Browse files Browse the repository at this point in the history
  • Loading branch information
MTecknology committed Feb 19, 2024
1 parent df47a54 commit a426b48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion states/webapps/nginx-cfg/soberpage.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Note: Only external redirects should be hanlded by this server block.
##
map $host $canonical_redirect {
default "https://about.sobersupport.group/unconfigured";
default https://about.sobersupport.group/unconfigured/;
include canonical_redirects.map;
}
server {
Expand Down
4 changes: 2 additions & 2 deletions states/webapps/soberpage.sls
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ soberpage:
- source: salt://webapps/nginx-cfg/soberpage.conf
- require:
- pkg: nginx
- onchanges_in:
- watch_in:
- service: nginx
cmd.run:
- name: "/srv/webapps/soberpage/sync -n -d /srv/webapps/soberpage/data/domains"
Expand All @@ -22,7 +22,7 @@ soberpage:
- git: soberpage
- onchanges:
- git: soberpage
- onchanges_in:
- watch_in:
- service: nginx
cron.present:
- name: "/srv/webapps/soberpage/sync -n -d /srv/webapps/soberpage/data/domains && service nginx reload"
Expand Down

0 comments on commit a426b48

Please sign in to comment.