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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user