Skip to content

Commit

Permalink
Move nginx config to project repo
Browse files Browse the repository at this point in the history
  • Loading branch information
MTecknology committed Feb 23, 2024
1 parent 0888960 commit e61d76d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 58 deletions.
56 changes: 0 additions & 56 deletions states/nginx/configs/soberpage.conf

This file was deleted.

5 changes: 3 additions & 2 deletions states/webapps/soberpage.sls
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ soberpage:
- force_checkout: True
- require:
- file: /srv/webapps
file.managed:
file.symlink:
- name: /etc/nginx/conf.d/soberpage.conf
- source: salt://nginx/configs/soberpage.conf
- target: /srv/webapps/soberpage/nginx.conf
- require:
- pkg: nginx
- git: soberpage
- watch_in:
- service: nginx
cmd.run:
Expand Down

0 comments on commit e61d76d

Please sign in to comment.