Skip to content

Commit

Permalink
Get rid of no longer needed committed
Browse files Browse the repository at this point in the history
Deleted code is good code
  • Loading branch information
awlx authored Nov 27, 2023
1 parent 663c45b commit e1ccea9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 84 deletions.
38 changes: 0 additions & 38 deletions nginx/domains/broker.ffmuc.net.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ upstream wgkex_backend {
keepalive 32;
}

upstream wgkex_ffdon_backend {
server broker.ov.ffmuc.net:5001;
keepalive 32;
}

server {
listen 80;
listen [::]:80;
Expand Down Expand Up @@ -43,36 +38,3 @@ server {
access_log /var/log/nginx/{{ domain }}_access.log json_normal;
error_log /var/log/nginx/{{ domain }}_error.log;
}

server {
listen 80;
listen [::]:80;
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name ffdon.broker.ffmuc.net;

root /srv/www/{{ domain }};

location /api {
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Frame-Options SAMEORIGIN;

proxy_http_version 1.1;
proxy_pass http://wgkex_ffdon_backend;
}

location / {
if ($scheme = http) {
rewrite ^ https://$host$uri permanent;
}
}

ssl_certificate /etc/letsencrypt/live/ffmuc.net/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/ffmuc.net/privkey.pem;

access_log /var/log/nginx/{{ domain }}_access.log json_normal;
error_log /var/log/nginx/{{ domain }}_error.log;
}
21 changes: 0 additions & 21 deletions wgkex/wgkex-ffdon.service

This file was deleted.

25 changes: 0 additions & 25 deletions wgkex/wgkex-ffdon.yaml

This file was deleted.

0 comments on commit e1ccea9

Please sign in to comment.