Skip to content

Commit

Permalink
Stop injecting python code in the configuration
Browse files Browse the repository at this point in the history
Instead of passing the api main script through a secret, use the one
installed in the container.
  • Loading branch information
cescgina committed Jan 29, 2025
1 parent b9599e7 commit d90165f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 53 deletions.
2 changes: 1 addition & 1 deletion templates/watcher/config/10-watcher-wsgi-main.conf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
WSGIApplicationGroup %{GLOBAL}
WSGIDaemonProcess {{ $endpt }} display-name={{ $endpt }} group=watcher processes=8 threads=1 user=watcher
WSGIProcessGroup {{ $endpt }}
WSGIScriptAlias / "/var/www/cgi-bin/watcher/main"
WSGIScriptAlias / "/usr/bin/watcher-api-wsgi"
</VirtualHost>
{{ end }}
{{ end }}
52 changes: 0 additions & 52 deletions templates/watcher/config/main

This file was deleted.

0 comments on commit d90165f

Please sign in to comment.