Skip to content

Commit

Permalink
add redirect for offline.ffmuc.net.conf
Browse files Browse the repository at this point in the history
See freifunkMUC/site-ffm#249 and related PRs
  • Loading branch information
grische committed Oct 31, 2023
1 parent 1200a8f commit c363e47
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions nginx/domains/offline.ffmuc.net.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

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

return 307 https://wiki.freifunk.net/Mein_Freifunk_funktioniert_nicht_mehr;

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;
}

0 comments on commit c363e47

Please sign in to comment.