Map: Use standard Leaflet green/red pin icons for GPX route start/end markers in map_iframe_single.html

This commit is contained in:
ske087
2025-07-27 02:03:30 +03:00
parent a64e206fc8
commit 3775462476
3 changed files with 46 additions and 6 deletions

36
nginx.conf Normal file
View File

@@ -0,0 +1,36 @@
user nginx;
worker_processes 1;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
listen 80;
server_name _;
# Proxy requests to the Flask app
location / {
proxy_pass http://app:5000;
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;
}
# Serve uploaded media files
location /uploads/ {
alias /opt/site/flask-moto-adventure/uploads/;
autoindex off;
}
}
}