reworked map notifications so a new map with its infos is forwarded through flask over nginx and that main loops to respond every 5 seconds

This commit is contained in:
jenz
2026-02-22 23:45:00 +01:00
parent a7bde0361a
commit fcf3490693
7 changed files with 86 additions and 46 deletions
@@ -0,0 +1,21 @@
server {
# SSL configuration
listen 443 ssl;
ssl_certificate /etc/nginx/ssl/unloze-cert.pem;
ssl_certificate_key /etc/nginx/ssl/unloze-key.pem;
access_log off; #finally stops spamming god bless
server_name mapnotification.unloze.com;
location / {
proxy_pass http://127.0.0.1:5086;
proxy_set_header Host $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;
}
}