Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions deploy/nginx.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ server {
default_type text/plain;
try_files $uri =404;
}
location ^~ /acme/powercell/ {
access_log off;
error_log /dev/null crit;
return 308 https://$host$request_uri;
}
location / { return 308 https://$host$request_uri; }
}

Expand All @@ -28,19 +23,6 @@ server {
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
client_max_body_size 100m;

# The URL contains a per-enrollment capability, including on 4xx/5xx.
location ^~ /acme/powercell/ {
access_log off;
error_log /dev/null crit;
proxy_pass http://127.0.0.1:8000;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_connect_timeout 5s;
proxy_read_timeout 90s;
proxy_send_timeout 90s;
}

location / {
proxy_pass http://127.0.0.1:8000;
proxy_set_header Host $host;
Expand Down
9 changes: 0 additions & 9 deletions deploy/powercell-renew.sh.j2

This file was deleted.

294 changes: 0 additions & 294 deletions deploy/powercell_setup.py

This file was deleted.

14 changes: 3 additions & 11 deletions deploy/server.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@ THRONG_BROWSER_ORIGINS=["https://platform.mutating.tech"]
THRONG_BROWSER_SECURE_COOKIE=true
DASHBOARD_API_URL=https://api.mutating.tech/v1

# Enable Power Cell with infra/playbooks/setup-powercell.yml after deploying.
# The administrator command preserves existing settings and provisions these
# values with persistent CA/recovery material; never put private values in Git.
# THRONG_POWERCELL_ACME_URL=https://api.mutating.tech/acme/powercell
# THRONG_POWERCELL_CA_CERTIFICATE=/etc/throng/powercell/issuer/ca.pem
# THRONG_POWERCELL_CA_KEY=/etc/throng/powercell/issuer/ca-key.pem
# THRONG_POWERCELL_SECRET=<persistent random secret, generated once>
# THRONG_POWERCELL_RELAY_URL=https://api.mutating.tech:8444
# THRONG_POWERCELL_RELAY_CERTIFICATE=/etc/throng/powercell/tls/fullchain.pem
# THRONG_POWERCELL_RELAY_KEY=/etc/throng/powercell/tls/privkey.pem
# THRONG_POWERCELL_RELAY_HOST=0.0.0.0
# Power Cell registration needs one persistent secret only to recover an
# idempotent finish response. Generate it once with: openssl rand -hex 32
# THRONG_ENROLLMENT_SECRET=<persistent random secret, at least 32 characters>
Loading
Loading